Lines Matching refs:panel_bridge
18 struct panel_bridge { struct
25 static inline struct panel_bridge * argument
28 return container_of(bridge, struct panel_bridge, bridge); in drm_bridge_to_panel_bridge()
31 static inline struct panel_bridge *
34 return container_of(connector, struct panel_bridge, connector); in drm_connector_to_panel_bridge()
39 struct panel_bridge *panel_bridge = in panel_bridge_connector_get_modes() local
42 return drm_panel_get_modes(panel_bridge->panel, connector); in panel_bridge_connector_get_modes()
61 struct panel_bridge *panel_bridge = drm_bridge_to_panel_bridge(bridge); in panel_bridge_attach() local
62 struct drm_connector *connector = &panel_bridge->connector; in panel_bridge_attach()
78 panel_bridge->connector_type); in panel_bridge_attach()
86 drm_connector_attach_encoder(&panel_bridge->connector, in panel_bridge_attach()
100 struct panel_bridge *panel_bridge = drm_bridge_to_panel_bridge(bridge); in panel_bridge_detach() local
101 struct drm_connector *connector = &panel_bridge->connector; in panel_bridge_detach()
117 struct panel_bridge *panel_bridge = drm_bridge_to_panel_bridge(bridge); in panel_bridge_atomic_pre_enable() local
131 drm_panel_prepare(panel_bridge->panel); in panel_bridge_atomic_pre_enable()
137 struct panel_bridge *panel_bridge = drm_bridge_to_panel_bridge(bridge); in panel_bridge_atomic_enable() local
151 drm_panel_enable(panel_bridge->panel); in panel_bridge_atomic_enable()
157 struct panel_bridge *panel_bridge = drm_bridge_to_panel_bridge(bridge); in panel_bridge_atomic_disable() local
171 drm_panel_disable(panel_bridge->panel); in panel_bridge_atomic_disable()
177 struct panel_bridge *panel_bridge = drm_bridge_to_panel_bridge(bridge); in panel_bridge_atomic_post_disable() local
191 drm_panel_unprepare(panel_bridge->panel); in panel_bridge_atomic_post_disable()
197 struct panel_bridge *panel_bridge = drm_bridge_to_panel_bridge(bridge); in panel_bridge_get_modes() local
199 return drm_panel_get_modes(panel_bridge->panel, connector); in panel_bridge_get_modes()
205 struct panel_bridge *panel_bridge = drm_bridge_to_panel_bridge(bridge); in panel_bridge_debugfs_init() local
206 struct drm_panel *panel = panel_bridge->panel; in panel_bridge_debugfs_init()
291 struct panel_bridge *panel_bridge; in drm_panel_bridge_add_typed() local
296 panel_bridge = devm_kzalloc(panel->dev, sizeof(*panel_bridge), in drm_panel_bridge_add_typed()
298 if (!panel_bridge) in drm_panel_bridge_add_typed()
301 panel_bridge->connector_type = connector_type; in drm_panel_bridge_add_typed()
302 panel_bridge->panel = panel; in drm_panel_bridge_add_typed()
304 panel_bridge->bridge.funcs = &panel_bridge_bridge_funcs; in drm_panel_bridge_add_typed()
306 panel_bridge->bridge.of_node = panel->dev->of_node; in drm_panel_bridge_add_typed()
308 panel_bridge->bridge.ops = DRM_BRIDGE_OP_MODES; in drm_panel_bridge_add_typed()
309 panel_bridge->bridge.type = connector_type; in drm_panel_bridge_add_typed()
311 drm_bridge_add(&panel_bridge->bridge); in drm_panel_bridge_add_typed()
313 return &panel_bridge->bridge; in drm_panel_bridge_add_typed()
325 struct panel_bridge *panel_bridge; in drm_panel_bridge_remove() local
333 panel_bridge = drm_bridge_to_panel_bridge(bridge); in drm_panel_bridge_remove()
336 devm_kfree(panel_bridge->panel->dev, bridge); in drm_panel_bridge_remove()
352 struct panel_bridge *panel_bridge; in drm_panel_bridge_set_orientation() local
354 panel_bridge = drm_bridge_to_panel_bridge(bridge); in drm_panel_bridge_set_orientation()
357 panel_bridge->panel); in drm_panel_bridge_set_orientation()
482 struct panel_bridge *panel_bridge; in drm_panel_bridge_connector() local
484 panel_bridge = drm_bridge_to_panel_bridge(bridge); in drm_panel_bridge_connector()
486 return &panel_bridge->connector; in drm_panel_bridge_connector()