Home
last modified time | relevance | path

Searched refs:fls (Results 1 – 25 of 48) sorted by relevance

12

/arch/unicore32/include/asm/
Dbitops.h25 static inline int fls(int x) in fls() function
35 #define __fls(x) (fls(x) - 1)
36 #define ffs(x) ({ unsigned long __t = (x); fls(__t & -__t); })
/arch/arc/include/asm/
Dbitops.h315 static inline __attribute__ ((const)) int fls(unsigned long x) in fls() function
331 return fls(x) - 1; in __fls()
338 #define ffs(x) ({ unsigned long __t = (x); fls(__t & -__t); })
358 static inline __attribute__ ((const)) int fls(unsigned long x) in fls() function
/arch/openrisc/include/asm/bitops/
Dfls.h18 static inline int fls(int x) in fls() function
/arch/c6x/include/asm/
Dbitops.h57 static inline int fls(int x) in fls() function
/arch/mn10300/include/asm/
Dbitops.h191 int fls(int x) in fls() function
220 return fls(x & -x); in ffs()
/arch/tile/include/asm/
Dbitops.h59 static inline int fls(int x) in fls() function
/arch/avr32/include/asm/
Dbitops.h252 static inline int fls(unsigned long word) in fls() function
262 return fls(word) - 1; in __fls()
/arch/arm/include/asm/
Dbitops.h273 static inline int fls(int x) in fls() function
287 return fls(x) - 1; in __fls()
296 return fls(x & -x); in ffs()
Dword-at-a-time.h40 ret = fls(mask) >> 3; in find_zero()
/arch/frv/include/asm/
Dbitops.h169 #define fls(x) \ macro
240 return fls(x & -x); in ffs()
/arch/mips/rb532/
Dirq.c225 group = 21 + (fls(ip) - 32); in plat_irq_dispatch()
231 pend = 39 + (fls(pend) - 32); in plat_irq_dispatch()
/arch/hexagon/include/asm/
Dbitops.h214 static inline long fls(int x) in fls() function
/arch/arc/kernel/
Dmcip.c197 if (ffs(destination_bits) == fls(destination_bits)) in idu_irq_set_affinity()
266 if (cpu != fls(distri)) in idu_irq_xlate()
/arch/alpha/lib/
DMakefile39 fls.o
/arch/xtensa/include/asm/
Dbitops.h72 static inline int fls (unsigned int x) in fls() function
/arch/avr32/mach-at32ap/
Dextint.c157 i = fls(pending) - 1; in demux_eic_irq()
220 nr_of_irqs = fls(pattern); in eic_probe()
/arch/mips/loongson64/common/
Dmem.c33 bit = fls(memsize + highmemsize); in prom_init_memory()
/arch/parisc/include/asm/
Dbitops.h190 static __inline__ int fls(int x) in fls() function
/arch/mips/include/asm/
Dbitops.h543 static inline int fls(int x) in fls() function
601 return fls(word & -word); in ffs()
/arch/m68k/include/asm/
Dbitops.h500 static inline int fls(int x) in fls() function
512 return fls(x) - 1; in __fls()
/arch/x86/crypto/
Dcamellia-x86_64-asm_64.S114 #define fls(l, r, kl, kr) \ macro
144 fls(RAB, RCD, i + 0, i + 1);
173 fls(RAB, RCD, i + 1, i + 0);
/arch/arm/mach-imx/
Dtzic.c142 irqofs = fls(stat) - 1; in tzic_handle_irq()
/arch/powerpc/include/asm/
Dbitops.h236 static __inline__ int fls(unsigned int x) in fls() function
/arch/x86/include/asm/
Dbitops.h437 static __always_inline int fls(int x) in fls() function
/arch/mips/pci/
Dpci-lantiq.c90 bar11mask = (0x0ffffff0 & ~((1 << (fls(mem) - 1)) - 1)) | 8; in ltq_calc_bar11mask()

12