Lines Matching refs:pre_div
246 if (f->pre_div) { in _freq_tbl_determine_rate()
250 rate *= f->pre_div + 1; in _freq_tbl_determine_rate()
324 cfg = f->pre_div << CFG_SRC_DIV_SHIFT; in __clk_rcg2_configure()
573 f.pre_div = hid_div; in clk_edp_pixel_set_rate()
574 f.pre_div >>= CFG_SRC_DIV_SHIFT; in clk_edp_pixel_set_rate()
575 f.pre_div &= mask; in clk_edp_pixel_set_rate()
681 f.pre_div = div; in clk_byte_set_rate()
740 f.pre_div = div; in clk_byte2_set_rate()
837 f.pre_div = hid_div; in clk_pixel_set_rate()
838 f.pre_div >>= CFG_SRC_DIV_SHIFT; in clk_pixel_set_rate()
839 f.pre_div &= mask; in clk_pixel_set_rate()
1170 f->pre_div = 1; in clk_rcg2_dfs_populate_freq()
1172 f->pre_div = cfg & mask; in clk_rcg2_dfs_populate_freq()
1203 f->freq = calc_rate(prate, f->m, f->n, mode, f->pre_div); in clk_rcg2_dfs_populate_freq()
1245 u32 level, mask, cfg, m = 0, n = 0, mode, pre_div; in clk_rcg2_dfs_recalc_rate() local
1266 pre_div = 1; in clk_rcg2_dfs_recalc_rate()
1268 pre_div = cfg & mask; in clk_rcg2_dfs_recalc_rate()
1285 return calc_rate(parent_rate, m, n, mode, pre_div); in clk_rcg2_dfs_recalc_rate()
1366 f.pre_div = hid_div; in clk_rcg2_dp_set_rate()
1367 f.pre_div >>= CFG_SRC_DIV_SHIFT; in clk_rcg2_dp_set_rate()
1368 f.pre_div &= mask; in clk_rcg2_dp_set_rate()