Searched refs:ftbl (Results 1 – 2 of 2) sorted by relevance
37 rate *= factor->ftbl[i].den; in clk_factor_round_rate()38 do_div(rate, factor->ftbl[i].num * factor->masks->factor); in clk_factor_round_rate()92 rate *= factor->ftbl[i].den; in clk_factor_set_rate()93 do_div(rate, factor->ftbl[i].num * factor->masks->factor); in clk_factor_set_rate()107 val |= (factor->ftbl[i].num & masks->num_mask) << masks->num_shift; in clk_factor_set_rate()110 val |= (factor->ftbl[i].den & masks->den_mask) << masks->den_shift; in clk_factor_set_rate()140 if (den == factor->ftbl[i].den && num == factor->ftbl[i].num) in clk_factor_init()145 val |= (factor->ftbl[0].num & masks->num_mask) << in clk_factor_init()149 val |= (factor->ftbl[0].den & masks->den_mask) << in clk_factor_init()174 struct mmp_clk_factor_tbl *ftbl, in mmp_clk_register_factor() argument[all …]
32 struct mmp_clk_factor_tbl *ftbl; member40 struct mmp_clk_factor_tbl *ftbl, unsigned int ftbl_cnt,