Lines Matching refs:conn_state

197 #define to_intel_sdvo_connector_state(conn_state) \  argument
198 container_of((conn_state), struct intel_sdvo_connector_state, base.base)
1094 struct drm_connector_state *conn_state) in intel_sdvo_compute_avi_infoframe() argument
1109 conn_state->connector, in intel_sdvo_compute_avi_infoframe()
1115 conn_state->connector, in intel_sdvo_compute_avi_infoframe()
1210 const struct drm_connector_state *conn_state) in intel_sdvo_set_tv_format() argument
1215 format_map = 1 << conn_state->tv.mode; in intel_sdvo_set_tv_format()
1304 const struct drm_connector_state *conn_state) in intel_has_hdmi_sink() argument
1306 struct drm_connector *connector = conn_state->connector; in intel_has_hdmi_sink()
1310 READ_ONCE(to_intel_digital_connector_state(conn_state)->force_audio) != HDMI_AUDIO_OFF_DVI; in intel_has_hdmi_sink()
1315 const struct drm_connector_state *conn_state) in intel_sdvo_limited_color_range() argument
1322 return intel_hdmi_limited_color_range(crtc_state, conn_state); in intel_sdvo_limited_color_range()
1327 const struct drm_connector_state *conn_state) in intel_sdvo_has_audio() argument
1329 struct drm_connector *connector = conn_state->connector; in intel_sdvo_has_audio()
1333 to_intel_digital_connector_state(conn_state); in intel_sdvo_has_audio()
1347 struct drm_connector_state *conn_state) in intel_sdvo_compute_config() argument
1351 to_intel_sdvo_connector(conn_state->connector); in intel_sdvo_compute_config()
1407 pipe_config->has_hdmi_sink = intel_has_hdmi_sink(intel_sdvo_connector, conn_state); in intel_sdvo_compute_config()
1410 intel_sdvo_has_audio(encoder, pipe_config, conn_state) && in intel_sdvo_compute_config()
1411 intel_audio_compute_config(encoder, pipe_config, conn_state); in intel_sdvo_compute_config()
1415 conn_state); in intel_sdvo_compute_config()
1421 if (conn_state->picture_aspect_ratio) in intel_sdvo_compute_config()
1423 conn_state->picture_aspect_ratio; in intel_sdvo_compute_config()
1426 pipe_config, conn_state)) { in intel_sdvo_compute_config()
1443 const struct drm_connector_state *conn_state = &sdvo_state->base.base; in intel_sdvo_update_props() local
1445 to_intel_sdvo_connector(conn_state->connector); in intel_sdvo_update_props()
1461 UPDATE_PROPERTY(conn_state->tv.saturation, SATURATION); in intel_sdvo_update_props()
1464 UPDATE_PROPERTY(conn_state->tv.contrast, CONTRAST); in intel_sdvo_update_props()
1467 UPDATE_PROPERTY(conn_state->tv.hue, HUE); in intel_sdvo_update_props()
1470 UPDATE_PROPERTY(conn_state->tv.brightness, BRIGHTNESS); in intel_sdvo_update_props()
1499 const struct drm_connector_state *conn_state) in intel_sdvo_pre_enable() argument
1505 to_intel_sdvo_connector_state(conn_state); in intel_sdvo_pre_enable()
1507 to_intel_sdvo_connector(conn_state->connector); in intel_sdvo_pre_enable()
1568 !intel_sdvo_set_tv_format(intel_sdvo, conn_state)) in intel_sdvo_pre_enable()
1784 const struct drm_connector_state *conn_state) in intel_sdvo_enable_audio() argument
1801 const struct drm_connector_state *conn_state) in intel_disable_sdvo() argument
1865 const struct drm_connector_state *conn_state) in intel_enable_sdvo() argument
1902 intel_sdvo_enable_audio(intel_sdvo, pipe_config, conn_state); in intel_enable_sdvo()
2279 const struct drm_connector_state *conn_state = connector->state; in intel_sdvo_get_tv_modes() local
2292 format_map = 1 << conn_state->tv.mode; in intel_sdvo_get_tv_modes()
2740 struct intel_sdvo_connector_state *conn_state; in intel_sdvo_connector_alloc() local
2746 conn_state = kzalloc(sizeof(*conn_state), GFP_KERNEL); in intel_sdvo_connector_alloc()
2747 if (!conn_state) { in intel_sdvo_connector_alloc()
2753 &conn_state->base.base); in intel_sdvo_connector_alloc()
3100 struct drm_connector_state *conn_state = connector->state; in intel_sdvo_create_enhance_property_tv() local
3102 to_intel_sdvo_connector_state(conn_state); in intel_sdvo_create_enhance_property_tv()
3178 ENHANCEMENT(&conn_state->tv, saturation, SATURATION); in intel_sdvo_create_enhance_property_tv()
3179 ENHANCEMENT(&conn_state->tv, contrast, CONTRAST); in intel_sdvo_create_enhance_property_tv()
3180 ENHANCEMENT(&conn_state->tv, hue, HUE); in intel_sdvo_create_enhance_property_tv()
3181 ENHANCEMENT(&conn_state->tv, brightness, BRIGHTNESS); in intel_sdvo_create_enhance_property_tv()