Lines Matching refs:bridge
25 struct drm_bridge bridge;
35 static inline struct tpd12s015_device *to_tpd12s015(struct drm_bridge *bridge)
37 return container_of(bridge, struct tpd12s015_device, bridge);
40 static int tpd12s015_attach(struct drm_bridge *bridge,
43 struct tpd12s015_device *tpd = to_tpd12s015(bridge);
49 ret = drm_bridge_attach(bridge->encoder, tpd->next_bridge,
50 bridge, flags);
62 static void tpd12s015_detach(struct drm_bridge *bridge)
64 struct tpd12s015_device *tpd = to_tpd12s015(bridge);
69 static enum drm_connector_status tpd12s015_detect(struct drm_bridge *bridge)
71 struct tpd12s015_device *tpd = to_tpd12s015(bridge);
79 static void tpd12s015_hpd_enable(struct drm_bridge *bridge)
81 struct tpd12s015_device *tpd = to_tpd12s015(bridge);
86 static void tpd12s015_hpd_disable(struct drm_bridge *bridge)
88 struct tpd12s015_device *tpd = to_tpd12s015(bridge);
104 struct drm_bridge *bridge = &tpd->bridge;
106 drm_bridge_hpd_notify(bridge, tpd12s015_detect(bridge));
124 tpd->bridge.funcs = &tpd12s015_bridge_funcs;
125 tpd->bridge.of_node = pdev->dev.of_node;
126 tpd->bridge.type = DRM_MODE_CONNECTOR_HDMIA;
127 tpd->bridge.ops = DRM_BRIDGE_OP_DETECT;
129 /* Get the next bridge, connected to port@1. */
173 tpd->bridge.ops |= DRM_BRIDGE_OP_HPD;
176 /* Register the DRM bridge. */
177 drm_bridge_add(&tpd->bridge);
186 drm_bridge_remove(&tpd->bridge);