Lines Matching full:connector

20 	struct drm_connector connector;  member
32 drm_connector_to_panel_bridge(struct drm_connector *connector) in drm_connector_to_panel_bridge() argument
34 return container_of(connector, struct panel_bridge, connector); in drm_connector_to_panel_bridge()
37 static int panel_bridge_connector_get_modes(struct drm_connector *connector) in panel_bridge_connector_get_modes() argument
40 drm_connector_to_panel_bridge(connector); in panel_bridge_connector_get_modes()
42 return drm_panel_get_modes(panel_bridge->panel, connector); in panel_bridge_connector_get_modes()
62 struct drm_connector *connector = &panel_bridge->connector; in panel_bridge_attach() local
73 drm_connector_helper_add(connector, in panel_bridge_attach()
76 ret = drm_connector_init(bridge->dev, connector, in panel_bridge_attach()
80 DRM_ERROR("Failed to initialize connector\n"); in panel_bridge_attach()
84 drm_connector_attach_encoder(&panel_bridge->connector, in panel_bridge_attach()
88 if (connector->funcs->reset) in panel_bridge_attach()
89 connector->funcs->reset(connector); in panel_bridge_attach()
90 drm_connector_register(connector); in panel_bridge_attach()
99 struct drm_connector *connector = &panel_bridge->connector; in panel_bridge_detach() local
102 * Cleanup the connector if we know it was initialized. in panel_bridge_detach()
108 if (connector->dev) in panel_bridge_detach()
109 drm_connector_cleanup(connector); in panel_bridge_detach()
141 struct drm_connector *connector) in panel_bridge_get_modes() argument
145 return drm_panel_get_modes(panel_bridge->panel, connector); in panel_bridge_get_modes()
201 * with connector creation. When done with the bridge (after
205 * The connector type is set to @panel->connector_type, which must be set to a
206 * known type. Calling this function with a panel whose connector type is
223 * an explicit connector type.
225 * @connector_type: The connector type (DRM_MODE_CONNECTOR_*)
227 * This is just like drm_panel_bridge_add(), but forces the connector type to
232 * don't report a connector type.
287 * drm_panel_bridge_set_orientation - Set the connector's panel orientation
290 * @connector: The connector to be set panel orientation.
295 int drm_panel_bridge_set_orientation(struct drm_connector *connector, in drm_panel_bridge_set_orientation() argument
302 return drm_connector_set_orientation_from_panel(connector, in drm_panel_bridge_set_orientation()
336 * &drm_connector with an explicit connector type.
339 * @connector_type: The connector type (DRM_MODE_CONNECTOR_*)
341 * This is just like devm_drm_panel_bridge_add(), but forces the connector type
346 * they don't report a connector type.
410 * drm_panel_bridge_connector - return the connector for the panel bridge
413 * drm_panel_bridge creates the connector.
414 * This function gives external access to the connector.
424 return &panel_bridge->connector; in drm_panel_bridge_connector()