Lines Matching refs:n_vco
217 u32 m, n_vco, p; in cdv_dpll_set_clock_cdv() local
276 ret = cdv_sb_read(dev, SB_N_VCO(pipe), &n_vco); in cdv_dpll_set_clock_cdv()
281 n_vco &= 0xFFFF; in cdv_dpll_set_clock_cdv()
282 n_vco |= 0x107; in cdv_dpll_set_clock_cdv()
283 n_vco &= ~(SB_N_VCO_SEL_MASK | in cdv_dpll_set_clock_cdv()
287 n_vco |= ((clock->n) << SB_N_DIVIDER_SHIFT); in cdv_dpll_set_clock_cdv()
290 n_vco |= (2 << SB_N_CB_TUNE_SHIFT); in cdv_dpll_set_clock_cdv()
291 n_vco |= (0 << SB_N_VCO_SEL_SHIFT); in cdv_dpll_set_clock_cdv()
293 n_vco |= (1 << SB_N_CB_TUNE_SHIFT); in cdv_dpll_set_clock_cdv()
294 n_vco |= (1 << SB_N_VCO_SEL_SHIFT); in cdv_dpll_set_clock_cdv()
296 n_vco |= (0 << SB_N_CB_TUNE_SHIFT); in cdv_dpll_set_clock_cdv()
297 n_vco |= (2 << SB_N_VCO_SEL_SHIFT); in cdv_dpll_set_clock_cdv()
299 n_vco |= (0 << SB_N_CB_TUNE_SHIFT); in cdv_dpll_set_clock_cdv()
300 n_vco |= (3 << SB_N_VCO_SEL_SHIFT); in cdv_dpll_set_clock_cdv()
303 ret = cdv_sb_write(dev, SB_N_VCO(pipe), n_vco); in cdv_dpll_set_clock_cdv()