Lines Matching refs:n_vco
218 u32 m, n_vco, p; in cdv_dpll_set_clock_cdv() local
277 ret = cdv_sb_read(dev, SB_N_VCO(pipe), &n_vco); in cdv_dpll_set_clock_cdv()
282 n_vco &= 0xFFFF; in cdv_dpll_set_clock_cdv()
283 n_vco |= 0x107; in cdv_dpll_set_clock_cdv()
284 n_vco &= ~(SB_N_VCO_SEL_MASK | in cdv_dpll_set_clock_cdv()
288 n_vco |= ((clock->n) << SB_N_DIVIDER_SHIFT); in cdv_dpll_set_clock_cdv()
291 n_vco |= (2 << SB_N_CB_TUNE_SHIFT); in cdv_dpll_set_clock_cdv()
292 n_vco |= (0 << SB_N_VCO_SEL_SHIFT); in cdv_dpll_set_clock_cdv()
294 n_vco |= (1 << SB_N_CB_TUNE_SHIFT); in cdv_dpll_set_clock_cdv()
295 n_vco |= (1 << SB_N_VCO_SEL_SHIFT); in cdv_dpll_set_clock_cdv()
297 n_vco |= (0 << SB_N_CB_TUNE_SHIFT); in cdv_dpll_set_clock_cdv()
298 n_vco |= (2 << SB_N_VCO_SEL_SHIFT); in cdv_dpll_set_clock_cdv()
300 n_vco |= (0 << SB_N_CB_TUNE_SHIFT); in cdv_dpll_set_clock_cdv()
301 n_vco |= (3 << SB_N_VCO_SEL_SHIFT); in cdv_dpll_set_clock_cdv()
304 ret = cdv_sb_write(dev, SB_N_VCO(pipe), n_vco); in cdv_dpll_set_clock_cdv()