Home
last modified time | relevance | path

Searched refs:__fls (Results 1 – 25 of 126) sorted by relevance

123456

/openbmc/linux/arch/arm/mach-mv78xx0/
H A Dirq.c34 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()
/openbmc/linux/arch/sparc/lib/
H A Dfls64.S14 ENTRY(__fls)
60 ENDPROC(__fls)
61 EXPORT_SYMBOL(__fls)
/openbmc/linux/arch/arm/mach-dove/
H A Dirq.c50 unsigned int hwirq = 1 + __fls(stat); in dove_legacy_handle_irq()
57 unsigned int hwirq = 33 + __fls(stat); in dove_legacy_handle_irq()
/openbmc/linux/arch/s390/lib/
H A Dfind.c35 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()
/openbmc/linux/arch/arc/include/asm/
H A Dbitops.h85 static inline __attribute__ ((const)) unsigned long __fls(unsigned long x) in __fls() function
134 static inline __attribute__ ((const)) unsigned long __fls(unsigned long x) in __fls() function
/openbmc/linux/tools/testing/selftests/powerpc/primitives/
H A Dload_unaligned_zeropad.c24 static inline unsigned long __fls(unsigned long x);
30 static inline unsigned long __fls(unsigned long x) in __fls() function
/openbmc/linux/include/asm-generic/bitops/
H A Dbuiltin-__fls.h11 static __always_inline unsigned long __fls(unsigned long word) in __fls() function
H A Dfls64.h31 return __fls(x) + 1; in fls64()
H A D__fls.h13 static __always_inline unsigned long __fls(unsigned long word) in __fls() function
/openbmc/linux/arch/openrisc/include/asm/bitops/
H A D__fls.h14 static inline unsigned long __fls(unsigned long x) in __fls() function
/openbmc/linux/tools/include/asm-generic/bitops/
H A Dfls64.h31 return __fls(x) + 1; in fls64()
H A D__fls.h13 static __always_inline unsigned long __fls(unsigned long word) in __fls() function
/openbmc/u-boot/include/asm-generic/bitops/
H A Dfls64.h30 return __fls(x) + 1; in fls64()
H A D__fls.h12 static __always_inline unsigned long __fls(unsigned long word) in __fls() function
/openbmc/linux/arch/csky/include/asm/
H A Dbitops.h55 static __always_inline unsigned long __fls(unsigned long x) in __fls() function
/openbmc/linux/arch/arm/mach-orion5x/
H A Dirq.c34 unsigned int hwirq = 1 + __fls(stat); in orion5x_legacy_handle_irq()
/openbmc/linux/arch/sparc/include/asm/
H A Dbitops_64.h27 int __fls(unsigned long word);
/openbmc/linux/lib/math/
H A Dint_sqrt.c27 m = 1UL << (__fls(x) & ~1UL); in int_sqrt()
/openbmc/linux/drivers/irqchip/
H A Dirq-orion.c44 u32 hwirq = __fls(stat); in orion_handle_irq()
117 u32 hwirq = __fls(stat); in orion_bridge_irq_handler()
H A Dirq-rda-intc.c55 hwirq = __fls(stat); in rda_handle_irq()
/openbmc/linux/arch/mips/include/asm/
H A Dbitops.h307 static __always_inline unsigned long __fls(unsigned long word) in __fls() function
375 return __fls(word & -word); in __ffs()
/openbmc/linux/drivers/rapidio/devices/
H A Dtsi721.h167 #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)
/openbmc/linux/drivers/staging/media/ipu3/
H A Dipu3-dmamap.c53 for (order_mask &= (2U << __fls(count)) - 1; in imgu_dmamap_alloc_buffer()
55 unsigned int order = __fls(order_mask); in imgu_dmamap_alloc_buffer()
/openbmc/linux/drivers/soc/ixp4xx/
H A Dixp4xx-qmgr.c151 i = __fls(en_bitmap); /* number of the last "low" queue */ in qmgr_irq1_a0()
177 i = __fls(req_bitmap); /* number of the last "high" queue */ in qmgr_irq2_a0()
196 i = __fls(req_bitmap); /* number of the last queue */ in qmgr_irq()
/openbmc/linux/include/asm-generic/
H A Dword-at-a-time.h49 #define zero_bytemask(mask) (~1ul << __fls(mask))

123456