/linux-master/arch/csky/include/asm/ |
H A D | bitops.h | 27 * asm-generic/bitops/__ffs.h 29 static __always_inline unsigned long __ffs(unsigned long x) function
|
/linux-master/arch/loongarch/include/asm/ |
H A D | bitops.h | 18 #include <asm-generic/bitops/builtin-__ffs.h>
|
/linux-master/drivers/firmware/efi/libstub/ |
H A D | find.c | 29 sz = min(idx * BITS_PER_LONG + __ffs(MUNGE(tmp)), sz); \
|
/linux-master/drivers/gpu/drm/imagination/ |
H A D | pvr_mmu.h | 88 #define PVR_PAGE_TABLE_ADDR_BITS __ffs(PVR_PAGE_TABLE_ADDR_SPACE_SIZE)
|
/linux-master/tools/lib/ |
H A D | find_bit.c | 34 sz = min(idx * BITS_PER_LONG + __ffs(MUNGE(val)), sz); \ 65 sz = min(idx * BITS_PER_LONG + __ffs(MUNGE(tmp)), sz); \
|
/linux-master/arch/arm/mach-omap2/ |
H A D | prm33xx.c | 192 am33xx_prm_rmw_reg_bits(m, (pwrst << __ffs(m)), 219 v >>= __ffs(m); 233 am33xx_prm_rmw_reg_bits(m, (pwrst << __ffs(m)), 248 am33xx_prm_rmw_reg_bits(m, (pwrst << __ffs(m)), 264 v >>= __ffs(m); 279 v >>= __ffs(m);
|
H A D | prm2xxx_3xxx.c | 118 omap2_prm_rmw_mod_reg_bits(m, (pwrst << __ffs(m)), pwrdm->prcm_offs, 131 omap2_prm_rmw_mod_reg_bits(m, (pwrst << __ffs(m)), pwrdm->prcm_offs, 161 v = pwrst << __ffs(OMAP_LOGICRETSTATE_MASK);
|
H A D | clkt2xxx_dpllcore.c | 155 tmpset.cm_clksel1_pll |= (div << __ffs(dd->mult_mask)); 156 tmpset.cm_clksel1_pll |= (mult << __ffs(dd->div1_mask));
|
H A D | cm2xxx_3xxx.h | 81 v >>= __ffs(mask);
|
H A D | vp.c | 25 vpconfig |= vsel << __ffs(vp->common->vpconfig_initvoltage_mask); 77 __ffs(voltdm->vp->common->vpconfig_erroroffset_mask)) | 114 __ffs(voltdm->vp->common->vpconfig_errorgain_mask),
|
/linux-master/drivers/clk/ti/ |
H A D | apll.c | 47 state <<= __ffs(ad->idlest_mask); 57 v |= APLL_FORCE_LOCK << __ffs(ad->enable_mask); 60 state <<= __ffs(ad->idlest_mask); 92 state <<= __ffs(ad->idlest_mask); 96 v |= APLL_AUTO_IDLE << __ffs(ad->enable_mask); 111 v >>= __ffs(ad->enable_mask); 244 v >>= __ffs(ad->enable_mask); 269 v |= OMAP2_EN_APLL_LOCKED << __ffs(ad->enable_mask); 299 v |= OMAP2_EN_APLL_STOPPED << __ffs(ad->enable_mask); 317 v |= val << __ffs(a [all...] |
H A D | clkt_dpll.c | 193 val = __ffs(mask); 215 v >>= __ffs(dd->enable_mask); 251 v >>= __ffs(dd->enable_mask); 258 dpll_mult >>= __ffs(dd->mult_mask); 260 dpll_div >>= __ffs(dd->div1_mask);
|
/linux-master/drivers/gpio/ |
H A D | gpio-lp87565.c | 118 __ffs(LP87565_GPIO1_OD)), 120 __ffs(LP87565_GPIO1_OD))); 125 __ffs(LP87565_GPIO1_OD)), 0);
|
/linux-master/arch/loongarch/kvm/ |
H A D | interrupt.c | 90 priority = __ffs(*pending_clr); 100 priority = __ffs(*pending); 178 code = __ffs(*pending);
|
/linux-master/drivers/hwtracing/intel_th/ |
H A D | pti.c | 155 ctl |= pti->patgen << __ffs(PTI_PATGENMODE); 158 ctl |= pti->mode << __ffs(PTI_MODE); 159 ctl |= pti->clkdiv << __ffs(PTI_CLKDIV); 160 ctl |= pti->lpp_dest << __ffs(LPP_DEST); 182 pti->mode = (ctl & PTI_MODE) >> __ffs(PTI_MODE); 183 pti->clkdiv = (ctl & PTI_CLKDIV) >> __ffs(PTI_CLKDIV);
|
/linux-master/arch/parisc/include/asm/ |
H A D | bitops.h | 108 * __ffs - find first bit in word. returns 0 to "BITS_PER_LONG-1". 111 * __ffs() return is undefined if no bit is set. 113 * 32-bit fast __ffs by LaMont Jones "lamont At hp com". 126 static __inline__ unsigned long __ffs(unsigned long x) function 166 return x ? (__ffs((unsigned long)x) + 1) : 0;
|
/linux-master/arch/sh/include/asm/ |
H A D | bitops.h | 42 * __ffs - find first bit in word. 47 static inline unsigned long __ffs(unsigned long word) function
|
/linux-master/arch/sparc/include/asm/ |
H A D | bitops_64.h | 36 unsigned long __ffs(unsigned long);
|
H A D | bitops_32.h | 95 #include <asm-generic/bitops/__ffs.h>
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/ltc/ |
H A D | gp100.c | 34 u32 s, c = __ffs(mask);
|
/linux-master/lib/crypto/ |
H A D | utils.c | 27 relalign = d ? 1 << __ffs(d) : size;
|
/linux-master/include/linux/ |
H A D | find.h | 64 return val ? __ffs(val) : size; 94 return val ? __ffs(val) : size; 125 return val ? __ffs(val) : size; 155 return val ? __ffs(val) : size; 205 return val ? __ffs(val) : size; 341 return val ? __ffs(val) : size; 547 return val ? __ffs(val) : size;
|
/linux-master/drivers/net/wireless/realtek/rtw88/ |
H A D | hci.h | 190 u32 shift = __ffs(mask); 203 u32 shift = __ffs(mask); 216 u32 shift = __ffs(mask); 229 u32 shift = __ffs(mask); 247 shift = __ffs(mask);
|
/linux-master/arch/xtensa/include/asm/ |
H A D | bitops.h | 46 * __ffs: Find first bit set in word. Return 0 for bit 0 49 static inline unsigned long __ffs(unsigned long x) function 90 # include <asm-generic/bitops/__ffs.h>
|
/linux-master/drivers/net/ethernet/microchip/lan966x/ |
H A D | lan966x_lag.c | 109 lag_id = __ffs(bond_mask); 137 lag_id = __ffs(bond_mask); 176 lag_id = __ffs(bond_mask); 343 if (bond_mask && port->chip_port == __ffs(bond_mask))
|