Lines Matching refs:out
20 int omapdss_device_init_output(struct omap_dss_device *out,
26 remote_node = of_graph_get_remote_node(out->dev->of_node,
27 out->of_port, 0);
29 dev_dbg(out->dev, "failed to find video sink\n");
33 out->next = omapdss_find_device_by_node(remote_node);
34 out->bridge = of_drm_find_bridge(remote_node);
35 out->panel = of_drm_find_panel(remote_node);
36 if (IS_ERR(out->panel))
37 out->panel = NULL;
41 if (out->next && out->type != out->next->type) {
42 dev_err(out->dev, "output type and display type don't match\n");
47 if (out->panel) {
50 bridge = drm_panel_bridge_add(out->panel);
52 dev_err(out->dev,
59 out->bridge = bridge;
63 if (!out->bridge) {
68 out->next_bridge = out->bridge;
69 out->bridge = local_bridge;
72 if (!out->next && !out->bridge) {
80 omapdss_device_cleanup_output(out);
81 out->next = NULL;
86 void omapdss_device_cleanup_output(struct omap_dss_device *out)
88 if (out->bridge && out->panel)
89 drm_panel_bridge_remove(out->next_bridge ?
90 out->next_bridge : out->bridge);
92 if (out->next)
93 omapdss_device_put(out->next);