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