Lines Matching refs:dpll_hw_state

1589 	u32 dpll = pipe_config->dpll_hw_state.dpll;  in vlv_enable_pll()
1607 I915_WRITE(DPLL_MD(crtc->pipe), pipe_config->dpll_hw_state.dpll_md); in vlv_enable_pll()
1648 I915_WRITE(DPLL(pipe), pipe_config->dpll_hw_state.dpll); in chv_enable_pll()
1655 I915_WRITE(DPLL_MD(pipe), pipe_config->dpll_hw_state.dpll_md); in chv_enable_pll()
1678 u32 dpll = crtc->config->dpll_hw_state.dpll; in i9xx_enable_pll()
1710 crtc->config->dpll_hw_state.dpll_md); in i9xx_enable_pll()
4138 if (memcmp(&crtc_state->dpll_hw_state, in intel_get_shared_dpll()
4163 pll->new_config->hw_state = crtc_state->dpll_hw_state; in intel_get_shared_dpll()
5343 I915_WRITE(FP0(crtc->pipe), crtc->config->dpll_hw_state.fp0); in i9xx_set_pll_dividers()
5344 I915_WRITE(FP1(crtc->pipe), crtc->config->dpll_hw_state.fp1); in i9xx_set_pll_dividers()
6080 crtc_state->dpll_hw_state.fp0 = fp; in i9xx_update_pll_dividers()
6085 crtc_state->dpll_hw_state.fp1 = fp2; in i9xx_update_pll_dividers()
6088 crtc_state->dpll_hw_state.fp1 = fp; in i9xx_update_pll_dividers()
6209 pipe_config->dpll_hw_state.dpll = dpll; in vlv_update_pll()
6213 pipe_config->dpll_hw_state.dpll_md = dpll_md; in vlv_update_pll()
6310 pipe_config->dpll_hw_state.dpll = DPLL_SSC_REF_CLOCK_CHV | in chv_update_pll()
6314 pipe_config->dpll_hw_state.dpll |= DPLL_INTEGRATED_CRI_CLK_VLV; in chv_update_pll()
6316 pipe_config->dpll_hw_state.dpll_md = in chv_update_pll()
6347 pipe_config->dpll_hw_state.dpll & ~DPLL_VCO_ENABLE); in chv_prepare_pll()
6541 crtc_state->dpll_hw_state.dpll = dpll; in i9xx_update_pll()
6546 crtc_state->dpll_hw_state.dpll_md = dpll_md; in i9xx_update_pll()
6585 crtc_state->dpll_hw_state.dpll = dpll; in i8xx_update_pll()
6920 if (!(pipe_config->dpll_hw_state.dpll & DPLL_VCO_ENABLE)) in vlv_crtc_clock_get()
7087 pipe_config->dpll_hw_state.dpll_md = tmp; in i9xx_get_pipe_config()
7099 pipe_config->dpll_hw_state.dpll = I915_READ(DPLL(crtc->pipe)); in i9xx_get_pipe_config()
7107 pipe_config->dpll_hw_state.dpll &= ~DPLL_DVO_2X_MODE; in i9xx_get_pipe_config()
7109 pipe_config->dpll_hw_state.fp0 = I915_READ(FP0(crtc->pipe)); in i9xx_get_pipe_config()
7110 pipe_config->dpll_hw_state.fp1 = I915_READ(FP1(crtc->pipe)); in i9xx_get_pipe_config()
7113 pipe_config->dpll_hw_state.dpll &= ~(DPLL_LOCK_VLV | in i9xx_get_pipe_config()
7877 crtc_state->dpll_hw_state.dpll = dpll; in ironlake_crtc_compute_clock()
7878 crtc_state->dpll_hw_state.fp0 = fp; in ironlake_crtc_compute_clock()
7880 crtc_state->dpll_hw_state.fp1 = fp2; in ironlake_crtc_compute_clock()
7882 crtc_state->dpll_hw_state.fp1 = fp; in ironlake_crtc_compute_clock()
8232 &pipe_config->dpll_hw_state)); in ironlake_get_pipe_config()
8234 tmp = pipe_config->dpll_hw_state.dpll; in ironlake_get_pipe_config()
8501 pipe_config->dpll_hw_state.ctrl1 = dpll_ctl1 & 0x3f; in skylake_get_ddi_pll()
8553 &pipe_config->dpll_hw_state)); in haswell_get_ddi_port_state()
9207 u32 dpll = pipe_config->dpll_hw_state.dpll; in i9xx_pll_refclk()
9226 u32 dpll = pipe_config->dpll_hw_state.dpll; in i9xx_crtc_clock_get()
9232 fp = pipe_config->dpll_hw_state.fp0; in i9xx_crtc_clock_get()
9234 fp = pipe_config->dpll_hw_state.fp1; in i9xx_crtc_clock_get()
9374 pipe_config.dpll_hw_state.dpll = I915_READ(DPLL(pipe)); in intel_crtc_mode_get()
9375 pipe_config.dpll_hw_state.fp0 = I915_READ(FP0(pipe)); in intel_crtc_mode_get()
9376 pipe_config.dpll_hw_state.fp1 = I915_READ(FP1(pipe)); in intel_crtc_mode_get()
11107 PIPE_CONF_CHECK_X(dpll_hw_state.dpll); in intel_pipe_config_compare()
11108 PIPE_CONF_CHECK_X(dpll_hw_state.dpll_md); in intel_pipe_config_compare()
11109 PIPE_CONF_CHECK_X(dpll_hw_state.fp0); in intel_pipe_config_compare()
11110 PIPE_CONF_CHECK_X(dpll_hw_state.fp1); in intel_pipe_config_compare()
11111 PIPE_CONF_CHECK_X(dpll_hw_state.wrpll); in intel_pipe_config_compare()
11112 PIPE_CONF_CHECK_X(dpll_hw_state.ctrl1); in intel_pipe_config_compare()
11113 PIPE_CONF_CHECK_X(dpll_hw_state.cfgcr1); in intel_pipe_config_compare()
11114 PIPE_CONF_CHECK_X(dpll_hw_state.cfgcr2); in intel_pipe_config_compare()
11326 struct intel_dpll_hw_state dpll_hw_state; in check_shared_dpll_state() local
11334 memset(&dpll_hw_state, 0, sizeof(dpll_hw_state)); in check_shared_dpll_state()
11338 active = pll->get_hw_state(dev_priv, pll, &dpll_hw_state); in check_shared_dpll_state()
11364 I915_STATE_WARN(pll->on && memcmp(&pll->config.hw_state, &dpll_hw_state, in check_shared_dpll_state()
11365 sizeof(dpll_hw_state)), in check_shared_dpll_state()