| /rk3399_rockchip-uboot/include/asm-generic/bitops/ |
| H 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()
|
| H 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
|
| H A D | __ffs.h | 16 #if BITS_PER_LONG == 64 in __ffs()
|
| /rk3399_rockchip-uboot/include/linux/ |
| H A D | bitops.h | 11 #define BIT_MASK(nr) (1UL << ((nr) % BITS_PER_LONG)) 12 #define BIT_WORD(nr) ((nr) / BITS_PER_LONG) 25 (((~0UL) << (l)) & (~0UL >> (BITS_PER_LONG - 1 - (h)))) 168 #if BITS_PER_LONG == 32 in __ffs64() 171 #elif BITS_PER_LONG != 64 in __ffs64() 172 #error BITS_PER_LONG not 32 or 64 in __ffs64()
|
| H A D | bitmap.h | 10 (__builtin_constant_p(nbits) && (nbits) <= BITS_PER_LONG)
|
| /rk3399_rockchip-uboot/drivers/mtd/nand/ |
| H A D | bbt.c | 111 BITS_PER_LONG) * sizeof(*nand->bbt.cache); in nanddev_read_bbt() 223 BITS_PER_LONG) * sizeof(*nand->bbt.cache); in nanddev_write_bbt() 304 BITS_PER_LONG); in nanddev_bbt_format() 398 BITS_PER_LONG); in nanddev_bbt_init() 518 ((entry * bits_per_block) / BITS_PER_LONG); in nanddev_bbt_get_block_status() 519 unsigned int offs = (entry * bits_per_block) % BITS_PER_LONG; in nanddev_bbt_get_block_status() 532 if (bits_per_block + offs > BITS_PER_LONG) in nanddev_bbt_get_block_status() 533 status |= pos[1] << (BITS_PER_LONG - offs); in nanddev_bbt_get_block_status() 557 ((entry * bits_per_block) / BITS_PER_LONG); in nanddev_bbt_set_block_status() 558 unsigned int offs = (entry * bits_per_block) % BITS_PER_LONG; in nanddev_bbt_set_block_status() [all …]
|
| /rk3399_rockchip-uboot/arch/arm/include/asm/ |
| H A D | types.h | 43 #define BITS_PER_LONG 64 macro 45 #define BITS_PER_LONG 32 macro
|
| H A D | atomic.h | 26 #if BITS_PER_LONG == 32 113 #if BITS_PER_LONG == 32
|
| /rk3399_rockchip-uboot/arch/x86/include/asm/ |
| H A D | types.h | 48 #define BITS_PER_LONG 64 macro 50 #define BITS_PER_LONG 32 macro
|
| /rk3399_rockchip-uboot/drivers/mtd/ubispl/ |
| H A D | ubispl.h | 27 #define UBI_FM_BM_SIZE ((CONFIG_SPL_UBI_MAX_PEBS / BITS_PER_LONG) + 1) 35 #define UBI_VOL_BM_SIZE ((UBI_MAX_VOL_LEBS / BITS_PER_LONG) + 1)
|
| /rk3399_rockchip-uboot/arch/arc/include/asm/ |
| H A D | types.h | 46 #define BITS_PER_LONG 32 macro
|
| /rk3399_rockchip-uboot/arch/xtensa/include/asm/ |
| H A D | types.h | 48 #define BITS_PER_LONG 32 macro
|
| /rk3399_rockchip-uboot/arch/nds32/include/asm/ |
| H A D | types.h | 52 #define BITS_PER_LONG 32 macro
|
| /rk3399_rockchip-uboot/arch/microblaze/include/asm/ |
| H A D | types.h | 50 #define BITS_PER_LONG 32 macro
|
| /rk3399_rockchip-uboot/arch/nios2/include/asm/ |
| H A D | types.h | 50 #define BITS_PER_LONG 32 macro
|
| /rk3399_rockchip-uboot/include/usb/ |
| H A D | lin_gadget_compat.h | 21 (__builtin_constant_p(nbits) && (nbits) <= BITS_PER_LONG)
|
| /rk3399_rockchip-uboot/arch/sh/include/asm/ |
| H A D | types.h | 34 #define BITS_PER_LONG 32 macro
|
| /rk3399_rockchip-uboot/arch/m68k/include/asm/ |
| H A D | types.h | 42 #define BITS_PER_LONG 32 macro
|
| /rk3399_rockchip-uboot/arch/sandbox/include/asm/ |
| H A D | types.h | 57 #define BITS_PER_LONG 32 macro
|
| /rk3399_rockchip-uboot/arch/powerpc/include/asm/ |
| H A D | types.h | 42 #define BITS_PER_LONG 32 macro
|
| H 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
|
| /rk3399_rockchip-uboot/arch/mips/include/asm/ |
| H A D | types.h | 43 #define BITS_PER_LONG _MIPS_SZLONG macro
|
| /rk3399_rockchip-uboot/include/asm-generic/ |
| H A D | signal.h | 7 #define _NSIG_BPW BITS_PER_LONG
|
| /rk3399_rockchip-uboot/include/ |
| H A D | div64.h | 26 #if BITS_PER_LONG == 64 36 #elif BITS_PER_LONG == 32
|
| /rk3399_rockchip-uboot/arch/nios2/include/asm/bitops/ |
| H A D | non-atomic.h | 105 return 1UL & (addr[BIT_WORD(nr)] >> (nr & (BITS_PER_LONG-1))); in test_bit()
|