/linux/arch/m68k/fpsp040/ |
H A D | setox.S | 103 | Step 3. Calculate X - N*log2/64. 116 | X*64/log2 (1+eps) = N + f, |f| <= 0.5 117 | X*64/log2 - N = f - eps*X 64/log2 118 | X - N*log2/64 = f*log2/64 - eps*X 121 | Now |X| <= 16446 log2, thus 123 | |X - N*log2/64| <= (0.5 + 16446/2^(18))*log2/64 124 | <= 0.57 log2/64. 186 | 8.1 If |X| > 16480 log2, go to Step 9. 196 | Step 9. Handle exp(X), |X| > 16480 log2. 579 cmpil #0x400CB27C,%d0 | ...16480 log2 [all …]
|
H A D | scosh.S | 23 | 1. If |X| > 16380 log2, go to 3. 25 | 2. (|X| <= 16380 log2) Cosh(X) is obtained by the formulae 30 | 3. (|X| > 16380 log2). If |X| > 16480 log2, go to 5. 32 | 4. (16380 log2 < |X| <= 16480 log2) 42 | 5. (|X| > 16480 log2) sinh(X) must overflow. Return
|
H A D | stanh.S | 23 | 1. If |X| >= (5/2) log2 or |X| <= 2**(-40), go to 3. 25 | 2. (2**(-40) < |X| < (5/2) log2) Calculate tanh(X) by 30 | 3. (|X| <= 2**(-40) or |X| >= (5/2) log2). If |X| < 1, 33 | 4. (|X| >= (5/2) log2) If |X| >= 50 log2, go to 6. 35 | 5. ((5/2) log2 <= |X| < 50 log2) Calculate tanh(X) by 40 | 6. (|X| >= 50 log2) Tanh(X) = +-1 (round to nearest). Thus, we
|
H A D | ssinh.S | 23 | 1. If |X| > 16380 log2, go to 3. 25 | 2. (|X| <= 16380 log2) Sinh(X) is obtained by the formulae 30 | 3. If |X| > 16480 log2, go to 5. 32 | 4. (16380 log2 < |X| <= 16480 log2) 43 | 5. (|X| > 16480 log2) sinh(X) must overflow. Return
|
H A D | stwotox.S | 325 cmpil #0x400B9B07,%d0 | ...|X| <= 16480*log2/log10 ?
|
/linux/samples/bpf/ |
H A D | lwt_len_hist.bpf.c | 24 static unsigned int log2(unsigned int v) in log2() function 41 return log2(hi) + 32; in log2l() 43 return log2(v); in log2l()
|
H A D | lathist_kern.c | 40 static unsigned int log2(unsigned int v) in log2() function 59 return log2(hi) + 32; in log2l() 61 return log2(v); in log2l()
|
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/fuc/ |
H A D | host.fuc | 40 .equ #fifo_qlen 4 // log2(size of queue entry in bytes) 41 .equ #fifo_qnum 3 // log2(max number of entries in queue) 49 .equ #rfifo_qlen 4 // log2(size of queue entry in bytes) 50 .equ #rfifo_qnum 3 // log2(max number of entries in queue)
|
H A D | macros.fuc | 146 .equ #proc_qlen 4 // log2(size of queue entry in bytes) 147 .equ #proc_qnum 2 // log2(max number of entries in queue)
|
/linux/tools/mm/ |
H A D | thpmaps | 28 PAGE_SHIFT = int(math.log2(PAGE_SIZE)) 30 PMD_ORDER = int(math.log2(PMD_SIZE / PAGE_SIZE)) 272 folio_orders = np.log2(folio_nrs).astype(np.uint64) 517 order = int(math.log2(size / PAGE_SIZE))
|
/linux/sound/soc/fsl/ |
H A D | fsl_xcvr.c | 275 u32 i, div = 0, log2, val; in fsl_xcvr_en_phy_pll() local 291 log2 = ilog2(div); in fsl_xcvr_en_phy_pll() 324 FSL_XCVR_PLL_PDIVx(log2, 0), 0); in fsl_xcvr_en_phy_pll() 331 FSL_XCVR_PLL_PDIVx(log2, 1), 0); in fsl_xcvr_en_phy_pll() 338 FSL_XCVR_PLL_PDIVx(log2, 2), 0); in fsl_xcvr_en_phy_pll() 381 fsl_xcvr_pll_cfg[i].mfn, fsl_xcvr_pll_cfg[i].mfd, div, log2); in fsl_xcvr_en_phy_pll()
|
/linux/drivers/edac/ |
H A D | skx_base.c | 236 u32 log0, log1, log2, log3, log4; in skx_show_retry_rd_err_log() local 245 pci_read_config_dword(edev, 0x150, &log2); in skx_show_retry_rd_err_log() 250 log0, log1, log2, log3, log4); in skx_show_retry_rd_err_log()
|
H A D | i10nm_base.c | 207 u32 log0, log1, log2, log3, log4; in show_retry_rd_err_log() local 266 log2 = I10NM_GET_REG32(imc, res->channel, offsets[2]); in show_retry_rd_err_log() 268 log0, log1, log2, log3, log4, log5); in show_retry_rd_err_log()
|
/linux/arch/m68k/ifpsp060/src/ |
H A D | fplsp.S | 6774 # X*64/log2 - N = f - eps*X 64/log2 # 6775 # X - N*log2/64 = f*log2/64 - eps*X # 6778 # Now |X| <= 16446 log2, thus # 6780 # |X - N*log2/64| <= (0.5 + 16446/2^(18))*log2/64 # 6781 # <= 0.57 log2/64. # 7479 #--Step 10 |X| > 70 log2 7591 # 3. (|X| > 16380 log2). If |X| > 16480 log2, go to 5. # 7593 # 4. (16380 log2 < |X| <= 16480 log2) # 7707 # 4. (16380 log2 < |X| <= 16480 log2) # 7826 # 4. (|X| >= (5/2) log2) If |X| >= 50 log2, go to 6. # [all …]
|
/linux/fs/xfs/ |
H A D | xfs_rtalloc.c | 1203 int log2; /* log of sequence number */ in xfs_rtpick_extent() local 1217 if ((log2 = xfs_highbit64(seq)) == -1) in xfs_rtpick_extent() 1220 resid = seq - (1ULL << log2); in xfs_rtpick_extent() 1222 (log2 + 1); in xfs_rtpick_extent()
|
/linux/Documentation/translations/zh_CN/core-api/ |
H A D | kernel-api.rst | 157 include/linux/log2.h
|
/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | cirrus,madera.yaml | 73 log2-fifo-ne, log3-fifo-ne, log4-fifo-ne,
|
/linux/Documentation/admin-guide/device-mapper/ |
H A D | dm-integrity.rst | 241 * log2(interleave sectors) 256 * log2(sectors per block) 302 in one run must be a power of two. log2 of this value is stored
|
/linux/arch/arm/mm/ |
H A D | proc-macros.S | 351 pr_sz \dest, \size, \size @ calculate log2(size) - 1
|
/linux/Documentation/translations/zh_CN/dev-tools/ |
H A D | kcov.rst | 155 * 1 & 2 比特包含参数大小的 log2 值,最大 8 字节。
|
/linux/arch/powerpc/platforms/ps3/ |
H A D | Kconfig | 44 expressed as the log2 of the page table size. Valid values are
|
/linux/arch/m68k/math-emu/ |
H A D | fp_scan.S | 368 .long 0x00003fff,0xb8aa3b29,0x5c17f0bc | log2(e)
|
/linux/Documentation/core-api/ |
H A D | kernel-api.rst | 162 .. kernel-doc:: include/linux/log2.h
|
/linux/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | t3_hw.c | 2846 unsigned int log2 = fls(mtu); in t3_load_mtus() local 2848 if (!(mtu & ((1 << log2) >> 2))) /* round */ in t3_load_mtus() 2849 log2--; in t3_load_mtus() 2851 (i << 24) | (log2 << 16) | mtu); in t3_load_mtus()
|
/linux/Documentation/dev-tools/ |
H A D | kcov.rst | 156 * Bits 1 & 2 contain log2 of the argument size, up to 8 bytes.
|