Searched refs:__ffs (Results 1 - 25 of 55) sorted by relevance

123

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-generic/bitops/
H A Dsched.h16 return __ffs(b[0]);
17 return __ffs(b[1]) + 64;
20 return __ffs(b[0]);
22 return __ffs(b[1]) + 32;
24 return __ffs(b[2]) + 64;
25 return __ffs(b[3]) + 96;
H A Dffz.h10 #define ffz(x) __ffs(~(x))
H A D__ffs.h7 * __ffs - find first bit in word.
12 static inline unsigned long __ffs(unsigned long word) function
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-cris/arch-v10/
H A Dbitops.h49 * __ffs - find first bit in word.
54 static inline unsigned long __ffs(unsigned long word) function
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-cris/arch-v32/
H A Dbitops.h50 __ffs(unsigned long w) function
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-avr32/
H A Dbitops.h236 static inline unsigned long __ffs(unsigned long word) function
250 return __ffs(~word);
285 return __ffs(word) + 1;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-generic/
H A Dbitops.h14 #include <asm-generic/bitops/__ffs.h>
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-xtensa/
H A Dbitops.h52 * __ffs: Find first bit set in word. Return 0 for bit 0
55 static inline int __ffs(unsigned long x) function
86 # include <asm-generic/bitops/__ffs.h>
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-parisc/
H A Dbitops.h116 * __ffs - find first bit in word. returns 0 to "BITS_PER_LONG-1".
119 * __ffs() return is undefined if no bit is set.
121 * 32-bit fast __ffs by LaMont Jones "lamont At hp com".
134 static __inline__ unsigned long __ffs(unsigned long x) function
174 return x ? (__ffs((unsigned long)x) + 1) : 0;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-i386/
H A Dbitops.h300 * __ffs - find first bit in word.
305 static inline unsigned long __ffs(unsigned long word) function
328 return __ffs(val) + x;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/mips/mm/
H A Dsc-mips.c96 c->scache.waybit = __ffs(c->scache.waysize);
H A Dsc-rm7k.c137 c->scache.waybit= __ffs(scache_size / c->scache.ways);
H A Dc-r4k.c716 c->icache.waybit = __ffs(icache_size/2);
721 c->dcache.waybit= __ffs(dcache_size/2);
807 c->icache.waybit = __ffs(icache_size/2);
812 c->dcache.waybit = __ffs(dcache_size/2);
841 c->icache.waybit = __ffs(icache_size / c->icache.ways);
846 c->dcache.waybit = __ffs(dcache_size / c->dcache.ways);
874 c->icache.waybit = __ffs(icache_size/c->icache.ways);
894 c->dcache.waybit = __ffs(dcache_size/c->dcache.ways);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-sparc/
H A Dbitops.h93 #include <asm-generic/bitops/__ffs.h>
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-sparc64/
H A Dbitops.h31 #include <asm-generic/bitops/__ffs.h>
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-i386/mach-numaq/
H A Dmach_apic.h93 int cpu = __ffs(logical_apicid & 0xf);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-alpha/
H A Dbitops.h279 * __ffs = Find First set bit in word. Undefined if no set bit exists.
281 static inline unsigned long __ffs(unsigned long word) function
303 * differs in spirit from the above __ffs.
308 int result = __ffs(word) + 1;
394 return __ffs(b0) + ofs;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-arm/
H A Dbitops.h236 #include <asm-generic/bitops/__ffs.h>
280 #define __ffs(x) (ffs(x) - 1) macro
281 #define ffz(x) __ffs( ~(x) )
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sh/drivers/dma/
H A Ddmabrg.c102 i = __ffs(dcr);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-sh/
H A Dbitops.h118 * __ffs - find first bit in word.
123 static inline unsigned long __ffs(unsigned long word) function
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-sh64/
H A Dbitops.h136 #include <asm-generic/bitops/__ffs.h>
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/ia64/mm/
H A Dhugetlbpage.c193 hpage_shift = __ffs(size);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/mips/dec/
H A Dtime.c177 CMOS_WRITE(RTC_REF_CLCK_32KHZ | (16 - __ffs(HZ)), RTC_REG_A);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-frv/
H A Dbitops.h245 * __ffs - find first bit set
252 int __ffs(unsigned long x) function
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-h8300/
H A Dbitops.h180 static __inline__ unsigned long __ffs(unsigned long word) function

Completed in 127 milliseconds

123