Lines Matching refs:connector
22 static int hibmc_connector_get_modes(struct drm_connector *connector) in hibmc_connector_get_modes() argument
26 struct hibmc_connector *hibmc_connector = to_hibmc_connector(connector); in hibmc_connector_get_modes()
28 edid = drm_get_edid(connector, &hibmc_connector->adapter); in hibmc_connector_get_modes()
30 drm_connector_update_edid_property(connector, edid); in hibmc_connector_get_modes()
31 count = drm_add_edid_modes(connector, edid); in hibmc_connector_get_modes()
36 count = drm_add_modes_noedid(connector, in hibmc_connector_get_modes()
37 connector->dev->mode_config.max_width, in hibmc_connector_get_modes()
38 connector->dev->mode_config.max_height); in hibmc_connector_get_modes()
39 drm_set_preferred_mode(connector, 1024, 768); in hibmc_connector_get_modes()
46 static void hibmc_connector_destroy(struct drm_connector *connector) in hibmc_connector_destroy() argument
48 struct hibmc_connector *hibmc_connector = to_hibmc_connector(connector); in hibmc_connector_destroy()
51 drm_connector_cleanup(connector); in hibmc_connector_destroy()
90 struct hibmc_connector *hibmc_connector = &priv->connector; in hibmc_vdac_init()
93 struct drm_connector *connector = &hibmc_connector->base; in hibmc_vdac_init() local
111 ret = drm_connector_init_with_ddc(dev, connector, in hibmc_vdac_init()
120 drm_connector_helper_add(connector, &hibmc_connector_helper_funcs); in hibmc_vdac_init()
122 drm_connector_attach_encoder(connector, encoder); in hibmc_vdac_init()