Lines Matching refs:conn_state

889 #define to_intel_tv_connector_state(conn_state) \  argument
890 container_of_const((conn_state), struct intel_tv_connector_state, base)
930 const struct drm_connector_state *conn_state) in intel_enable_tv() argument
951 static const struct tv_mode *intel_tv_mode_find(const struct drm_connector_state *conn_state) in intel_tv_mode_find() argument
953 int format = conn_state->tv.legacy_mode; in intel_tv_mode_find()
1181 const struct drm_connector_state *conn_state, in intel_tv_vert_scaling() argument
1185 conn_state->tv.margins.top - in intel_tv_vert_scaling()
1186 conn_state->tv.margins.bottom != in intel_tv_vert_scaling()
1193 struct drm_connector_state *conn_state) in intel_tv_compute_config() argument
1200 to_intel_tv_connector_state(conn_state); in intel_tv_compute_config()
1201 const struct tv_mode *tv_mode = intel_tv_mode_find(conn_state); in intel_tv_compute_config()
1232 !intel_tv_vert_scaling(adjusted_mode, conn_state, vdisplay)) { in intel_tv_compute_config()
1246 top = conn_state->tv.margins.top; in intel_tv_compute_config()
1247 bottom = conn_state->tv.margins.bottom; in intel_tv_compute_config()
1266 tv_conn_state->margins.top = conn_state->tv.margins.top; in intel_tv_compute_config()
1267 tv_conn_state->margins.bottom = conn_state->tv.margins.bottom; in intel_tv_compute_config()
1341 conn_state->tv.margins.left, in intel_tv_compute_config()
1342 conn_state->tv.margins.right); in intel_tv_compute_config()
1436 const struct drm_connector_state *conn_state) in intel_tv_pre_enable() argument
1443 to_intel_tv_connector_state(conn_state); in intel_tv_pre_enable()
1444 const struct tv_mode *tv_mode = intel_tv_mode_find(conn_state); in intel_tv_pre_enable()
1557 xpos = conn_state->tv.margins.left; in intel_tv_pre_enable()
1559 xsize -= (conn_state->tv.margins.left + in intel_tv_pre_enable()
1560 conn_state->tv.margins.right); in intel_tv_pre_enable()
1895 struct drm_connector_state *conn_state = connector->state; in intel_tv_add_properties() local
1900 conn_state->tv.margins.left = 54; in intel_tv_add_properties()
1901 conn_state->tv.margins.top = 36; in intel_tv_add_properties()
1902 conn_state->tv.margins.right = 46; in intel_tv_add_properties()
1903 conn_state->tv.margins.bottom = 37; in intel_tv_add_properties()
1905 conn_state->tv.legacy_mode = 0; in intel_tv_add_properties()
1919 conn_state->tv.legacy_mode); in intel_tv_add_properties()
1922 conn_state->tv.margins.left); in intel_tv_add_properties()
1925 conn_state->tv.margins.top); in intel_tv_add_properties()
1928 conn_state->tv.margins.right); in intel_tv_add_properties()
1931 conn_state->tv.margins.bottom); in intel_tv_add_properties()