Lines Matching full:pps

154 					struct intel_lvds_pps *pps)  in intel_lvds_pps_get_hw_state()  argument
158 pps->powerdown_on_reset = intel_de_read(dev_priv, PP_CONTROL(0)) & PANEL_POWER_RESET; in intel_lvds_pps_get_hw_state()
161 pps->port = REG_FIELD_GET(PANEL_PORT_SELECT_MASK, val); in intel_lvds_pps_get_hw_state()
162 pps->t1_t2 = REG_FIELD_GET(PANEL_POWER_UP_DELAY_MASK, val); in intel_lvds_pps_get_hw_state()
163 pps->t5 = REG_FIELD_GET(PANEL_LIGHT_ON_DELAY_MASK, val); in intel_lvds_pps_get_hw_state()
166 pps->t3 = REG_FIELD_GET(PANEL_POWER_DOWN_DELAY_MASK, val); in intel_lvds_pps_get_hw_state()
167 pps->tx = REG_FIELD_GET(PANEL_LIGHT_OFF_DELAY_MASK, val); in intel_lvds_pps_get_hw_state()
170 pps->divider = REG_FIELD_GET(PP_REFERENCE_DIVIDER_MASK, val); in intel_lvds_pps_get_hw_state()
180 pps->t4 = val * 1000; in intel_lvds_pps_get_hw_state()
183 pps->t1_t2 == 0 && pps->t5 == 0 && pps->t3 == 0 && pps->tx == 0) { in intel_lvds_pps_get_hw_state()
188 pps->t1_t2 = 40 * 10; in intel_lvds_pps_get_hw_state()
189 pps->t5 = 200 * 10; in intel_lvds_pps_get_hw_state()
191 pps->t3 = 35 * 10; in intel_lvds_pps_get_hw_state()
192 pps->tx = 200 * 10; in intel_lvds_pps_get_hw_state()
195 drm_dbg(&dev_priv->drm, "LVDS PPS:t1+t2 %d t3 %d t4 %d t5 %d tx %d " in intel_lvds_pps_get_hw_state()
197 pps->t1_t2, pps->t3, pps->t4, pps->t5, pps->tx, in intel_lvds_pps_get_hw_state()
198 pps->divider, pps->port, pps->powerdown_on_reset); in intel_lvds_pps_get_hw_state()
202 struct intel_lvds_pps *pps) in intel_lvds_pps_init_hw() argument
209 if (pps->powerdown_on_reset) in intel_lvds_pps_init_hw()
214 …_PORT_SELECT_MASK, pps->port) | REG_FIELD_PREP(PANEL_POWER_UP_DELAY_MASK, pps->t1_t2) | REG_FIELD_… in intel_lvds_pps_init_hw()
217 …REG_FIELD_PREP(PANEL_POWER_DOWN_DELAY_MASK, pps->t3) | REG_FIELD_PREP(PANEL_LIGHT_OFF_DELAY_MASK, in intel_lvds_pps_init_hw()
220 …FIELD_PREP(PP_REFERENCE_DIVIDER_MASK, pps->divider) | REG_FIELD_PREP(PANEL_POWER_CYCLE_DELAY_MASK,… in intel_lvds_pps_init_hw()