Lines Matching refs:connector

129 static void panel_connector_destroy(struct drm_connector *connector)  in panel_connector_destroy()  argument
131 drm_connector_unregister(connector); in panel_connector_destroy()
132 drm_connector_cleanup(connector); in panel_connector_destroy()
135 static int panel_connector_get_modes(struct drm_connector *connector) in panel_connector_get_modes() argument
137 struct drm_device *dev = connector->dev; in panel_connector_get_modes()
138 struct panel_connector *panel_connector = to_panel_connector(connector); in panel_connector_get_modes()
161 drm_mode_probed_add(connector, mode); in panel_connector_get_modes()
168 struct drm_connector *connector) in panel_connector_best_encoder() argument
170 struct panel_connector *panel_connector = to_panel_connector(connector); in panel_connector_best_encoder()
191 struct drm_connector *connector; in panel_connector_create() local
202 connector = &panel_connector->base; in panel_connector_create()
204 drm_connector_init(dev, connector, &panel_connector_funcs, in panel_connector_create()
206 drm_connector_helper_add(connector, &panel_connector_helper_funcs); in panel_connector_create()
208 connector->interlace_allowed = 0; in panel_connector_create()
209 connector->doublescan_allowed = 0; in panel_connector_create()
211 ret = drm_connector_attach_encoder(connector, encoder); in panel_connector_create()
215 return connector; in panel_connector_create()
218 panel_connector_destroy(connector); in panel_connector_create()
231 struct drm_connector *connector; in panel_modeset_init() local
237 connector = panel_connector_create(dev, panel_mod, encoder); in panel_modeset_init()
238 if (!connector) in panel_modeset_init()
242 priv->connectors[priv->num_connectors++] = connector; in panel_modeset_init()