Home
last modified time | relevance | path

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

/openbmc/linux/drivers/clk/sunxi-ng/
H A Dccu_nkmp.c39 for (_k = nkmp->min_k; _k <= nkmp->max_k; _k++) { in ccu_nkmp_find_best()
40 for (_n = nkmp->min_n; _n <= nkmp->max_n; _n++) { in ccu_nkmp_find_best()
41 for (_m = nkmp->min_m; _m <= nkmp->max_m; _m++) { in ccu_nkmp_find_best()
100 reg = readl(nkmp->common.base + nkmp->common.reg); in ccu_nkmp_recalc_rate()
139 if (nkmp->max_rate && rate > nkmp->max_rate) { in ccu_nkmp_round_rate()
147 _nkmp.max_n = nkmp->n.max ?: 1 << nkmp->n.width; in ccu_nkmp_round_rate()
149 _nkmp.max_k = nkmp->k.max ?: 1 << nkmp->k.width; in ccu_nkmp_round_rate()
151 _nkmp.max_m = nkmp->m.max ?: 1 << nkmp->m.width; in ccu_nkmp_round_rate()
176 _nkmp.max_n = nkmp->n.max ?: 1 << nkmp->n.width; in ccu_nkmp_set_rate()
178 _nkmp.max_k = nkmp->k.max ?: 1 << nkmp->k.width; in ccu_nkmp_set_rate()
[all …]