Lines Matching defs:connector

837 static struct intel_tv *intel_attached_tv(struct drm_connector *connector)
839 return container_of(intel_attached_encoder(connector),
898 intel_tv_mode_valid(struct drm_connector *connector,
901 struct intel_tv *intel_tv = intel_attached_tv(connector);
1174 struct drm_connector *connector)
1187 if (connector->polled & DRM_CONNECTOR_POLL_HPD) {
1264 if (connector->polled & DRM_CONNECTOR_POLL_HPD) {
1276 * Here we set accurate tv format according to connector type
1279 static void intel_tv_find_better_format(struct drm_connector *connector)
1281 struct intel_tv *intel_tv = intel_attached_tv(connector);
1300 drm_object_property_set_value(&connector->base,
1301 connector->dev->mode_config.tv_mode_property, i);
1311 intel_tv_detect(struct drm_connector *connector, bool force)
1314 struct intel_tv *intel_tv = intel_attached_tv(connector);
1322 if (intel_get_load_detect_pipe(connector, &mode, &tmp)) {
1323 type = intel_tv_detect_type(intel_tv, connector);
1324 intel_release_load_detect_pipe(connector, &tmp);
1328 return connector->status;
1334 intel_tv_find_better_format(connector);
1356 intel_tv_chose_preferred_modes(struct drm_connector *connector,
1359 struct intel_tv *intel_tv = intel_attached_tv(connector);
1383 intel_tv_get_modes(struct drm_connector *connector)
1386 struct intel_tv *intel_tv = intel_attached_tv(connector);
1407 mode_ptr = drm_mode_create(connector->dev);
1432 intel_tv_chose_preferred_modes(connector, mode_ptr);
1433 drm_mode_probed_add(connector, mode_ptr);
1441 intel_tv_destroy (struct drm_connector *connector)
1443 drm_connector_cleanup(connector);
1444 kfree(connector, sizeof(struct intel_connector));
1449 intel_tv_set_property(struct drm_connector *connector, struct drm_property *property,
1452 struct drm_device *dev = connector->dev;
1453 struct intel_tv *intel_tv = intel_attached_tv(connector);
1458 ret = drm_object_property_set_value(&connector->base, property, val);
1561 struct drm_connector *connector;
1576 /* Even if we have an encoder we may not have a connector */
1615 connector = &intel_connector->base;
1626 connector->polled = DRM_CONNECTOR_POLL_CONNECT;
1628 (void) drm_connector_init(dev, connector, &intel_tv_connector_funcs,
1658 (void) drm_connector_helper_add(connector, &intel_tv_connector_helper_funcs);
1659 connector->interlace_allowed = false;
1660 connector->doublescan_allowed = false;
1669 drm_object_attach_property(&connector->base, dev->mode_config.tv_mode_property,
1671 drm_object_attach_property(&connector->base,
1674 drm_object_attach_property(&connector->base,
1677 drm_object_attach_property(&connector->base,
1680 drm_object_attach_property(&connector->base,