Home
last modified time | relevance | path

Searched refs:ffs (Results 1 – 25 of 63) sorted by relevance

123

/arch/sparc/lib/
Dffs.S10 ENTRY(ffs)
68 ENDPROC(ffs)
71 EXPORT_SYMBOL(ffs)
74 .word ffs
/arch/unicore32/include/asm/
Dbitops.h36 #define ffs(x) ({ unsigned long __t = (x); fls(__t & -__t); }) macro
37 #define __ffs(x) (ffs(x) - 1)
/arch/x86/boot/
Da20.c25 int ffs = MAX_8042_FF; in empty_8042() local
33 if (!--ffs) in empty_8042()
/arch/openrisc/include/asm/bitops/
Dffs.h17 static inline int ffs(int x) in ffs() function
/arch/cris/include/asm/
Dbitops.h34 #define ffs(x) kernel_ffs(x) macro
/arch/c6x/include/asm/
Dbitops.h76 static inline int ffs(int x) in ffs() function
/arch/arc/include/asm/
Dbitops.h338 #define ffs(x) ({ unsigned long __t = (x); fls(__t & -__t); }) macro
348 return ffs(word) - 1; in __ffs()
385 static inline __attribute__ ((const)) int ffs(unsigned long x) in ffs() function
/arch/mips/include/asm/
Dfpu_emulator.h210 (ffs(FPU_CSR_ALL_X) - ffs(FPU_CSR_ALL_E)))); in mask_fcr31_x()
/arch/sparc/include/asm/
Dbitops_64.h34 int ffs(int x);
/arch/mips/pmcs-msp71xx/
Dmsp_irq_slp.c105 do_IRQ(ffs(pending) + intbase - 1); in msp_slp_irq_dispatch()
Dmsp_irq_per.c127 do_IRQ(ffs(pending) + MSP_PER_INTBASE - 1); in msp_per_irq_dispatch()
Dmsp_irq_cic.c208 do_IRQ(ffs(pending) + MSP_CIC_INTBASE - 1); in msp_cic_irq_dispatch()
/arch/mips/sni/
Dpcit.c187 irq = ffs((pending >> 16) & 0x7f); in pcit_hwint1()
200 irq = ffs((pending >> 16) & 0x3f); in pcit_hwint0()
/arch/m68k/include/asm/
Dbitops.h464 static inline int ffs(int x) in ffs() function
486 static inline int ffs(int x) in ffs() function
495 #define __ffs(x) (ffs(x) - 1)
/arch/mips/loongson64/lemote-2f/
Dirq.c46 irq = ffs(isr) - 1; in mach_i8259_irq()
/arch/hexagon/include/asm/
Dbitops.h235 static inline int ffs(int x) in ffs() function
/arch/arm/include/asm/
Dbitops.h295 static inline int ffs(int x) in ffs() function
306 return ffs(x) - 1; in __ffs()
/arch/xtensa/include/asm/
Dbitops.h62 static inline int ffs(unsigned long x) in ffs() function
/arch/mips/mm/
Dc-octeon.c203 c->icache.waybit = ffs(icache_size / c->icache.ways) - 1; in probe_octeon()
212 c->dcache.waybit = ffs(dcache_size / c->dcache.ways) - 1; in probe_octeon()
/arch/mn10300/include/asm/
Dbitops.h215 int ffs(int x) in ffs() function
/arch/arc/lib/
Dstrcmp-archs.S55 ffs r0, r4
/arch/parisc/include/asm/
Dbitops.h181 static __inline__ int ffs(int x) in ffs() function
/arch/mips/loongson64/common/
Dmem.c34 if (bit != ffs(memsize + highmemsize)) in prom_init_memory()
/arch/powerpc/platforms/4xx/
Duic.c218 src = 32 - ffs(msr); in uic_irq_cascade()
332 src = 32 - ffs(msr); in uic_get_irq()
/arch/blackfin/include/asm/
Dipipe.h156 return ffs(ul) - 1; in __ipipe_ffnz()

123