| /u-boot/include/asm-generic/bitops/ |
| A D | __fls.h | 14 int num = BITS_PER_LONG - 1; in __fls() 16 #if BITS_PER_LONG == 64 in __fls() 22 if (!(word & (~0ul << (BITS_PER_LONG-16)))) { in __fls() 26 if (!(word & (~0ul << (BITS_PER_LONG-8)))) { in __fls() 30 if (!(word & (~0ul << (BITS_PER_LONG-4)))) { in __fls() 34 if (!(word & (~0ul << (BITS_PER_LONG-2)))) { in __fls() 38 if (!(word & (~0ul << (BITS_PER_LONG-1)))) in __fls()
|
| A D | fls64.h | 17 #if BITS_PER_LONG == 32 25 #elif BITS_PER_LONG == 64 33 #error BITS_PER_LONG not 32 or 64
|
| A D | __ffs.h | 16 #if BITS_PER_LONG == 64 in __ffs()
|
| /u-boot/include/linux/ |
| A D | bitmap.h | 42 if (bits % BITS_PER_LONG) in __bitmap_weight() 53 int bits_to_set = BITS_PER_LONG - (start % BITS_PER_LONG); in __bitmap_set() 59 bits_to_set = BITS_PER_LONG; in __bitmap_set() 74 int bits_to_clear = BITS_PER_LONG - (start % BITS_PER_LONG); in __bitmap_clear() 80 bits_to_clear = BITS_PER_LONG; in __bitmap_clear() 112 offset %= BITS_PER_LONG; in find_next_bit() 116 if (size < BITS_PER_LONG) in find_next_bit() 120 size -= BITS_PER_LONG; in find_next_bit() 121 result += BITS_PER_LONG; in find_next_bit() 127 result += BITS_PER_LONG; in find_next_bit() [all …]
|
| A D | bitops.h | 13 #define BIT_MASK(nr) (1UL << ((nr) % BITS_PER_LONG)) 14 #define BIT_WORD(nr) ((nr) / BITS_PER_LONG) 34 (((~0UL) << (l)) & (~0UL >> (BITS_PER_LONG - 1 - (h)))) 189 #if BITS_PER_LONG == 32 in __ffs64() 192 #elif BITS_PER_LONG != 64 in __ffs64() 193 #error BITS_PER_LONG not 32 or 64 in __ffs64()
|
| A D | xxhash.h | 96 #if BITS_PER_LONG == 64 in xxhash()
|
| /u-boot/drivers/mtd/nand/ |
| A D | bbt.c | 33 BITS_PER_LONG); in nanddev_bbt_init() 83 ((entry * bits_per_block) / BITS_PER_LONG); in nanddev_bbt_get_block_status() 84 unsigned int offs = (entry * bits_per_block) % BITS_PER_LONG; in nanddev_bbt_get_block_status() 91 if (bits_per_block + offs > BITS_PER_LONG) in nanddev_bbt_get_block_status() 92 status |= pos[1] << (BITS_PER_LONG - offs); in nanddev_bbt_get_block_status() 116 ((entry * bits_per_block) / BITS_PER_LONG); in nanddev_bbt_set_block_status() 117 unsigned int offs = (entry * bits_per_block) % BITS_PER_LONG; in nanddev_bbt_set_block_status() 126 if (bits_per_block + offs > BITS_PER_LONG) { in nanddev_bbt_set_block_status() 127 unsigned int rbits = bits_per_block + offs - BITS_PER_LONG; in nanddev_bbt_set_block_status()
|
| /u-boot/arch/arm/include/asm/ |
| A D | bitops.h | 123 unsigned long *p = ((unsigned long *)addr) + (offset / BITS_PER_LONG); in find_next_zero_bit() 124 unsigned long result = offset & ~(BITS_PER_LONG - 1); in find_next_zero_bit() 130 offset &= (BITS_PER_LONG - 1); in find_next_zero_bit() 133 tmp |= ~0UL >> (BITS_PER_LONG - offset); in find_next_zero_bit() 134 if (size < BITS_PER_LONG) in find_next_zero_bit() 138 size -= BITS_PER_LONG; in find_next_zero_bit() 139 result += BITS_PER_LONG; in find_next_zero_bit() 141 while (size & ~(BITS_PER_LONG - 1)) { in find_next_zero_bit() 145 result += BITS_PER_LONG; in find_next_zero_bit() 146 size -= BITS_PER_LONG; in find_next_zero_bit()
|
| A D | types.h | 14 #define BITS_PER_LONG 64 macro 16 #define BITS_PER_LONG 32 macro
|
| /u-boot/arch/x86/include/asm/ |
| A D | types.h | 14 #define BITS_PER_LONG 64 macro 16 #define BITS_PER_LONG 32 macro
|
| /u-boot/arch/riscv/include/asm/ |
| A D | types.h | 25 #define BITS_PER_LONG 64 macro 27 #define BITS_PER_LONG 32 macro
|
| /u-boot/drivers/mtd/ubispl/ |
| A D | ubispl.h | 26 #define UBI_FM_BM_SIZE ((CONFIG_SPL_UBI_MAX_PEBS / BITS_PER_LONG) + 1) 34 #define UBI_VOL_BM_SIZE ((UBI_MAX_VOL_LEBS / BITS_PER_LONG) + 1)
|
| /u-boot/arch/arc/include/asm/ |
| A D | types.h | 13 #define BITS_PER_LONG 32 macro
|
| /u-boot/arch/xtensa/include/asm/ |
| A D | types.h | 18 #define BITS_PER_LONG 32 macro
|
| /u-boot/arch/microblaze/include/asm/ |
| A D | types.h | 21 #define BITS_PER_LONG 32 macro
|
| /u-boot/arch/sh/include/asm/ |
| A D | types.h | 17 #define BITS_PER_LONG 32 macro
|
| /u-boot/arch/m68k/include/asm/ |
| A D | types.h | 16 #define BITS_PER_LONG 32 macro
|
| /u-boot/arch/sandbox/include/asm/ |
| A D | types.h | 21 #define BITS_PER_LONG CONFIG_SANDBOX_BITS_PER_LONG macro
|
| /u-boot/arch/powerpc/include/asm/ |
| A D | types.h | 16 #define BITS_PER_LONG 32 macro
|
| A D | bitops.h | 187 #if BITS_PER_LONG == 32 195 #elif BITS_PER_LONG == 64 203 #error BITS_PER_LONG not 32 or 64
|
| /u-boot/arch/mips/include/asm/ |
| A D | types.h | 22 #define BITS_PER_LONG _MIPS_SZLONG macro
|
| /u-boot/arch/nios2/include/asm/ |
| A D | types.h | 50 #define BITS_PER_LONG 32 macro
|
| /u-boot/include/asm-generic/ |
| A D | atomic.h | 7 #if BITS_PER_LONG == 32 91 #if BITS_PER_LONG == 32
|
| A D | signal.h | 7 #define _NSIG_BPW BITS_PER_LONG
|
| /u-boot/include/ |
| A D | div64.h | 26 #if BITS_PER_LONG == 64 36 #elif BITS_PER_LONG == 32
|