• Home
  • Raw
  • Download

Lines Matching refs:panel_bridge

17 struct panel_bridge {  struct
24 static inline struct panel_bridge * argument
27 return container_of(bridge, struct panel_bridge, bridge); in drm_bridge_to_panel_bridge()
30 static inline struct panel_bridge *
33 return container_of(connector, struct panel_bridge, connector); in drm_connector_to_panel_bridge()
38 struct panel_bridge *panel_bridge = in panel_bridge_connector_get_modes() local
41 return drm_panel_get_modes(panel_bridge->panel, connector); in panel_bridge_connector_get_modes()
60 struct panel_bridge *panel_bridge = drm_bridge_to_panel_bridge(bridge); in panel_bridge_attach() local
61 struct drm_connector *connector = &panel_bridge->connector; in panel_bridge_attach()
77 panel_bridge->connector_type); in panel_bridge_attach()
83 drm_connector_attach_encoder(&panel_bridge->connector, in panel_bridge_attach()
91 struct panel_bridge *panel_bridge = drm_bridge_to_panel_bridge(bridge); in panel_bridge_detach() local
92 struct drm_connector *connector = &panel_bridge->connector; in panel_bridge_detach()
107 struct panel_bridge *panel_bridge = drm_bridge_to_panel_bridge(bridge); in panel_bridge_pre_enable() local
109 drm_panel_prepare(panel_bridge->panel); in panel_bridge_pre_enable()
114 struct panel_bridge *panel_bridge = drm_bridge_to_panel_bridge(bridge); in panel_bridge_enable() local
116 drm_panel_enable(panel_bridge->panel); in panel_bridge_enable()
121 struct panel_bridge *panel_bridge = drm_bridge_to_panel_bridge(bridge); in panel_bridge_disable() local
123 drm_panel_disable(panel_bridge->panel); in panel_bridge_disable()
128 struct panel_bridge *panel_bridge = drm_bridge_to_panel_bridge(bridge); in panel_bridge_post_disable() local
130 drm_panel_unprepare(panel_bridge->panel); in panel_bridge_post_disable()
136 struct panel_bridge *panel_bridge = drm_bridge_to_panel_bridge(bridge); in panel_bridge_get_modes() local
138 return drm_panel_get_modes(panel_bridge->panel, connector); in panel_bridge_get_modes()
205 struct panel_bridge *panel_bridge; in drm_panel_bridge_add_typed() local
210 panel_bridge = devm_kzalloc(panel->dev, sizeof(*panel_bridge), in drm_panel_bridge_add_typed()
212 if (!panel_bridge) in drm_panel_bridge_add_typed()
215 panel_bridge->connector_type = connector_type; in drm_panel_bridge_add_typed()
216 panel_bridge->panel = panel; in drm_panel_bridge_add_typed()
218 panel_bridge->bridge.funcs = &panel_bridge_bridge_funcs; in drm_panel_bridge_add_typed()
220 panel_bridge->bridge.of_node = panel->dev->of_node; in drm_panel_bridge_add_typed()
222 panel_bridge->bridge.ops = DRM_BRIDGE_OP_MODES; in drm_panel_bridge_add_typed()
223 panel_bridge->bridge.type = connector_type; in drm_panel_bridge_add_typed()
225 drm_bridge_add(&panel_bridge->bridge); in drm_panel_bridge_add_typed()
227 return &panel_bridge->bridge; in drm_panel_bridge_add_typed()
239 struct panel_bridge *panel_bridge; in drm_panel_bridge_remove() local
247 panel_bridge = drm_bridge_to_panel_bridge(bridge); in drm_panel_bridge_remove()
250 devm_kfree(panel_bridge->panel->dev, bridge); in drm_panel_bridge_remove()
329 struct panel_bridge *panel_bridge; in drm_panel_bridge_connector() local
331 panel_bridge = drm_bridge_to_panel_bridge(bridge); in drm_panel_bridge_connector()
333 return &panel_bridge->connector; in drm_panel_bridge_connector()