Home
last modified time | relevance | path

Searched refs:max_k (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/sound/soc/codecs/
H A Drl6231.c145 int k_t, min_k, max_k, n = 0, m = 0, m_t = 0; in rl6231_pll_calc() local
168 max_k = 150000000 / freq_out - 2; in rl6231_pll_calc()
169 if (max_k > RL6231_PLL_K_MAX) in rl6231_pll_calc()
170 max_k = RL6231_PLL_K_MAX; in rl6231_pll_calc()
172 min_k = max_k = RL6231_PLL_K_MAX; in rl6231_pll_calc()
181 for (k_t = min_k; k_t <= max_k; k_t++) { in rl6231_pll_calc()
/openbmc/linux/drivers/clk/sunxi-ng/
H A Dccu_nk.c15 unsigned long k, min_k, max_k; member
25 for (_k = nk->min_k; _k <= nk->max_k; _k++) { in ccu_nk_find_best()
107 _nk.max_k = nk->k.max ?: 1 << nk->k.width; in ccu_nk_round_rate()
131 _nk.max_k = nk->k.max ?: 1 << nk->k.width; in ccu_nk_set_rate()
H A Dccu_nkm.c15 unsigned long k, min_k, max_k; member
28 for (_k = nkm->min_k; _k <= nkm->max_k; _k++) { in ccu_nkm_find_best_with_parent_adj()
65 for (_k = nkm->min_k; _k <= nkm->max_k; _k++) { in ccu_nkm_find_best()
157 _nkm.max_k = nkm->k.max ?: 1 << nkm->k.width; in ccu_nkm_round_rate()
199 _nkm.max_k = nkm->k.max ?: 1 << nkm->k.width; in ccu_nkm_set_rate()
H A Dccu_nkmp.c15 unsigned long k, min_k, max_k; member
39 for (_k = nkmp->min_k; _k <= nkmp->max_k; _k++) { in ccu_nkmp_find_best()
149 _nkmp.max_k = nkmp->k.max ?: 1 << nkmp->k.width; in ccu_nkmp_round_rate()
178 _nkmp.max_k = nkmp->k.max ?: 1 << nkmp->k.width; in ccu_nkmp_set_rate()