Lines Matching refs:connector
67 static int cdv_intel_crt_mode_valid(struct drm_connector *connector, in cdv_intel_crt_mode_valid() argument
134 static bool cdv_intel_crt_detect_hotplug(struct drm_connector *connector, in cdv_intel_crt_detect_hotplug() argument
137 struct drm_device *dev = connector->dev; in cdv_intel_crt_detect_hotplug()
182 struct drm_connector *connector, bool force) in cdv_intel_crt_detect() argument
184 if (cdv_intel_crt_detect_hotplug(connector, force)) in cdv_intel_crt_detect()
190 static void cdv_intel_crt_destroy(struct drm_connector *connector) in cdv_intel_crt_destroy() argument
192 struct gma_encoder *gma_encoder = gma_attached_encoder(connector); in cdv_intel_crt_destroy()
195 drm_connector_unregister(connector); in cdv_intel_crt_destroy()
196 drm_connector_cleanup(connector); in cdv_intel_crt_destroy()
197 kfree(connector); in cdv_intel_crt_destroy()
200 static int cdv_intel_crt_get_modes(struct drm_connector *connector) in cdv_intel_crt_get_modes() argument
202 struct gma_encoder *gma_encoder = gma_attached_encoder(connector); in cdv_intel_crt_get_modes()
203 return psb_intel_ddc_get_modes(connector, in cdv_intel_crt_get_modes()
207 static int cdv_intel_crt_set_property(struct drm_connector *connector, in cdv_intel_crt_set_property() argument
255 struct drm_connector *connector; in cdv_intel_crt_init() local
268 connector = &gma_connector->base; in cdv_intel_crt_init()
269 connector->polled = DRM_CONNECTOR_POLL_HPD; in cdv_intel_crt_init()
270 drm_connector_init(dev, connector, in cdv_intel_crt_init()
299 connector->interlace_allowed = 0; in cdv_intel_crt_init()
300 connector->doublescan_allowed = 0; in cdv_intel_crt_init()
303 drm_connector_helper_add(connector, in cdv_intel_crt_init()
306 drm_connector_register(connector); in cdv_intel_crt_init()