| /linux/arch/arm/mach-mv78xx0/ |
| H A D | irq.c | 34 unsigned int hwirq = __fls(stat); in mv78xx0_legacy_handle_irq() 41 unsigned int hwirq = 32 + __fls(stat); in mv78xx0_legacy_handle_irq() 48 unsigned int hwirq = 64 + __fls(stat); in mv78xx0_legacy_handle_irq()
|
| /linux/arch/sparc/lib/ |
| H A D | fls64.S | 14 ENTRY(__fls) 60 ENDPROC(__fls) 61 EXPORT_SYMBOL(__fls)
|
| H A D | NG4patch.S | 61 NG_DO_PATCH(__fls, __NG4fls)
|
| /linux/arch/arm/mach-dove/ |
| H A D | irq.c | 50 unsigned int hwirq = 1 + __fls(stat); in dove_legacy_handle_irq() 57 unsigned int hwirq = 33 + __fls(stat); in dove_legacy_handle_irq()
|
| /linux/arch/s390/lib/ |
| H A D | find.c | 35 return result + (__fls(tmp) ^ (BITS_PER_LONG - 1)); in find_first_bit_inv() 74 return result + (__fls(tmp) ^ (BITS_PER_LONG - 1)); in find_next_bit_inv()
|
| /linux/tools/testing/selftests/powerpc/primitives/ |
| H A D | load_unaligned_zeropad.c | 24 static inline unsigned long __fls(unsigned long x); 30 static inline unsigned long __fls(unsigned long x) in __fls() function
|
| /linux/include/asm-generic/bitops/ |
| H A D | builtin-__fls.h | 11 static __always_inline __attribute_const__ unsigned int __fls(unsigned long word) in __fls() function
|
| H A D | fls64.h | 31 return __fls(x) + 1; in fls64()
|
| H A D | __fls.h | 45 #define __fls(word) generic___fls(word) macro
|
| /linux/arch/openrisc/include/asm/bitops/ |
| H A D | __fls.h | 14 static inline __attribute_const__ unsigned long __fls(unsigned long x) in __fls() function
|
| /linux/lib/tests/ |
| H A D | ffs_kunit.c | 144 fls_0based = __fls(input); in validate_ffs_relationships() 234 validate_ffs_result(test, tc->input, __fls(tc->input), in ffs_basic_correctness_test() 521 CREATE_WRAPPER(__fls) in CREATE_WRAPPER()
|
| /linux/tools/include/asm-generic/bitops/ |
| H A D | fls64.h | 31 return __fls(x) + 1; in fls64()
|
| H A D | __fls.h | 45 #define __fls(word) generic___fls(word) macro
|
| /linux/arch/arm/mach-orion5x/ |
| H A D | irq.c | 34 unsigned int hwirq = 1 + __fls(stat); in orion5x_legacy_handle_irq()
|
| /linux/arch/csky/include/asm/ |
| H A D | bitops.h | 55 static __always_inline __attribute_const__ unsigned long __fls(unsigned long x) in __fls() function
|
| /linux/drivers/irqchip/ |
| H A D | irq-orion.c | 44 u32 hwirq = __fls(stat); in orion_handle_irq() 117 u32 hwirq = __fls(stat); in orion_bridge_irq_handler()
|
| H A D | irq-rda-intc.c | 55 hwirq = __fls(stat); in rda_handle_irq()
|
| /linux/arch/sparc/include/asm/ |
| H A D | bitops_64.h | 27 int __attribute_const__ __fls(unsigned long word);
|
| /linux/lib/math/ |
| H A D | int_sqrt.c | 27 m = 1UL << (__fls(x) & ~1UL); in int_sqrt()
|
| /linux/drivers/rapidio/devices/ |
| H A D | tsi721.h | 167 #define TSI721_IDQ_SIZE_VAL(size) (__fls(size) - 4) 191 #define TSI721_IBWIN_SIZE(size) (__fls(size) - 12) 236 #define TSI721_OBWIN_SIZE(size) (__fls(size) - 15) 314 #define TSI721_DMAC_DSSZ_SIZE(size) (__fls(size) - 4)
|
| /linux/drivers/staging/media/ipu3/ |
| H A D | ipu3-dmamap.c | 53 for (order_mask &= (2U << __fls(count)) - 1; in imgu_dmamap_alloc_buffer() 55 unsigned int order = __fls(order_mask); in imgu_dmamap_alloc_buffer()
|
| /linux/lib/ |
| H A D | closure.c | 22 flags & CLOSURE_GUARD_MASK, (unsigned) __fls(r))) in closure_put_after_sub_checks() 27 flags & ~CLOSURE_DESTRUCTOR, (unsigned) __fls(flags)); in closure_put_after_sub_checks()
|
| /linux/drivers/pci/pcie/ |
| H A D | bwctrl.c | 75 return __fls(supported_speeds); in pcie_supported_speeds2target_speed() 95 __fls(PCI_EXP_LNKCAP2_SLS_2_5GB)); in pcie_bwctrl_select_speed()
|
| /linux/arch/mips/include/asm/ |
| H A D | bitops.h | 330 static __always_inline __attribute_const__ unsigned long __fls(unsigned long word) in __fls() function 398 return __fls(word & -word); in __ffs()
|
| /linux/include/asm-generic/ |
| H A D | word-at-a-time.h | 50 #define zero_bytemask(mask) (~1ul << __fls(mask))
|