/linux-4.19.296/include/asm-generic/bitops/ |
D | sched.h | 17 return __ffs(b[0]); in sched_find_first_bit() 18 return __ffs(b[1]) + 64; in sched_find_first_bit() 21 return __ffs(b[0]); in sched_find_first_bit() 23 return __ffs(b[1]) + 32; in sched_find_first_bit() 25 return __ffs(b[2]) + 64; in sched_find_first_bit() 26 return __ffs(b[3]) + 96; in sched_find_first_bit()
|
D | ffz.h | 11 #define ffz(x) __ffs(~(x))
|
D | builtin-__ffs.h | 11 static __always_inline unsigned long __ffs(unsigned long word) in __ffs() function
|
D | __ffs.h | 13 static __always_inline unsigned long __ffs(unsigned long word) in __ffs() function
|
/linux-4.19.296/drivers/clk/ti/ |
D | apll.c | 55 state <<= __ffs(ad->idlest_mask); in dra7_apll_enable() 65 v |= APLL_FORCE_LOCK << __ffs(ad->enable_mask); in dra7_apll_enable() 68 state <<= __ffs(ad->idlest_mask); in dra7_apll_enable() 100 state <<= __ffs(ad->idlest_mask); in dra7_apll_disable() 104 v |= APLL_AUTO_IDLE << __ffs(ad->enable_mask); in dra7_apll_disable() 119 v >>= __ffs(ad->enable_mask); in dra7_apll_is_enabled() 249 v >>= __ffs(ad->enable_mask); in omap2_apll_is_enabled() 274 v |= OMAP2_EN_APLL_LOCKED << __ffs(ad->enable_mask); in omap2_apll_enable() 304 v |= OMAP2_EN_APLL_STOPPED << __ffs(ad->enable_mask); in omap2_apll_disable() 322 v |= val << __ffs(ad->autoidle_mask); in omap2_apll_set_autoidle()
|
D | dpll3xxx.c | 59 v |= clken_bits << __ffs(dd->enable_mask); in _omap3_dpll_write_clken() 74 state <<= __ffs(dd->idlest_mask); in _omap3_wait_dpll_status() 151 state <<= __ffs(dd->idlest_mask); in _omap3_noncore_dpll_lock() 322 v |= freqsel << __ffs(dd->freqsel_mask); in omap3_noncore_dpll_program() 338 v |= dd->last_rounded_m << __ffs(dd->mult_mask); in omap3_noncore_dpll_program() 339 v |= (dd->last_rounded_n - 1) << __ffs(dd->div1_mask); in omap3_noncore_dpll_program() 345 v |= dco << __ffs(dd->dco_mask); in omap3_noncore_dpll_program() 351 v |= sd_div << __ffs(dd->sddiv_mask); in omap3_noncore_dpll_program() 660 v >>= __ffs(dd->autoidle_mask); in omap3_dpll_autoidle_read() 694 v |= DPLL_AUTOIDLE_LOW_POWER_STOP << __ffs(dd->autoidle_mask); in omap3_dpll_allow_idle() [all …]
|
D | clkt_dpll.c | 196 val = __ffs(mask); in _omap2_dpll_is_in_bypass() 218 v >>= __ffs(dd->enable_mask); in omap2_init_dpll_parent() 254 v >>= __ffs(dd->enable_mask); in omap2_get_dpll_rate() 261 dpll_mult >>= __ffs(dd->mult_mask); in omap2_get_dpll_rate() 263 dpll_div >>= __ffs(dd->div1_mask); in omap2_get_dpll_rate()
|
/linux-4.19.296/lib/ |
D | gcd.c | 29 b >>= __ffs(b); in gcd() 34 a >>= __ffs(a); in gcd() 38 return a << __ffs(r); in gcd()
|
D | find_bit.c | 63 return min(start + __ffs(tmp), nbits); in _find_next_bit() 108 return min(idx * BITS_PER_LONG + __ffs(addr[idx]), size); in find_first_bit() 186 return min(start + __ffs(swab(tmp)), nbits); in _find_next_bit_le()
|
D | clz_ctz.c | 22 return __ffs(val); in __ctzsi2()
|
/linux-4.19.296/drivers/gpio/ |
D | gpio-lp87565.c | 123 __ffs(LP87565_GOIO1_OD)), in lp87565_gpio_set_config() 125 __ffs(LP87565_GOIO1_OD))); in lp87565_gpio_set_config() 130 __ffs(LP87565_GOIO1_OD)), 0); in lp87565_gpio_set_config()
|
/linux-4.19.296/drivers/regulator/ |
D | lp873x-regulator.c | 100 reg << __ffs(LP873X_BUCK0_CTRL_2_BUCK0_SLEW_RATE)); in lp873x_buck_set_ramp_delay() 124 i << __ffs(LP873X_BUCK0_CTRL_2_BUCK0_ILIM)); in lp873x_buck_set_current_limit() 142 __ffs(LP873X_BUCK0_CTRL_2_BUCK0_ILIM); in lp873x_buck_get_current_limit()
|
D | lp87565-regulator.c | 90 reg << __ffs(LP87565_BUCK_CTRL_2_SLEW_RATE)); in lp87565_buck_set_ramp_delay() 118 i << __ffs(LP87565_BUCK_CTRL_2_ILIM)); in lp87565_buck_set_current_limit() 136 __ffs(LP87565_BUCK_CTRL_2_ILIM); in lp87565_buck_get_current_limit()
|
D | ti-abb-regulator.c | 135 val |= (value << __ffs(mask)) & mask; in ti_abb_rmw() 232 val |= info->vset << __ffs(abb->ldovbb_vset_mask); in ti_abb_program_ldovbb() 609 info->vset = (efuse_val & vset_mask) >> __ffs(vset_mask); in ti_abb_init_table()
|
/linux-4.19.296/drivers/media/v4l2-core/ |
D | v4l2-common.c | 336 walign = __ffs(*w); in v4l_bound_align_image() 337 halign = __ffs(*h); in v4l_bound_align_image() 350 walign = __ffs(*w); in v4l_bound_align_image() 353 halign = __ffs(*h); in v4l_bound_align_image()
|
/linux-4.19.296/include/linux/ |
D | count_zeros.h | 54 return (x != 0) ? __ffs(x) : COUNT_TRAILING_ZEROS_0; in count_trailing_zeros()
|
D | bitops.h | 206 return __ffs((u32)(word >> 32)) + 32; in __ffs64() 210 return __ffs((unsigned long)word); in __ffs64()
|
/linux-4.19.296/drivers/iio/buffer/ |
D | industrialio-buffer-dmaengine.c | 166 src_width = __ffs(caps.src_addr_widths); in iio_dmaengine_buffer_alloc() 170 dest_width = __ffs(caps.dst_addr_widths); in iio_dmaengine_buffer_alloc()
|
/linux-4.19.296/drivers/irqchip/ |
D | irq-lpc32xx.c | 133 irq = __ffs(hwirq); in lpc32xx_handle_irq() 148 irq = __ffs(hwirq); in lpc32xx_sic_handler()
|
D | irq-ompic.c | 137 ipi_msg = __ffs(ops); in ompic_ipi_handler()
|
D | irq-ts4800.c | 81 unsigned int bit = __ffs(status); in ts4800_ic_chained_handle_irq()
|
D | irq-ath79-misc.c | 45 int bit = __ffs(pending); in ath79_misc_irq_handler()
|
/linux-4.19.296/drivers/iio/imu/st_lsm6dsx/ |
D | st_lsm6dsx.h | 37 #define ST_LSM6DSX_SHIFT_VAL(val, mask) (((val) << __ffs(mask)) & (mask))
|
/linux-4.19.296/drivers/bus/ |
D | omap_l3_noc.c | 122 l3->mst_addr_mask) >> __ffs(l3->mst_addr_mask); in l3_handle_target() 195 err_src = __ffs(err_reg); in l3_interrupt_handler()
|
/linux-4.19.296/lib/lz4/ |
D | lz4defs.h | 171 return __ffs(val) >> 3; in LZ4_NbCommonBytes()
|