Lines Matching refs:dssdev

38 	struct omap_dss_device dssdev;  member
48 #define to_panel_data(x) container_of(x, struct panel_drv_data, dssdev)
50 static int hdmic_connect(struct omap_dss_device *dssdev) in hdmic_connect() argument
52 struct panel_drv_data *ddata = to_panel_data(dssdev); in hdmic_connect()
57 if (omapdss_device_is_connected(dssdev)) in hdmic_connect()
60 return in->ops.hdmi->connect(in, dssdev); in hdmic_connect()
63 static void hdmic_disconnect(struct omap_dss_device *dssdev) in hdmic_disconnect() argument
65 struct panel_drv_data *ddata = to_panel_data(dssdev); in hdmic_disconnect()
70 if (!omapdss_device_is_connected(dssdev)) in hdmic_disconnect()
73 in->ops.hdmi->disconnect(in, dssdev); in hdmic_disconnect()
76 static int hdmic_enable(struct omap_dss_device *dssdev) in hdmic_enable() argument
78 struct panel_drv_data *ddata = to_panel_data(dssdev); in hdmic_enable()
84 if (!omapdss_device_is_connected(dssdev)) in hdmic_enable()
87 if (omapdss_device_is_enabled(dssdev)) in hdmic_enable()
96 dssdev->state = OMAP_DSS_DISPLAY_ACTIVE; in hdmic_enable()
101 static void hdmic_disable(struct omap_dss_device *dssdev) in hdmic_disable() argument
103 struct panel_drv_data *ddata = to_panel_data(dssdev); in hdmic_disable()
108 if (!omapdss_device_is_enabled(dssdev)) in hdmic_disable()
113 dssdev->state = OMAP_DSS_DISPLAY_DISABLED; in hdmic_disable()
116 static void hdmic_set_timings(struct omap_dss_device *dssdev, in hdmic_set_timings() argument
119 struct panel_drv_data *ddata = to_panel_data(dssdev); in hdmic_set_timings()
123 dssdev->panel.timings = *timings; in hdmic_set_timings()
128 static void hdmic_get_timings(struct omap_dss_device *dssdev, in hdmic_get_timings() argument
131 struct panel_drv_data *ddata = to_panel_data(dssdev); in hdmic_get_timings()
136 static int hdmic_check_timings(struct omap_dss_device *dssdev, in hdmic_check_timings() argument
139 struct panel_drv_data *ddata = to_panel_data(dssdev); in hdmic_check_timings()
145 static int hdmic_read_edid(struct omap_dss_device *dssdev, in hdmic_read_edid() argument
148 struct panel_drv_data *ddata = to_panel_data(dssdev); in hdmic_read_edid()
154 static bool hdmic_detect(struct omap_dss_device *dssdev) in hdmic_detect() argument
156 struct panel_drv_data *ddata = to_panel_data(dssdev); in hdmic_detect()
165 static int hdmic_set_hdmi_mode(struct omap_dss_device *dssdev, bool hdmi_mode) in hdmic_set_hdmi_mode() argument
167 struct panel_drv_data *ddata = to_panel_data(dssdev); in hdmic_set_hdmi_mode()
173 static int hdmic_set_infoframe(struct omap_dss_device *dssdev, in hdmic_set_infoframe() argument
176 struct panel_drv_data *ddata = to_panel_data(dssdev); in hdmic_set_infoframe()
204 struct omap_dss_device *dssdev; in hdmic_probe() local
233 dssdev = &ddata->dssdev; in hdmic_probe()
234 dssdev->driver = &hdmic_driver; in hdmic_probe()
235 dssdev->dev = &pdev->dev; in hdmic_probe()
236 dssdev->type = OMAP_DISPLAY_TYPE_HDMI; in hdmic_probe()
237 dssdev->owner = THIS_MODULE; in hdmic_probe()
238 dssdev->panel.timings = hdmic_default_timings; in hdmic_probe()
240 r = omapdss_register_display(dssdev); in hdmic_probe()
255 struct omap_dss_device *dssdev = &ddata->dssdev; in hdmic_remove() local
258 omapdss_unregister_display(&ddata->dssdev); in hdmic_remove()
260 hdmic_disable(dssdev); in hdmic_remove()
261 hdmic_disconnect(dssdev); in hdmic_remove()