Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/clk/mmp/
Dclk-frac.c34 rate *= factor->ftbl[i].den; in clk_factor_round_rate()
35 do_div(rate, factor->ftbl[i].num * factor->masks->factor); in clk_factor_round_rate()
89 rate *= factor->ftbl[i].den; in clk_factor_set_rate()
90 do_div(rate, factor->ftbl[i].num * factor->masks->factor); in clk_factor_set_rate()
104 val |= (factor->ftbl[i].num & masks->num_mask) << masks->num_shift; in clk_factor_set_rate()
107 val |= (factor->ftbl[i].den & masks->den_mask) << masks->den_shift; in clk_factor_set_rate()
137 if (den == factor->ftbl[i].den && num == factor->ftbl[i].num) in clk_factor_init()
142 val |= (factor->ftbl[0].num & masks->num_mask) << in clk_factor_init()
146 val |= (factor->ftbl[0].den & masks->den_mask) << in clk_factor_init()
171 struct mmp_clk_factor_tbl *ftbl, in mmp_clk_register_factor() argument
[all …]
Dclk.h32 struct mmp_clk_factor_tbl *ftbl; member
40 struct mmp_clk_factor_tbl *ftbl, unsigned int ftbl_cnt,