Lines Matching refs:dssdev
41 struct omap_dss_device dssdev; member
51 #define to_panel_data(x) container_of(x, struct panel_drv_data, dssdev)
53 static int hdmic_connect(struct omap_dss_device *dssdev) in hdmic_connect() argument
55 struct panel_drv_data *ddata = to_panel_data(dssdev); in hdmic_connect()
61 if (omapdss_device_is_connected(dssdev)) in hdmic_connect()
64 r = in->ops.hdmi->connect(in, dssdev); in hdmic_connect()
71 static void hdmic_disconnect(struct omap_dss_device *dssdev) in hdmic_disconnect() argument
73 struct panel_drv_data *ddata = to_panel_data(dssdev); in hdmic_disconnect()
78 if (!omapdss_device_is_connected(dssdev)) in hdmic_disconnect()
81 in->ops.hdmi->disconnect(in, dssdev); in hdmic_disconnect()
84 static int hdmic_enable(struct omap_dss_device *dssdev) in hdmic_enable() argument
86 struct panel_drv_data *ddata = to_panel_data(dssdev); in hdmic_enable()
92 if (!omapdss_device_is_connected(dssdev)) in hdmic_enable()
95 if (omapdss_device_is_enabled(dssdev)) in hdmic_enable()
104 dssdev->state = OMAP_DSS_DISPLAY_ACTIVE; in hdmic_enable()
109 static void hdmic_disable(struct omap_dss_device *dssdev) in hdmic_disable() argument
111 struct panel_drv_data *ddata = to_panel_data(dssdev); in hdmic_disable()
116 if (!omapdss_device_is_enabled(dssdev)) in hdmic_disable()
121 dssdev->state = OMAP_DSS_DISPLAY_DISABLED; in hdmic_disable()
124 static void hdmic_set_timings(struct omap_dss_device *dssdev, in hdmic_set_timings() argument
127 struct panel_drv_data *ddata = to_panel_data(dssdev); in hdmic_set_timings()
131 dssdev->panel.timings = *timings; in hdmic_set_timings()
136 static void hdmic_get_timings(struct omap_dss_device *dssdev, in hdmic_get_timings() argument
139 struct panel_drv_data *ddata = to_panel_data(dssdev); in hdmic_get_timings()
144 static int hdmic_check_timings(struct omap_dss_device *dssdev, in hdmic_check_timings() argument
147 struct panel_drv_data *ddata = to_panel_data(dssdev); in hdmic_check_timings()
153 static int hdmic_read_edid(struct omap_dss_device *dssdev, in hdmic_read_edid() argument
156 struct panel_drv_data *ddata = to_panel_data(dssdev); in hdmic_read_edid()
162 static bool hdmic_detect(struct omap_dss_device *dssdev) in hdmic_detect() argument
164 struct panel_drv_data *ddata = to_panel_data(dssdev); in hdmic_detect()
173 static int hdmic_set_hdmi_mode(struct omap_dss_device *dssdev, bool hdmi_mode) in hdmic_set_hdmi_mode() argument
175 struct panel_drv_data *ddata = to_panel_data(dssdev); in hdmic_set_hdmi_mode()
181 static int hdmic_set_infoframe(struct omap_dss_device *dssdev, in hdmic_set_infoframe() argument
184 struct panel_drv_data *ddata = to_panel_data(dssdev); in hdmic_set_infoframe()
213 struct omap_dss_device *in, *dssdev; in hdmic_probe_pdata() local
227 dssdev = &ddata->dssdev; in hdmic_probe_pdata()
228 dssdev->name = pdata->name; in hdmic_probe_pdata()
261 struct omap_dss_device *dssdev; in hdmic_probe() local
292 dssdev = &ddata->dssdev; in hdmic_probe()
293 dssdev->driver = &hdmic_driver; in hdmic_probe()
294 dssdev->dev = &pdev->dev; in hdmic_probe()
295 dssdev->type = OMAP_DISPLAY_TYPE_HDMI; in hdmic_probe()
296 dssdev->owner = THIS_MODULE; in hdmic_probe()
297 dssdev->panel.timings = hdmic_default_timings; in hdmic_probe()
299 r = omapdss_register_display(dssdev); in hdmic_probe()
314 struct omap_dss_device *dssdev = &ddata->dssdev; in hdmic_remove() local
317 omapdss_unregister_display(&ddata->dssdev); in hdmic_remove()
319 hdmic_disable(dssdev); in hdmic_remove()
320 hdmic_disconnect(dssdev); in hdmic_remove()