Lines Matching refs:bridge

26 void hdmi_bridge_destroy(struct drm_bridge *bridge)  in hdmi_bridge_destroy()  argument
30 static void power_on(struct drm_bridge *bridge) in power_on() argument
32 struct drm_device *dev = bridge->dev; in power_on()
33 struct hdmi_bridge *hdmi_bridge = to_hdmi_bridge(bridge); in power_on()
64 static void power_off(struct drm_bridge *bridge) in power_off() argument
66 struct drm_device *dev = bridge->dev; in power_off()
67 struct hdmi_bridge *hdmi_bridge = to_hdmi_bridge(bridge); in power_off()
89 static void hdmi_bridge_pre_enable(struct drm_bridge *bridge) in hdmi_bridge_pre_enable() argument
91 struct hdmi_bridge *hdmi_bridge = to_hdmi_bridge(bridge); in hdmi_bridge_pre_enable()
98 power_on(bridge); in hdmi_bridge_pre_enable()
107 static void hdmi_bridge_enable(struct drm_bridge *bridge) in hdmi_bridge_enable() argument
111 static void hdmi_bridge_disable(struct drm_bridge *bridge) in hdmi_bridge_disable() argument
115 static void hdmi_bridge_post_disable(struct drm_bridge *bridge) in hdmi_bridge_post_disable() argument
117 struct hdmi_bridge *hdmi_bridge = to_hdmi_bridge(bridge); in hdmi_bridge_post_disable()
126 power_off(bridge); in hdmi_bridge_post_disable()
132 static void hdmi_bridge_mode_set(struct drm_bridge *bridge, in hdmi_bridge_mode_set() argument
136 struct hdmi_bridge *hdmi_bridge = to_hdmi_bridge(bridge); in hdmi_bridge_mode_set()
206 struct drm_bridge *bridge = NULL; in hdmi_bridge_init() local
219 bridge = &hdmi_bridge->base; in hdmi_bridge_init()
220 bridge->funcs = &hdmi_bridge_funcs; in hdmi_bridge_init()
222 ret = drm_bridge_attach(hdmi->dev, bridge); in hdmi_bridge_init()
226 return bridge; in hdmi_bridge_init()
229 if (bridge) in hdmi_bridge_init()
230 hdmi_bridge_destroy(bridge); in hdmi_bridge_init()