Lines Matching refs:dssdev

39 	struct omap_dss_device dssdev;  member
53 #define to_panel_data(x) container_of(x, struct panel_drv_data, dssdev)
55 static int hdmic_connect(struct omap_dss_device *dssdev) in hdmic_connect() argument
57 struct panel_drv_data *ddata = to_panel_data(dssdev); in hdmic_connect()
63 if (omapdss_device_is_connected(dssdev)) in hdmic_connect()
72 r = in->ops.hdmi->connect(in, dssdev); in hdmic_connect()
82 static void hdmic_disconnect(struct omap_dss_device *dssdev) in hdmic_disconnect() argument
84 struct panel_drv_data *ddata = to_panel_data(dssdev); in hdmic_disconnect()
89 if (!omapdss_device_is_connected(dssdev)) in hdmic_disconnect()
92 in->ops.hdmi->disconnect(in, dssdev); in hdmic_disconnect()
98 static int hdmic_enable(struct omap_dss_device *dssdev) in hdmic_enable() argument
100 struct panel_drv_data *ddata = to_panel_data(dssdev); in hdmic_enable()
106 if (!omapdss_device_is_connected(dssdev)) in hdmic_enable()
109 if (omapdss_device_is_enabled(dssdev)) in hdmic_enable()
118 dssdev->state = OMAP_DSS_DISPLAY_ACTIVE; in hdmic_enable()
123 static void hdmic_disable(struct omap_dss_device *dssdev) in hdmic_disable() argument
125 struct panel_drv_data *ddata = to_panel_data(dssdev); in hdmic_disable()
130 if (!omapdss_device_is_enabled(dssdev)) in hdmic_disable()
135 dssdev->state = OMAP_DSS_DISPLAY_DISABLED; in hdmic_disable()
138 static void hdmic_set_timings(struct omap_dss_device *dssdev, in hdmic_set_timings() argument
141 struct panel_drv_data *ddata = to_panel_data(dssdev); in hdmic_set_timings()
145 dssdev->panel.vm = *vm; in hdmic_set_timings()
150 static void hdmic_get_timings(struct omap_dss_device *dssdev, in hdmic_get_timings() argument
153 struct panel_drv_data *ddata = to_panel_data(dssdev); in hdmic_get_timings()
158 static int hdmic_check_timings(struct omap_dss_device *dssdev, in hdmic_check_timings() argument
161 struct panel_drv_data *ddata = to_panel_data(dssdev); in hdmic_check_timings()
167 static int hdmic_read_edid(struct omap_dss_device *dssdev, in hdmic_read_edid() argument
170 struct panel_drv_data *ddata = to_panel_data(dssdev); in hdmic_read_edid()
176 static bool hdmic_detect(struct omap_dss_device *dssdev) in hdmic_detect() argument
178 struct panel_drv_data *ddata = to_panel_data(dssdev); in hdmic_detect()
191 static int hdmic_register_hpd_cb(struct omap_dss_device *dssdev, in hdmic_register_hpd_cb() argument
196 struct panel_drv_data *ddata = to_panel_data(dssdev); in hdmic_register_hpd_cb()
212 static void hdmic_unregister_hpd_cb(struct omap_dss_device *dssdev) in hdmic_unregister_hpd_cb() argument
214 struct panel_drv_data *ddata = to_panel_data(dssdev); in hdmic_unregister_hpd_cb()
227 static void hdmic_enable_hpd(struct omap_dss_device *dssdev) in hdmic_enable_hpd() argument
229 struct panel_drv_data *ddata = to_panel_data(dssdev); in hdmic_enable_hpd()
241 static void hdmic_disable_hpd(struct omap_dss_device *dssdev) in hdmic_disable_hpd() argument
243 struct panel_drv_data *ddata = to_panel_data(dssdev); in hdmic_disable_hpd()
255 static int hdmic_set_hdmi_mode(struct omap_dss_device *dssdev, bool hdmi_mode) in hdmic_set_hdmi_mode() argument
257 struct panel_drv_data *ddata = to_panel_data(dssdev); in hdmic_set_hdmi_mode()
263 static int hdmic_set_infoframe(struct omap_dss_device *dssdev, in hdmic_set_infoframe() argument
266 struct panel_drv_data *ddata = to_panel_data(dssdev); in hdmic_set_infoframe()
301 if (hdmic_detect(&ddata->dssdev)) in hdmic_hpd_isr()
332 struct omap_dss_device *dssdev; in hdmic_probe() local
366 dssdev = &ddata->dssdev; in hdmic_probe()
367 dssdev->driver = &hdmic_driver; in hdmic_probe()
368 dssdev->dev = &pdev->dev; in hdmic_probe()
369 dssdev->type = OMAP_DISPLAY_TYPE_HDMI; in hdmic_probe()
370 dssdev->owner = THIS_MODULE; in hdmic_probe()
371 dssdev->panel.vm = hdmic_default_vm; in hdmic_probe()
373 r = omapdss_register_display(dssdev); in hdmic_probe()
385 struct omap_dss_device *dssdev = &ddata->dssdev; in hdmic_remove() local
387 omapdss_unregister_display(&ddata->dssdev); in hdmic_remove()
389 hdmic_disable(dssdev); in hdmic_remove()
390 hdmic_disconnect(dssdev); in hdmic_remove()