Lines Matching refs:connector
25 static int hibmc_connector_get_modes(struct drm_connector *connector) in hibmc_connector_get_modes() argument
27 struct hibmc_connector *hibmc_connector = to_hibmc_connector(connector); in hibmc_connector_get_modes()
31 drm_edid = drm_edid_read_ddc(connector, &hibmc_connector->adapter); in hibmc_connector_get_modes()
33 drm_edid_connector_update(connector, drm_edid); in hibmc_connector_get_modes()
36 count = drm_edid_connector_add_modes(connector); in hibmc_connector_get_modes()
41 count = drm_add_modes_noedid(connector, in hibmc_connector_get_modes()
42 connector->dev->mode_config.max_width, in hibmc_connector_get_modes()
43 connector->dev->mode_config.max_height); in hibmc_connector_get_modes()
44 drm_set_preferred_mode(connector, 1024, 768); in hibmc_connector_get_modes()
52 static void hibmc_connector_destroy(struct drm_connector *connector) in hibmc_connector_destroy() argument
54 struct hibmc_connector *hibmc_connector = to_hibmc_connector(connector); in hibmc_connector_destroy()
57 drm_connector_cleanup(connector); in hibmc_connector_destroy()
96 struct hibmc_connector *hibmc_connector = &priv->connector; in hibmc_vdac_init()
99 struct drm_connector *connector = &hibmc_connector->base; in hibmc_vdac_init() local
117 ret = drm_connector_init_with_ddc(dev, connector, in hibmc_vdac_init()
126 drm_connector_helper_add(connector, &hibmc_connector_helper_funcs); in hibmc_vdac_init()
128 drm_connector_attach_encoder(connector, encoder); in hibmc_vdac_init()