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

1234567891011>>

/linux-master/include/asm-generic/bitops/
H A Dsched.h17 return __ffs(b[0]);
18 return __ffs(b[1]) + 64;
21 return __ffs(b[0]);
23 return __ffs(b[1]) + 32;
25 return __ffs(b[2]) + 64;
26 return __ffs(b[3]) + 96;
H A Dbuiltin-__ffs.h6 * __ffs - find first bit in word.
11 static __always_inline unsigned long __ffs(unsigned long word) function
H A Dffz.h11 #define ffz(x) __ffs(~(x))
H A D__ffs.h45 #define __ffs(word) generic___ffs(word) macro
/linux-master/arch/openrisc/include/asm/bitops/
H A D__ffs.h14 static inline unsigned long __ffs(unsigned long x) function
26 #include <asm-generic/bitops/__ffs.h>
/linux-master/tools/include/asm-generic/bitops/
H A D__ffz.h10 #define ffz(x) __ffs(~(x))
H A D__ffs.h9 * __ffs - find first bit in word.
14 static __always_inline unsigned long __ffs(unsigned long word) function
/linux-master/include/linux/
H A Dcount_zeros.h50 return (x != 0) ? __ffs(x) : COUNT_TRAILING_ZEROS_0;
/linux-master/arch/mips/kvm/
H A Dinterrupt.c33 priority = __ffs(*pending_clr);
42 priority = __ffs(*pending);
/linux-master/drivers/gpu/drm/i915/gt/
H A Dintel_gt_ccs_mode.c15 int first_ccs = __ffs(CCS_MASK(gt));
/linux-master/lib/math/
H A Dgcd.c16 /* If __ffs is available, the even/odd algorithm benchmarks slower. */
30 b >>= __ffs(b);
35 a >>= __ffs(a);
39 return a << __ffs(r);
/linux-master/arch/arc/include/asm/
H A Dbitops.h100 * __ffs: Similar to ffs, but zero based (0-31)
102 static inline __attribute__ ((const)) unsigned long __ffs(unsigned long word) function
160 * __ffs: Similar to ffs, but zero based (0-31)
162 static inline __attribute__ ((const)) unsigned long __ffs(unsigned long x) function
183 #define ffz(x) __ffs(~(x))
/linux-master/arch/mips/loongson2ef/common/
H A Dirq.c29 i = __ffs(int_status);
/linux-master/tools/include/asm-generic/
H A Dbitops.h16 #include <asm-generic/bitops/__ffs.h>
/linux-master/tools/include/linux/
H A Dfind.h43 return val ? __ffs(val) : size;
73 return val ? __ffs(val) : size;
123 return val ? __ffs(val) : size;
148 return val ? __ffs(val) : size;
/linux-master/lib/
H A Dclz_ctz.c20 return __ffs(val);
/linux-master/drivers/pinctrl/aspeed/
H A Dpinmux-aspeed.c20 (rv & desc->mask) >> __ffs(desc->mask), rv);
58 return ((raw & desc->mask) >> __ffs(desc->mask)) == want;
/linux-master/arch/sparc/lib/
H A Dffs.S17 ENTRY(__ffs)
69 ENDPROC(__ffs)
70 EXPORT_SYMBOL(__ffs)
81 .word __ffs
/linux-master/sound/soc/intel/avs/
H A Dutils.h21 return __ffs(mach->mach_params.i2s_link_mask);
35 return tdms ? __ffs(tdms[port]) : 0;
/linux-master/arch/mips/mm/
H A Dsc-mips.c159 sets >>= __ffs(CM_GCR_L2_CONFIG_SET_SIZE);
164 line_sz >>= __ffs(CM_GCR_L2_CONFIG_LINE_SIZE);
169 assoc >>= __ffs(CM_GCR_L2_CONFIG_ASSOC);
172 c->scache.waybit = __ffs(c->scache.waysize);
248 c->scache.waybit = __ffs(c->scache.waysize);
/linux-master/drivers/clk/ti/
H A Ddpll3xxx.c56 v |= clken_bits << __ffs(dd->enable_mask);
71 state <<= __ffs(dd->idlest_mask);
148 state <<= __ffs(dd->idlest_mask);
336 v |= mantissa << __ffs(dd->ssc_modfreq_mant_mask);
337 v |= exponent << __ffs(dd->ssc_modfreq_exp_mask);
345 deltam_step <<= __ffs(dd->ssc_deltam_int_mask);
352 __ffs(dd->ssc_deltam_int_mask);
366 v |= deltam_step << __ffs(dd->ssc_deltam_int_mask |
401 v |= freqsel << __ffs(dd->freqsel_mask);
417 v |= dd->last_rounded_m << __ffs(d
[all...]
/linux-master/drivers/net/ipa/
H A Dreg.h96 return fmask ? fmask >> __ffs(fmask) : 0;
107 val <<= __ffs(fmask);
119 return fmask ? (val & fmask) >> __ffs(fmask) : 0;
/linux-master/include/asm-generic/
H A Dbitops.h18 #include <asm-generic/bitops/__ffs.h>
/linux-master/arch/arm64/include/asm/
H A Dbitops.h14 #include <asm-generic/bitops/builtin-__ffs.h>
/linux-master/arch/openrisc/include/asm/
H A Dbitops.h28 #include <asm/bitops/__ffs.h>

Completed in 252 milliseconds

1234567891011>>