Lines Matching refs:dpll
581 u32 dpll = 0, dspcntr, pipeconf; in cdv_intel_crtc_mode_set() local
663 dpll = DPLL_VGA_MODE_DIS; in cdv_intel_crtc_mode_set()
667 dpll |= 3; in cdv_intel_crtc_mode_set()
680 dpll |= DPLL_SYNCLOCK_ENABLE; in cdv_intel_crtc_mode_set()
726 REG_WRITE(map->dpll, dpll | DPLL_VGA_MODE_DIS | DPLL_SYNCLOCK_ENABLE); in cdv_intel_crtc_mode_set()
727 REG_READ(map->dpll); in cdv_intel_crtc_mode_set()
762 dpll |= DPLL_VCO_ENABLE; in cdv_intel_crtc_mode_set()
771 REG_WRITE(map->dpll, in cdv_intel_crtc_mode_set()
772 (REG_READ(map->dpll) & ~DPLL_LOCK) | DPLL_VCO_ENABLE); in cdv_intel_crtc_mode_set()
773 REG_READ(map->dpll); in cdv_intel_crtc_mode_set()
777 if (!(REG_READ(map->dpll) & DPLL_LOCK)) { in cdv_intel_crtc_mode_set()
846 u32 dpll; in cdv_intel_crtc_clock_get() local
853 dpll = REG_READ(map->dpll); in cdv_intel_crtc_clock_get()
854 if ((dpll & DISPLAY_RATE_SELECT_FPA1) == 0) in cdv_intel_crtc_clock_get()
861 dpll = p->dpll; in cdv_intel_crtc_clock_get()
862 if ((dpll & DISPLAY_RATE_SELECT_FPA1) == 0) in cdv_intel_crtc_clock_get()
877 ffs((dpll & in cdv_intel_crtc_clock_get()
882 dev_err(dev->dev, "PLL %d\n", dpll); in cdv_intel_crtc_clock_get()
886 if ((dpll & PLL_REF_INPUT_MASK) == in cdv_intel_crtc_clock_get()
893 if (dpll & PLL_P1_DIVIDE_BY_TWO) in cdv_intel_crtc_clock_get()
897 ((dpll & in cdv_intel_crtc_clock_get()
901 if (dpll & PLL_P2_DIVIDE_BY_4) in cdv_intel_crtc_clock_get()