Lines Matching refs:dpll_hw_state

1604 	u32 dpll = pipe_config->dpll_hw_state.dpll;  in vlv_enable_pll()
1622 I915_WRITE(DPLL_MD(crtc->pipe), pipe_config->dpll_hw_state.dpll_md); in vlv_enable_pll()
1665 I915_WRITE(DPLL(pipe), pipe_config->dpll_hw_state.dpll); in chv_enable_pll()
1672 I915_WRITE(DPLL_MD(pipe), pipe_config->dpll_hw_state.dpll_md); in chv_enable_pll()
1693 u32 dpll = crtc->config->dpll_hw_state.dpll; in i9xx_enable_pll()
1732 crtc->config->dpll_hw_state.dpll_md); in i9xx_enable_pll()
4303 if (memcmp(&crtc_state->dpll_hw_state, in intel_get_shared_dpll()
4305 sizeof(crtc_state->dpll_hw_state)) == 0) { in intel_get_shared_dpll()
4329 crtc_state->dpll_hw_state; in intel_get_shared_dpll()
6203 I915_WRITE(FP0(crtc->pipe), crtc->config->dpll_hw_state.fp0); in i9xx_set_pll_dividers()
6204 I915_WRITE(FP1(crtc->pipe), crtc->config->dpll_hw_state.fp1); in i9xx_set_pll_dividers()
7189 crtc_state->dpll_hw_state.fp0 = fp; in i9xx_update_pll_dividers()
7194 crtc_state->dpll_hw_state.fp1 = fp2; in i9xx_update_pll_dividers()
7197 crtc_state->dpll_hw_state.fp1 = fp; in i9xx_update_pll_dividers()
7318 pipe_config->dpll_hw_state.dpll = dpll; in vlv_compute_dpll()
7322 pipe_config->dpll_hw_state.dpll_md = dpll_md; in vlv_compute_dpll()
7419 pipe_config->dpll_hw_state.dpll = DPLL_SSC_REF_CLK_CHV | in chv_compute_dpll()
7423 pipe_config->dpll_hw_state.dpll |= DPLL_INTEGRATED_CRI_CLK_VLV; in chv_compute_dpll()
7425 pipe_config->dpll_hw_state.dpll_md = in chv_compute_dpll()
7456 pipe_config->dpll_hw_state.dpll & ~DPLL_VCO_ENABLE); in chv_prepare_pll()
7649 crtc_state->dpll_hw_state.dpll = dpll; in i9xx_compute_dpll()
7654 crtc_state->dpll_hw_state.dpll_md = dpll_md; in i9xx_compute_dpll()
7693 crtc_state->dpll_hw_state.dpll = dpll; in i8xx_compute_dpll()
7909 memset(&crtc_state->dpll_hw_state, 0, in i9xx_crtc_compute_clock()
7910 sizeof(crtc_state->dpll_hw_state)); in i9xx_crtc_compute_clock()
8014 if (!(pipe_config->dpll_hw_state.dpll & DPLL_VCO_ENABLE)) in vlv_crtc_clock_get()
8178 pipe_config->dpll_hw_state.dpll_md = tmp; in i9xx_get_pipe_config()
8190 pipe_config->dpll_hw_state.dpll = I915_READ(DPLL(crtc->pipe)); in i9xx_get_pipe_config()
8198 pipe_config->dpll_hw_state.dpll &= ~DPLL_DVO_2X_MODE; in i9xx_get_pipe_config()
8200 pipe_config->dpll_hw_state.fp0 = I915_READ(FP0(crtc->pipe)); in i9xx_get_pipe_config()
8201 pipe_config->dpll_hw_state.fp1 = I915_READ(FP1(crtc->pipe)); in i9xx_get_pipe_config()
8204 pipe_config->dpll_hw_state.dpll &= ~(DPLL_LOCK_VLV | in i9xx_get_pipe_config()
8921 memset(&crtc_state->dpll_hw_state, 0, in ironlake_crtc_compute_clock()
8922 sizeof(crtc_state->dpll_hw_state)); in ironlake_crtc_compute_clock()
8954 crtc_state->dpll_hw_state.dpll = dpll; in ironlake_crtc_compute_clock()
8955 crtc_state->dpll_hw_state.fp0 = fp; in ironlake_crtc_compute_clock()
8957 crtc_state->dpll_hw_state.fp1 = fp2; in ironlake_crtc_compute_clock()
8959 crtc_state->dpll_hw_state.fp1 = fp; in ironlake_crtc_compute_clock()
9323 &pipe_config->dpll_hw_state)); in ironlake_get_pipe_config()
9325 tmp = pipe_config->dpll_hw_state.dpll; in ironlake_get_pipe_config()
9771 pipe_config->dpll_hw_state.ctrl1 = dpll_ctl1 & 0x3f; in skylake_get_ddi_pll()
9827 &pipe_config->dpll_hw_state)); in haswell_get_ddi_port_state()
10530 u32 dpll = pipe_config->dpll_hw_state.dpll; in i9xx_pll_refclk()
10549 u32 dpll = pipe_config->dpll_hw_state.dpll; in i9xx_crtc_clock_get()
10556 fp = pipe_config->dpll_hw_state.fp0; in i9xx_crtc_clock_get()
10558 fp = pipe_config->dpll_hw_state.fp1; in i9xx_crtc_clock_get()
10698 pipe_config.dpll_hw_state.dpll = I915_READ(DPLL(pipe)); in intel_crtc_mode_get()
10699 pipe_config.dpll_hw_state.fp0 = I915_READ(FP0(pipe)); in intel_crtc_mode_get()
10700 pipe_config.dpll_hw_state.fp1 = I915_READ(FP1(pipe)); in intel_crtc_mode_get()
12066 pipe_config->dpll_hw_state.ebb0, in intel_dump_pipe_config()
12067 pipe_config->dpll_hw_state.ebb4, in intel_dump_pipe_config()
12068 pipe_config->dpll_hw_state.pll0, in intel_dump_pipe_config()
12069 pipe_config->dpll_hw_state.pll1, in intel_dump_pipe_config()
12070 pipe_config->dpll_hw_state.pll2, in intel_dump_pipe_config()
12071 pipe_config->dpll_hw_state.pll3, in intel_dump_pipe_config()
12072 pipe_config->dpll_hw_state.pll6, in intel_dump_pipe_config()
12073 pipe_config->dpll_hw_state.pll8, in intel_dump_pipe_config()
12074 pipe_config->dpll_hw_state.pll9, in intel_dump_pipe_config()
12075 pipe_config->dpll_hw_state.pll10, in intel_dump_pipe_config()
12076 pipe_config->dpll_hw_state.pcsdw12); in intel_dump_pipe_config()
12081 pipe_config->dpll_hw_state.ctrl1, in intel_dump_pipe_config()
12082 pipe_config->dpll_hw_state.cfgcr1, in intel_dump_pipe_config()
12083 pipe_config->dpll_hw_state.cfgcr2); in intel_dump_pipe_config()
12087 pipe_config->dpll_hw_state.wrpll, in intel_dump_pipe_config()
12088 pipe_config->dpll_hw_state.spll); in intel_dump_pipe_config()
12092 pipe_config->dpll_hw_state.dpll, in intel_dump_pipe_config()
12093 pipe_config->dpll_hw_state.dpll_md, in intel_dump_pipe_config()
12094 pipe_config->dpll_hw_state.fp0, in intel_dump_pipe_config()
12095 pipe_config->dpll_hw_state.fp1); in intel_dump_pipe_config()
12187 struct intel_dpll_hw_state dpll_hw_state; in clear_intel_crtc_state() local
12200 dpll_hw_state = crtc_state->dpll_hw_state; in clear_intel_crtc_state()
12209 crtc_state->dpll_hw_state = dpll_hw_state; in clear_intel_crtc_state()
12609 PIPE_CONF_CHECK_X(dpll_hw_state.dpll); in intel_pipe_config_compare()
12610 PIPE_CONF_CHECK_X(dpll_hw_state.dpll_md); in intel_pipe_config_compare()
12611 PIPE_CONF_CHECK_X(dpll_hw_state.fp0); in intel_pipe_config_compare()
12612 PIPE_CONF_CHECK_X(dpll_hw_state.fp1); in intel_pipe_config_compare()
12613 PIPE_CONF_CHECK_X(dpll_hw_state.wrpll); in intel_pipe_config_compare()
12614 PIPE_CONF_CHECK_X(dpll_hw_state.spll); in intel_pipe_config_compare()
12615 PIPE_CONF_CHECK_X(dpll_hw_state.ctrl1); in intel_pipe_config_compare()
12616 PIPE_CONF_CHECK_X(dpll_hw_state.cfgcr1); in intel_pipe_config_compare()
12617 PIPE_CONF_CHECK_X(dpll_hw_state.cfgcr2); in intel_pipe_config_compare()
12826 struct intel_dpll_hw_state dpll_hw_state; in check_shared_dpll_state() local
12834 memset(&dpll_hw_state, 0, sizeof(dpll_hw_state)); in check_shared_dpll_state()
12838 active = pll->get_hw_state(dev_priv, pll, &dpll_hw_state); in check_shared_dpll_state()
12864 I915_STATE_WARN(pll->on && memcmp(&pll->config.hw_state, &dpll_hw_state, in check_shared_dpll_state()
12865 sizeof(dpll_hw_state)), in check_shared_dpll_state()