Home
last modified time | relevance | path

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

/drivers/clk/mmp/
Dclk-frac.c36 rate = (((*prate / 10000) * factor->ftbl[i].den) / in clk_factor_round_rate()
37 (factor->ftbl[i].num * factor->masks->factor)) * 10000; in clk_factor_round_rate()
86 rate = (((prate / 10000) * factor->ftbl[i].den) / in clk_factor_set_rate()
87 (factor->ftbl[i].num * factor->masks->factor)) * 10000; in clk_factor_set_rate()
100 val |= (factor->ftbl[i].num & masks->num_mask) << masks->num_shift; in clk_factor_set_rate()
103 val |= (factor->ftbl[i].den & masks->den_mask) << masks->den_shift; in clk_factor_set_rate()
133 if (den == factor->ftbl[i].den && num == factor->ftbl[i].num) in clk_factor_init()
138 val |= (factor->ftbl[0].num & masks->num_mask) << in clk_factor_init()
142 val |= (factor->ftbl[0].den & masks->den_mask) << in clk_factor_init()
162 struct mmp_clk_factor_tbl *ftbl, in mmp_clk_register_factor() argument
[all …]
Dclk.h29 struct mmp_clk_factor_tbl *ftbl; member
37 struct mmp_clk_factor_tbl *ftbl, unsigned int ftbl_cnt,