Lines Matching refs:rtbl
48 struct aux_rate_tbl *rtbl = aux->rtbl; in aux_calc_rate() local
49 u8 eq = rtbl[index].eq ? 1 : 2; in aux_calc_rate()
51 return (((prate / 10000) * rtbl[index].xscale) / in aux_calc_rate()
52 (rtbl[index].yscale * eq)) * 10000; in aux_calc_rate()
103 struct aux_rate_tbl *rtbl = aux->rtbl; in clk_aux_set_rate() local
115 val |= (rtbl[i].eq & aux->masks->eq_sel_mask) << in clk_aux_set_rate()
118 val |= (rtbl[i].xscale & aux->masks->xscale_sel_mask) << in clk_aux_set_rate()
121 val |= (rtbl[i].yscale & aux->masks->yscale_sel_mask) << in clk_aux_set_rate()
139 const struct aux_clk_masks *masks, struct aux_rate_tbl *rtbl, in clk_register_aux() argument
146 if (!aux_name || !parent_name || !reg || !rtbl || !rtbl_cnt) { in clk_register_aux()
162 aux->rtbl = rtbl; in clk_register_aux()