| /linux/tools/sched_ext/include/scx/ |
| H A D | cid.bpf.h | 41 #define CMASK_NR_WORDS(nr_cids) ((u32)(((u64)(nr_cids) + 63) / 64 + 1)) 43 static __always_inline bool __cmask_contains(u32 cid, const struct scx_cmask __arena *m) in __cmask_contains() argument 45 return cid >= m->base && cid < m->base + m->nr_cids; in __cmask_contains() 48 static __always_inline u64 __arena *__cmask_word(u32 cid, const struct scx_cmask __arena *m) in __cmask_word() argument 50 return (u64 __arena *)&m->bits[cid / 64 - m->base / 64]; in __cmask_word() 54 * __cmask_init - Initialize @m with explicit storage capacity 55 * @m: cmask to initialize 63 static __always_inline void __cmask_init(struct scx_cmask __arena *m, u32 base, in __cmask_init() argument 75 m->base = base; in __cmask_init() 76 m->nr_cids = nr_cids; in __cmask_init() [all …]
|
| /linux/arch/m68k/fpsp040/ |
| H A D | stwotox.S | 15 | 64 significant bit, i.e. within 0.5001 ulp to 53 bits if the 29 | 3. Decompose X as X = N/64 + r where |r| <= 1/128. Furthermore 31 | N = 64(M + M') + j, j = 0,1,2,...,63. 34 | 2**X = 2**(M') * 2**(M) * 2**(j/64) * exp(r). 42 | 3. Set y := X*log_2(10)*64 (base 2 log of 10). Set 44 | N = 64(M + M') + j, j = 0,1,2,...,63. 48 | where L1, L2 are the leading and trailing parts of log_10(2)/64 50 | 10**X = 2**(M') * 2**(M) * 2**(j/64) * exp(r). 54 | 1. Fetch 2**(j/64) from table as Fact1 and Fact2. 57 | Fact1 := 2**(M) * Fact1 [all …]
|
| H A D | setox.S | 20 | The returned result is within 0.85 ulps in 64 significant bit, i.e. 79 | Step 2. Calculate N = round-to-nearest-int( X * 64/log2 ). 81 | 2.2 N := round-to-nearest-integer( X * 64/log2 ). 82 | 2.3 Calculate J = N mod 64; so J = 0,1,2,..., or 63. 83 | 2.4 Calculate M = (N - J)/64; so N = 64M + J. 84 | 2.5 Calculate the address of the stored value of 2^(J/64). 85 | 2.6 Create the value Scale = 2^M. 93 | constant := single-precision( 64/log 2 ). 99 | Z = X*(64/log2)*(1+eps), |eps| <= 2^(-24). 103 | Step 3. Calculate X - N*log2/64. [all …]
|
| /linux/Documentation/scsi/ |
| H A D | aic7xxx.rst | 35 aic7891 20 PCI/64 40MHz 16Bit 16 3 4 5 6 7 8 36 aic7892 20 PCI/64-66 80MHz 16Bit 16 3 4 5 6 7 8 40 aic7897 20 PCI/64 40MHz 16Bit 16 2 3 4 5 6 7 8 41 aic7899 20 PCI/64-66 80MHz 16Bit 16 2 3 4 5 6 7 8 49 4. 64 Byte SCB Support - Allows disconnected, untagged request table 63 AHA-274X[A] aic7770 EISA SE-50M SE-HD50F 65 SE-50M 66 AHA-274X[A]T aic7770 EISA 2 X SE-50M SE-HD50F 67 AHA-2842 aic7770 VL SE-50M SE-HD50F 68 AHA-2940AU aic7860 PCI/32 SE-50M SE-HD50F [all …]
|
| /linux/lib/ |
| H A D | siphash.c | 15 #if defined(CONFIG_DCACHE_WORD_ACCESS) && BITS_PER_LONG == 64 50 u64 m; in __siphash_aligned() local 53 m = le64_to_cpup(data); in __siphash_aligned() 54 v3 ^= m; in __siphash_aligned() 57 v0 ^= m; in __siphash_aligned() 59 #if defined(CONFIG_DCACHE_WORD_ACCESS) && BITS_PER_LONG == 64 in __siphash_aligned() 83 u64 m; in __siphash_unaligned() local 86 m = get_unaligned_le64(data); in __siphash_unaligned() 87 v3 ^= m; in __siphash_unaligned() 90 v0 ^= m; in __siphash_unaligned() [all …]
|
| /linux/lib/math/ |
| H A D | int_sqrt.c | 22 unsigned long b, m, y = 0; in int_sqrt() local 27 m = 1UL << (__fls(x) & ~1UL); in int_sqrt() 28 while (m != 0) { in int_sqrt() 29 b = y + m; in int_sqrt() 34 y += m; in int_sqrt() 36 m >>= 2; in int_sqrt() 43 #if BITS_PER_LONG < 64 45 * int_sqrt64 - strongly typed int_sqrt function when minimum 64 bit input 47 * @x: 64bit integer of which to calculate the sqrt 51 u64 b, m, y = 0; in int_sqrt64() local [all …]
|
| /linux/arch/parisc/kernel/ |
| H A D | pacache.S | 86 pitlbe,m %arg1(%sr1, %r28) /* Last pitlbe and addr adjust */ 100 pitlbe,m %arg1(%sr1, %r28) /* pitlbe for one loop */ 130 pdtlbe,m %arg1(%sr1, %r28) /* Last pdtlbe and addr adjust */ 144 pdtlbe,m %arg1(%sr1, %r28) /* pdtlbe for one loop */ 207 fice,m %arg1(%sr1, %arg0) /* Last fice and addr adjust */ 216 fice,m %arg1(%sr1, %arg0) 217 fice,m %arg1(%sr1, %arg0) 218 fice,m %arg1(%sr1, %arg0) 219 fice,m %arg1(%sr1, %arg0) 220 fice,m %arg1(%sr1, %arg0) [all …]
|
| /linux/drivers/mfd/ |
| H A D | mcp-sa11x0.c | 35 #define MCCR0(m) ((m)->base0 + 0x00) argument 36 #define MCDR0(m) ((m)->base0 + 0x08) argument 37 #define MCDR1(m) ((m)->base0 + 0x0c) argument 38 #define MCDR2(m) ((m)->base0 + 0x10) argument 39 #define MCSR(m) ((m)->base0 + 0x18) argument 40 #define MCCR1(m) ((m)->base1 + 0x00) argument 47 struct mcp_sa11x0 *m = priv(mcp); in mcp_sa11x0_set_telecom_divisor() local 51 m->mccr0 &= ~0x00007f00; in mcp_sa11x0_set_telecom_divisor() 52 m->mccr0 |= divisor << 8; in mcp_sa11x0_set_telecom_divisor() 53 writel_relaxed(m->mccr0, MCCR0(m)); in mcp_sa11x0_set_telecom_divisor() [all …]
|
| /linux/kernel/sched/ext/ |
| H A D | cid.h | 72 void scx_cmask_clear(struct scx_cmask *m); 73 void scx_cmask_fill(struct scx_cmask *m); 80 bool scx_cmask_empty(const struct scx_cmask *m); 171 static inline bool __scx_cmask_contains(u32 cid, const struct scx_cmask *m) in __scx_cmask_contains() argument 173 return likely(cid >= m->base && cid < m->base + m->nr_cids); in __scx_cmask_contains() 177 static inline u64 *__scx_cmask_word(u32 cid, const struct scx_cmask *m) in __scx_cmask_word() argument 179 return (u64 *)&m->bits[cid / 64 - m->base / 64]; in __scx_cmask_word() 183 * __scx_cmask_init - Initialize @m with explicit storage capacity 184 * @m: cmask to initialize 192 static inline void __scx_cmask_init(struct scx_cmask *m, u32 base, u32 nr_cids, in __scx_cmask_init() argument [all …]
|
| H A D | cid.c | 389 * scx_cmask_clear - Zero every bit in @m's active range 390 * @m: cmask to clear 394 void scx_cmask_clear(struct scx_cmask *m) in scx_cmask_clear() argument 398 if (!m->nr_cids) in scx_cmask_clear() 400 nr_words = (m->base + m->nr_cids - 1) / 64 - m->base / 64 + 1; in scx_cmask_clear() 401 memset(m->bits, 0, nr_words * sizeof(u64)); in scx_cmask_clear() 405 * scx_cmask_fill - Set every bit in @m's active range 406 * @m: cmask to fill 410 void scx_cmask_fill(struct scx_cmask *m) in scx_cmask_fill() argument 414 if (!m->nr_cids) in scx_cmask_fill() [all …]
|
| /linux/arch/mips/math-emu/ |
| H A D | ieee754sp.h | 36 /* 64 bit right shift with rounding */ 38 (((rs) >= 64) ? ((v) != 0) : ((v) >> (rs)) | ((v) << (64-(rs)) != 0)) 44 #define XSPSRS1(m) \ argument 45 ((m >> 1) | (m & 1)) 54 #define SPDNORMx(m,e) \ argument 55 while ((m >> SP_FBITS) == 0) { m <<= 1; e--; } 60 static inline union ieee754sp buildsp(int s, int bx, unsigned int m) in buildsp() argument 67 assert(((m) >> SP_FBITS) == 0); in buildsp() 71 r.mant = m; in buildsp()
|
| /linux/Documentation/arch/powerpc/ |
| H A D | kaslr-booke32.rst | 24 We will use the first 512M of the low memory to randomize the kernel 25 image. The memory will be split in 64M zones. We will use the lower 8 26 bit of the entropy to decide the index of the 64M zone. Then we chose a 27 16K aligned offset inside the 64M zone to put the kernel in:: 31 |--> 64M <--|
|
| /linux/arch/x86/include/asm/ |
| H A D | syscall_wrapper.h | 17 * __x64_sys_*() - 64-bit native syscall 20 * __x64_compat_sys_*() - 64-bit X32 compat syscall 23 * 64-bit: RDI, RSI, RDX, R10, R8, R9 48 * cltq <-- extend return value to 64-bit 55 /* Mapping of registers to parameters for syscalls on x86-64 and x32 */ 63 #define SYSCALL_PT_ARG6(m, t1, t2, t3, t4, t5, t6) \ argument 64 SYSCALL_PT_ARG5(m, t1, t2, t3, t4, t5), m(t6, (regs->bp)) 65 #define SYSCALL_PT_ARG5(m, t1, t2, t3, t4, t5) \ argument 66 SYSCALL_PT_ARG4(m, t1, t2, t3, t4), m(t5, (regs->di)) 67 #define SYSCALL_PT_ARG4(m, t1, t2, t3, t4) \ argument [all …]
|
| H A D | special_insns.h | 187 asm volatile("clflush %0" : "+m" (*(volatile char __force *)__p)); in clflush() 194 "+m" (*(volatile char __force *)__p)); in clflushopt() 199 volatile struct { char x[64]; } *p = __p; in clwb() 205 : "+m" (*p)); in clwb() 213 :: [addr] "m" (*addr), [val] "r" (val) in write_user_shstk_64() 229 /* The dst parameter must be 64-bytes aligned */ 232 const struct { char _[64]; } *__src = src; in movdir64b() 233 struct { char _[64]; } *__dst = dst; in movdir64b() 247 : "+m" (*__dst) in movdir64b() 248 : "m" (*__src), "a" (__dst), "d" (__src)); in movdir64b() [all …]
|
| /linux/arch/mips/include/asm/ |
| H A D | cmpxchg.h | 34 #define __xchg_asm(ld, st, m, val) \ argument 36 __typeof(*(m)) __ret; \ 52 : "=&r" (__ret), "=" GCC_OFF_SMALL_ASM() (*m) \ 53 : GCC_OFF_SMALL_ASM() (*m), "Jr" (val) \ 59 __ret = *m; \ 60 *m = val; \ 112 #define __cmpxchg_asm(ld, st, m, old, new) \ argument 114 __typeof(*(m)) __ret; \ 132 : "=&r" (__ret), "=" GCC_OFF_SMALL_ASM() (*m) \ 133 : GCC_OFF_SMALL_ASM() (*m), "Jr" (old), "Jr" (new) \ [all …]
|
| /linux/tools/testing/selftests/nolibc/ |
| H A D | Makefile.nolibc | 36 # ppc64 | powerpc | 64 bits big endian 37 # ppc64le | powerpc | 64 bits little endian 94 DEFCONFIG_mipsn32le = malta_defconfig generic/64r2.config 95 DEFCONFIG_mipsn32be = malta_defconfig generic/64r6.config generic/eb.config 96 DEFCONFIG_mips64le = malta_defconfig generic/64r6.config 97 DEFCONFIG_mips64be = malta_defconfig generic/64r2.config generic/eb.config 152 QEMU_ARGS_i386 = -M pc -append "console=ttyS0,9600 i8042.noaux panic=-1 $(TEST:%=NOLIBC_TEST=%)" 153 QEMU_ARGS_x86_64 = -M pc -append "console=ttyS0,9600 i8042.noaux panic=-1 $(TEST:%=NOLIBC_TEST=%)" 154 QEMU_ARGS_x32 = -M pc -append "console=ttyS0,9600 i8042.noaux panic=-1 $(TEST:%=NOLIBC_TEST=%)" 155 QEMU_ARGS_x86 = -M p [all...] |
| /linux/Documentation/devicetree/bindings/memory-controllers/fsl/ |
| H A D | fsl,imx-weim.yaml | 69 05 128M 0M 0M 0M 70 033 64M 64M 0M 0M 71 0113 64M 32M 32M 0M 72 01111 32M 32M 32M 32M
|
| /linux/drivers/media/platform/verisilicon/ |
| H A D | hantro_vp9.c | 28 height32 = roundup(h, 64); in hantro_vp9_tile_filter_size() 39 height32 = roundup(h, 64); in hantro_vp9_bsd_control_size() 51 num_ctbs = ((w + 63) / 64) * ((h + 63) / 64); in hantro_vp9_segment_map_size() 71 static void *get_coeffs_arr(struct symbol_counts *cnts, int i, int j, int k, int l, int m) in get_coeffs_arr() argument 74 return &cnts->count_coeffs[j][k][l][m]; in get_coeffs_arr() 77 return &cnts->count_coeffs8x8[j][k][l][m]; in get_coeffs_arr() 80 return &cnts->count_coeffs16x16[j][k][l][m]; in get_coeffs_arr() 83 return &cnts->count_coeffs32x32[j][k][l][m]; in get_coeffs_arr() 88 static void *get_eobs1(struct symbol_counts *cnts, int i, int j, int k, int l, int m) in get_eobs1() argument 91 return &cnts->count_coeffs[j][k][l][m][3]; in get_eobs1() [all …]
|
| /linux/include/linux/ |
| H A D | jiffies.h | 71 * The 64-bit value is not atomic on 32-bit systems - you MUST NOT read it 76 * and for 64-bit big-endian systems. 84 #if (BITS_PER_LONG < 64) 88 * get_jiffies_64 - read the 64-bit non-atomic jiffies_64 value 90 * When BITS_PER_LONG < 64, this uses sequence number sampling using 91 * jiffies_lock to protect the 64-bit read. 93 * Return: current 64-bit jiffies value 180 /* Same as above, but does so with platform independent 64bit types. 371 * do this and pass the 64-bit result of the mpy through the ">> SCALE" 378 * For those who want to know, gcc will give a 64-bit result from a "*" [all …]
|
| /linux/arch/sparc/include/asm/ |
| H A D | io-unit.h | 23 fixed DMA range 64M */ 25 #define IOUNIT_DMA_BASE 0xfc000000 /* TOP - 64M */ 26 #define IOUNIT_DMA_SIZE 0x04000000 /* 64M */ 27 /* We use last 1M for sparc_dvma_malloc */ 28 #define IOUNIT_DVMA_SIZE 0x00100000 /* 1M */
|
| /linux/Documentation/translations/zh_CN/arch/arm64/ |
| H A D | hugetlbpage.rst | 42 4K: 64K 2M 32M 1G 43 16K: 2M 32M 1G 44 64K: 2M 512M 16G
|
| /linux/Documentation/translations/zh_TW/arch/arm64/ |
| H A D | hugetlbpage.rst | 45 4K: 64K 2M 32M 1G 46 16K: 2M 32M 1G 47 64K: 2M 512M 16G
|
| /linux/include/uapi/mtd/ |
| H A D | mtd-abi.h | 201 * #define MEMSETOOBSEL _IOW('M', 9, struct nand_oobinfo) 206 #define MEMGETINFO _IOR('M', 1, struct mtd_info_user) 208 #define MEMERASE _IOW('M', 2, struct erase_info_user) 210 #define MEMWRITEOOB _IOWR('M', 3, struct mtd_oob_buf) 212 #define MEMREADOOB _IOWR('M', 4, struct mtd_oob_buf) 214 #define MEMLOCK _IOW('M', 5, struct erase_info_user) 216 #define MEMUNLOCK _IOW('M', 6, struct erase_info_user) 218 #define MEMGETREGIONCOUNT _IOR('M', 7, int) 220 #define MEMGETREGIONINFO _IOWR('M', 8, struct region_info_user) 222 #define MEMGETOOBSEL _IOR('M', 10, struct nand_oobinfo) [all …]
|
| /linux/drivers/input/misc/ |
| H A D | yealink.h | 121 * |[] M [][] D [][] : [][] out |[][] 132 * Icon names : M D : IN OUT STORE 141 _PIC('.', 22,1 , "M" ), 145 _SEG('M', 14,1 , 14,2 , 14,4 , 14,1 , 15,4 , 15,2 , 15,1 ), 180 _SEG('8', 22,16, 22,32, 22,64, 22,128, 23,128, 23,64, 23,32 ), 181 _SEG('8', 20,16, 20,32, 20,64, 20,128, 21,128, 21,64, 21,32 ), 182 _SEG('8', 18,16, 18,32, 18,64, 18,128, 19,128, 19,64, 19,32 ), 183 _SEG('8', 16,16, 16,32, 16,64, 16,128, 17,128, 17,64, 17,32 ), 184 _SEG('8', 14,16, 14,32, 14,64, 14,128, 15,128, 15,64, 15,32 ), 185 _SEG('8', 12,16, 12,32, 12,64, 12,128, 13,128, 13,64, 13,32 ), [all …]
|
| /linux/Documentation/arch/arm64/ |
| H A D | hugetlbpage.rst | 40 4K: 64K 2M 32M 1G 41 16K: 2M 32M 1G 42 64K: 2M 512M 16G
|