Home
last modified time | relevance | path

Searched refs:BITS_PER_LONG (Results 1 – 25 of 36) sorted by relevance

12

/rk3399_rockchip-uboot/include/asm-generic/bitops/
H A D__fls.h14 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 Dfls64.h17 #if BITS_PER_LONG == 32
25 #elif BITS_PER_LONG == 64
33 #error BITS_PER_LONG not 32 or 64
H A D__ffs.h16 #if BITS_PER_LONG == 64 in __ffs()
/rk3399_rockchip-uboot/include/linux/
H A Dbitops.h11 #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 Dbitmap.h10 (__builtin_constant_p(nbits) && (nbits) <= BITS_PER_LONG)
/rk3399_rockchip-uboot/drivers/mtd/nand/
H A Dbbt.c111 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 Dtypes.h43 #define BITS_PER_LONG 64 macro
45 #define BITS_PER_LONG 32 macro
H A Datomic.h26 #if BITS_PER_LONG == 32
113 #if BITS_PER_LONG == 32
/rk3399_rockchip-uboot/arch/x86/include/asm/
H A Dtypes.h48 #define BITS_PER_LONG 64 macro
50 #define BITS_PER_LONG 32 macro
/rk3399_rockchip-uboot/drivers/mtd/ubispl/
H A Dubispl.h27 #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 Dtypes.h46 #define BITS_PER_LONG 32 macro
/rk3399_rockchip-uboot/arch/xtensa/include/asm/
H A Dtypes.h48 #define BITS_PER_LONG 32 macro
/rk3399_rockchip-uboot/arch/nds32/include/asm/
H A Dtypes.h52 #define BITS_PER_LONG 32 macro
/rk3399_rockchip-uboot/arch/microblaze/include/asm/
H A Dtypes.h50 #define BITS_PER_LONG 32 macro
/rk3399_rockchip-uboot/arch/nios2/include/asm/
H A Dtypes.h50 #define BITS_PER_LONG 32 macro
/rk3399_rockchip-uboot/include/usb/
H A Dlin_gadget_compat.h21 (__builtin_constant_p(nbits) && (nbits) <= BITS_PER_LONG)
/rk3399_rockchip-uboot/arch/sh/include/asm/
H A Dtypes.h34 #define BITS_PER_LONG 32 macro
/rk3399_rockchip-uboot/arch/m68k/include/asm/
H A Dtypes.h42 #define BITS_PER_LONG 32 macro
/rk3399_rockchip-uboot/arch/sandbox/include/asm/
H A Dtypes.h57 #define BITS_PER_LONG 32 macro
/rk3399_rockchip-uboot/arch/powerpc/include/asm/
H A Dtypes.h42 #define BITS_PER_LONG 32 macro
H A Dbitops.h187 #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 Dtypes.h43 #define BITS_PER_LONG _MIPS_SZLONG macro
/rk3399_rockchip-uboot/include/asm-generic/
H A Dsignal.h7 #define _NSIG_BPW BITS_PER_LONG
/rk3399_rockchip-uboot/include/
H A Ddiv64.h26 #if BITS_PER_LONG == 64
36 #elif BITS_PER_LONG == 32
/rk3399_rockchip-uboot/arch/nios2/include/asm/bitops/
H A Dnon-atomic.h105 return 1UL & (addr[BIT_WORD(nr)] >> (nr & (BITS_PER_LONG-1))); in test_bit()

12