Home
last modified time | relevance | path

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

/linux/drivers/clk/meson/
H A Dsclk-div.c115 unsigned int hi = DIV_ROUND_CLOSEST(sclk->cached_div * in sclk_apply_ratio()
154 duty->den = sclk->cached_div; in sclk_div_get_duty_cycle()
164 meson_parm_write(clk->map, &sclk->div, sclk->cached_div - 1); in sclk_apply_divider()
174 sclk->cached_div = sclk_div_getdiv(hw, rate, prate, maxdiv); in sclk_div_set_rate()
188 return DIV_ROUND_UP_ULL((u64)prate, sclk->cached_div); in sclk_div_recalc_rate()
230 sclk->cached_div = sclk_div_maxdiv(sclk); in sclk_div_init()
232 sclk->cached_div = val + 1; in sclk_div_init()
H A Dsclk-div.h16 unsigned int cached_div; member