Lines Matching refs:__ffs

56 	v |= clken_bits << __ffs(dd->enable_mask);  in _omap3_dpll_write_clken()
71 state <<= __ffs(dd->idlest_mask); in _omap3_wait_dpll_status()
148 state <<= __ffs(dd->idlest_mask); in _omap3_noncore_dpll_lock()
336 v |= mantissa << __ffs(dd->ssc_modfreq_mant_mask); in omap3_noncore_dpll_ssc_program()
337 v |= exponent << __ffs(dd->ssc_modfreq_exp_mask); in omap3_noncore_dpll_ssc_program()
345 deltam_step <<= __ffs(dd->ssc_deltam_int_mask); in omap3_noncore_dpll_ssc_program()
352 __ffs(dd->ssc_deltam_int_mask); in omap3_noncore_dpll_ssc_program()
366 v |= deltam_step << __ffs(dd->ssc_deltam_int_mask | in omap3_noncore_dpll_ssc_program()
401 v |= freqsel << __ffs(dd->freqsel_mask); in omap3_noncore_dpll_program()
417 v |= dd->last_rounded_m << __ffs(dd->mult_mask); in omap3_noncore_dpll_program()
418 v |= (dd->last_rounded_n - 1) << __ffs(dd->div1_mask); in omap3_noncore_dpll_program()
424 v |= dco << __ffs(dd->dco_mask); in omap3_noncore_dpll_program()
430 v |= sd_div << __ffs(dd->sddiv_mask); in omap3_noncore_dpll_program()
743 v >>= __ffs(dd->autoidle_mask); in omap3_dpll_autoidle_read()
777 v |= DPLL_AUTOIDLE_LOW_POWER_STOP << __ffs(dd->autoidle_mask); in omap3_dpll_allow_idle()
802 v |= DPLL_AUTOIDLE_DISABLE << __ffs(dd->autoidle_mask); in omap3_dpll_deny_idle()
861 v >>= __ffs(dd->enable_mask); in omap3_clkoutx2_recalc()
885 clk->context = (v & dd->enable_mask) >> __ffs(dd->enable_mask); in omap3_core_dpll_save_context()
890 __ffs(dd->mult_mask); in omap3_core_dpll_save_context()
892 __ffs(dd->div1_mask)) + 1; in omap3_core_dpll_save_context()
919 v |= dd->last_rounded_m << __ffs(dd->mult_mask); in omap3_core_dpll_restore_context()
920 v |= (dd->last_rounded_n - 1) << __ffs(dd->div1_mask); in omap3_core_dpll_restore_context()
946 clk->context = (v & dd->enable_mask) >> __ffs(dd->enable_mask); in omap3_noncore_dpll_save_context()
951 __ffs(dd->mult_mask); in omap3_noncore_dpll_save_context()
953 __ffs(dd->div1_mask)) + 1; in omap3_noncore_dpll_save_context()
978 __ffs(dd->enable_mask)) && in omap3_noncore_dpll_restore_context()
980 __ffs(dd->mult_mask)) && in omap3_noncore_dpll_restore_context()
982 __ffs(dd->div1_mask)) + 1) { in omap3_noncore_dpll_restore_context()