Lines Matching refs:bridge

24  * The DRM bridge connector helper object provides a DRM connector
30 * To use the helper, display controller drivers create a bridge connector with
36 * The DRM bridge connector operations are implemented based on the operations
38 * to the bridge closest to the connector (at the end of the chain) that
41 * To make use of this helper, all bridges in the chain shall report bridge
42 * operation flags (&drm_bridge->ops) and bridge output type
64 * The last bridge in the chain (closest to the connector) that provides
71 * The last bridge in the chain (closest to the connector) that provides
78 * The last bridge in the chain (closest to the connector) that provides
85 * The last bridge in the chain (closest to the connector) that provides
103 struct drm_bridge *bridge;
106 drm_for_each_bridge_in_chain(bridge_connector->encoder, bridge) {
107 if (bridge->funcs->hpd_notify)
108 bridge->funcs->hpd_notify(bridge, status);
215 struct drm_bridge *bridge;
217 list_for_each_entry(bridge, &encoder->bridge_chain, chain_node) {
218 if (bridge->funcs->debugfs_init)
219 bridge->funcs->debugfs_init(bridge, root);
239 struct drm_bridge *bridge)
249 drm_edid = drm_bridge_edid_read(bridge, connector);
270 struct drm_bridge *bridge;
276 bridge = bridge_connector->bridge_edid;
277 if (bridge)
278 return drm_bridge_connector_get_modes_edid(connector, bridge);
284 bridge = bridge_connector->bridge_modes;
285 if (bridge)
286 return bridge->funcs->get_modes(bridge, connector);
310 * @encoder: the encoder where the bridge chain starts
314 * the @encoder. All bridges in the chain shall report bridge operation flags
315 * (&drm_bridge->ops) and bridge output type (&drm_bridge->type), and none of
327 struct drm_bridge *bridge, *panel_bridge = NULL;
352 drm_for_each_bridge_in_chain(encoder, bridge) {
353 if (!bridge->interlace_allowed)
356 if (bridge->ops & DRM_BRIDGE_OP_EDID)
357 bridge_connector->bridge_edid = bridge;
358 if (bridge->ops & DRM_BRIDGE_OP_HPD)
359 bridge_connector->bridge_hpd = bridge;
360 if (bridge->ops & DRM_BRIDGE_OP_DETECT)
361 bridge_connector->bridge_detect = bridge;
362 if (bridge->ops & DRM_BRIDGE_OP_MODES)
363 bridge_connector->bridge_modes = bridge;
365 if (!drm_bridge_get_next_bridge(bridge))
366 connector_type = bridge->type;
369 if (!drm_bridge_get_next_bridge(bridge) &&
370 bridge->of_node)
371 connector->fwnode = fwnode_handle_get(of_fwnode_handle(bridge->of_node));
374 if (bridge->ddc)
375 ddc = bridge->ddc;
377 if (drm_bridge_is_panel(bridge))
378 panel_bridge = bridge;