Lines Matching refs:dssdev

37 	struct omap_dss_device dssdev;  member
47 #define to_panel_data(x) container_of(x, struct panel_drv_data, dssdev)
49 static int hdmic_connect(struct omap_dss_device *dssdev) in hdmic_connect() argument
51 struct panel_drv_data *ddata = to_panel_data(dssdev); in hdmic_connect()
56 if (omapdss_device_is_connected(dssdev)) in hdmic_connect()
59 return in->ops.hdmi->connect(in, dssdev); in hdmic_connect()
62 static void hdmic_disconnect(struct omap_dss_device *dssdev) in hdmic_disconnect() argument
64 struct panel_drv_data *ddata = to_panel_data(dssdev); in hdmic_disconnect()
69 if (!omapdss_device_is_connected(dssdev)) in hdmic_disconnect()
72 in->ops.hdmi->disconnect(in, dssdev); in hdmic_disconnect()
75 static int hdmic_enable(struct omap_dss_device *dssdev) in hdmic_enable() argument
77 struct panel_drv_data *ddata = to_panel_data(dssdev); in hdmic_enable()
83 if (!omapdss_device_is_connected(dssdev)) in hdmic_enable()
86 if (omapdss_device_is_enabled(dssdev)) in hdmic_enable()
95 dssdev->state = OMAP_DSS_DISPLAY_ACTIVE; in hdmic_enable()
100 static void hdmic_disable(struct omap_dss_device *dssdev) in hdmic_disable() argument
102 struct panel_drv_data *ddata = to_panel_data(dssdev); in hdmic_disable()
107 if (!omapdss_device_is_enabled(dssdev)) in hdmic_disable()
112 dssdev->state = OMAP_DSS_DISPLAY_DISABLED; in hdmic_disable()
115 static void hdmic_set_timings(struct omap_dss_device *dssdev, in hdmic_set_timings() argument
118 struct panel_drv_data *ddata = to_panel_data(dssdev); in hdmic_set_timings()
122 dssdev->panel.timings = *timings; in hdmic_set_timings()
127 static void hdmic_get_timings(struct omap_dss_device *dssdev, in hdmic_get_timings() argument
130 struct panel_drv_data *ddata = to_panel_data(dssdev); in hdmic_get_timings()
135 static int hdmic_check_timings(struct omap_dss_device *dssdev, in hdmic_check_timings() argument
138 struct panel_drv_data *ddata = to_panel_data(dssdev); in hdmic_check_timings()
144 static int hdmic_read_edid(struct omap_dss_device *dssdev, in hdmic_read_edid() argument
147 struct panel_drv_data *ddata = to_panel_data(dssdev); in hdmic_read_edid()
153 static bool hdmic_detect(struct omap_dss_device *dssdev) in hdmic_detect() argument
155 struct panel_drv_data *ddata = to_panel_data(dssdev); in hdmic_detect()
164 static int hdmic_set_hdmi_mode(struct omap_dss_device *dssdev, bool hdmi_mode) in hdmic_set_hdmi_mode() argument
166 struct panel_drv_data *ddata = to_panel_data(dssdev); in hdmic_set_hdmi_mode()
172 static int hdmic_set_infoframe(struct omap_dss_device *dssdev, in hdmic_set_infoframe() argument
175 struct panel_drv_data *ddata = to_panel_data(dssdev); in hdmic_set_infoframe()
228 struct omap_dss_device *dssdev; in hdmic_probe() local
254 dssdev = &ddata->dssdev; in hdmic_probe()
255 dssdev->driver = &hdmic_driver; in hdmic_probe()
256 dssdev->dev = &pdev->dev; in hdmic_probe()
257 dssdev->type = OMAP_DISPLAY_TYPE_HDMI; in hdmic_probe()
258 dssdev->owner = THIS_MODULE; in hdmic_probe()
259 dssdev->panel.timings = hdmic_default_timings; in hdmic_probe()
261 r = omapdss_register_display(dssdev); in hdmic_probe()
276 struct omap_dss_device *dssdev = &ddata->dssdev; in hdmic_remove() local
279 omapdss_unregister_display(&ddata->dssdev); in hdmic_remove()
281 hdmic_disable(dssdev); in hdmic_remove()
282 hdmic_disconnect(dssdev); in hdmic_remove()