Lines Matching full:connector
41 static void fsl_dcu_drm_connector_destroy(struct drm_connector *connector) in fsl_dcu_drm_connector_destroy() argument
43 drm_connector_unregister(connector); in fsl_dcu_drm_connector_destroy()
44 drm_connector_cleanup(connector); in fsl_dcu_drm_connector_destroy()
55 static int fsl_dcu_drm_connector_get_modes(struct drm_connector *connector) in fsl_dcu_drm_connector_get_modes() argument
59 fsl_connector = to_fsl_dcu_connector(connector); in fsl_dcu_drm_connector_get_modes()
60 return drm_panel_get_modes(fsl_connector->panel, connector); in fsl_dcu_drm_connector_get_modes()
63 static int fsl_dcu_drm_connector_mode_valid(struct drm_connector *connector, in fsl_dcu_drm_connector_mode_valid() argument
81 struct drm_connector *connector = &fsl_dev->connector.base; in fsl_dcu_attach_panel() local
84 fsl_dev->connector.encoder = encoder; in fsl_dcu_attach_panel()
86 ret = drm_connector_init(fsl_dev->drm, connector, in fsl_dcu_attach_panel()
92 drm_connector_helper_add(connector, &connector_helper_funcs); in fsl_dcu_attach_panel()
93 ret = drm_connector_register(connector); in fsl_dcu_attach_panel()
97 ret = drm_connector_attach_encoder(connector, encoder); in fsl_dcu_attach_panel()
104 drm_connector_unregister(connector); in fsl_dcu_attach_panel()
106 drm_connector_cleanup(connector); in fsl_dcu_attach_panel()
120 fsl_dev->connector.panel = of_drm_find_panel(panel_node); in fsl_dcu_create_outputs()
122 if (IS_ERR(fsl_dev->connector.panel)) in fsl_dcu_create_outputs()
123 return PTR_ERR(fsl_dev->connector.panel); in fsl_dcu_create_outputs()
125 return fsl_dcu_attach_panel(fsl_dev, fsl_dev->connector.panel); in fsl_dcu_create_outputs()
133 fsl_dev->connector.panel = panel; in fsl_dcu_create_outputs()