Home
last modified time | relevance | path

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

12345

/linux-6.6.21/arch/arm/mach-mv78xx0/
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()
/linux-6.6.21/arch/sparc/lib/
Dfls64.S14 ENTRY(__fls)
60 ENDPROC(__fls)
61 EXPORT_SYMBOL(__fls)
DNG4patch.S61 NG_DO_PATCH(__fls, __NG4fls)
/linux-6.6.21/arch/arm/mach-dove/
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()
/linux-6.6.21/arch/s390/lib/
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()
/linux-6.6.21/arch/arc/include/asm/
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
/linux-6.6.21/tools/testing/selftests/powerpc/primitives/
Dload_unaligned_zeropad.c24 static inline unsigned long __fls(unsigned long x);
30 static inline unsigned long __fls(unsigned long x) in __fls() function
/linux-6.6.21/include/asm-generic/bitops/
Dbuiltin-__fls.h11 static __always_inline unsigned long __fls(unsigned long word) in __fls() function
Dfls64.h31 return __fls(x) + 1; in fls64()
D__fls.h13 static __always_inline unsigned long __fls(unsigned long word) in __fls() function
/linux-6.6.21/arch/openrisc/include/asm/bitops/
D__fls.h14 static inline unsigned long __fls(unsigned long x) in __fls() function
/linux-6.6.21/tools/include/asm-generic/bitops/
Dfls64.h31 return __fls(x) + 1; in fls64()
D__fls.h13 static __always_inline unsigned long __fls(unsigned long word) in __fls() function
/linux-6.6.21/arch/csky/include/asm/
Dbitops.h55 static __always_inline unsigned long __fls(unsigned long x) in __fls() function
/linux-6.6.21/arch/arm/mach-orion5x/
Dirq.c34 unsigned int hwirq = 1 + __fls(stat); in orion5x_legacy_handle_irq()
/linux-6.6.21/drivers/irqchip/
Dirq-orion.c44 u32 hwirq = __fls(stat); in orion_handle_irq()
117 u32 hwirq = __fls(stat); in orion_bridge_irq_handler()
Dirq-rda-intc.c55 hwirq = __fls(stat); in rda_handle_irq()
/linux-6.6.21/arch/sparc/include/asm/
Dbitops_64.h27 int __fls(unsigned long word);
/linux-6.6.21/lib/math/
Dint_sqrt.c27 m = 1UL << (__fls(x) & ~1UL); in int_sqrt()
/linux-6.6.21/arch/mips/include/asm/
Dbitops.h307 static __always_inline unsigned long __fls(unsigned long word) in __fls() function
375 return __fls(word & -word); in __ffs()
/linux-6.6.21/drivers/rapidio/devices/
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)
/linux-6.6.21/drivers/soc/ixp4xx/
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()
/linux-6.6.21/drivers/staging/media/ipu3/
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()
/linux-6.6.21/include/asm-generic/
Dword-at-a-time.h49 #define zero_bytemask(mask) (~1ul << __fls(mask))
/linux-6.6.21/arch/hexagon/include/asm/
Dbitops.h281 static inline unsigned long __fls(unsigned long word) in __fls() function

12345