• Home
  • Raw
  • Download

Lines Matching refs:connector

108 static void cdv_hdmi_save(struct drm_connector *connector)  in cdv_hdmi_save()  argument
110 struct drm_device *dev = connector->dev; in cdv_hdmi_save()
111 struct gma_encoder *gma_encoder = gma_attached_encoder(connector); in cdv_hdmi_save()
117 static void cdv_hdmi_restore(struct drm_connector *connector) in cdv_hdmi_restore() argument
119 struct drm_device *dev = connector->dev; in cdv_hdmi_restore()
120 struct gma_encoder *gma_encoder = gma_attached_encoder(connector); in cdv_hdmi_restore()
128 struct drm_connector *connector, bool force) in cdv_hdmi_detect() argument
130 struct gma_encoder *gma_encoder = gma_attached_encoder(connector); in cdv_hdmi_detect()
135 edid = drm_get_edid(connector, &gma_encoder->i2c_bus->adapter); in cdv_hdmi_detect()
152 static int cdv_hdmi_set_property(struct drm_connector *connector, in cdv_hdmi_set_property() argument
156 struct drm_encoder *encoder = connector->encoder; in cdv_hdmi_set_property()
177 if (drm_object_property_get_value(&connector->base, in cdv_hdmi_set_property()
184 if (drm_object_property_set_value(&connector->base, in cdv_hdmi_set_property()
211 static int cdv_hdmi_get_modes(struct drm_connector *connector) in cdv_hdmi_get_modes() argument
213 struct gma_encoder *gma_encoder = gma_attached_encoder(connector); in cdv_hdmi_get_modes()
217 edid = drm_get_edid(connector, &gma_encoder->i2c_bus->adapter); in cdv_hdmi_get_modes()
219 drm_mode_connector_update_edid_property(connector, edid); in cdv_hdmi_get_modes()
220 ret = drm_add_edid_modes(connector, edid); in cdv_hdmi_get_modes()
226 static int cdv_hdmi_mode_valid(struct drm_connector *connector, in cdv_hdmi_mode_valid() argument
245 static void cdv_hdmi_destroy(struct drm_connector *connector) in cdv_hdmi_destroy() argument
247 struct gma_encoder *gma_encoder = gma_attached_encoder(connector); in cdv_hdmi_destroy()
250 drm_connector_unregister(connector); in cdv_hdmi_destroy()
251 drm_connector_cleanup(connector); in cdv_hdmi_destroy()
252 kfree(connector); in cdv_hdmi_destroy()
282 struct drm_connector *connector; in cdv_hdmi_init() local
303 connector = &gma_connector->base; in cdv_hdmi_init()
304 connector->polled = DRM_CONNECTOR_POLL_HPD; in cdv_hdmi_init()
309 drm_connector_init(dev, connector, in cdv_hdmi_init()
323 drm_connector_helper_add(connector, in cdv_hdmi_init()
325 connector->display_info.subpixel_order = SubPixelHorizontalRGB; in cdv_hdmi_init()
326 connector->interlace_allowed = false; in cdv_hdmi_init()
327 connector->doublescan_allowed = false; in cdv_hdmi_init()
329 drm_object_attach_property(&connector->base, in cdv_hdmi_init()
358 drm_connector_register(connector); in cdv_hdmi_init()
363 drm_connector_cleanup(connector); in cdv_hdmi_init()