Lines Matching refs:dssdev

20 	struct omap_dss_device	dssdev;  member
83 #define to_panel_data(p) container_of(p, struct panel_drv_data, dssdev)
116 static int nec_8048_connect(struct omap_dss_device *dssdev) in nec_8048_connect() argument
118 struct panel_drv_data *ddata = to_panel_data(dssdev); in nec_8048_connect()
122 if (omapdss_device_is_connected(dssdev)) in nec_8048_connect()
125 r = in->ops.dpi->connect(in, dssdev); in nec_8048_connect()
132 static void nec_8048_disconnect(struct omap_dss_device *dssdev) in nec_8048_disconnect() argument
134 struct panel_drv_data *ddata = to_panel_data(dssdev); in nec_8048_disconnect()
137 if (!omapdss_device_is_connected(dssdev)) in nec_8048_disconnect()
140 in->ops.dpi->disconnect(in, dssdev); in nec_8048_disconnect()
143 static int nec_8048_enable(struct omap_dss_device *dssdev) in nec_8048_enable() argument
145 struct panel_drv_data *ddata = to_panel_data(dssdev); in nec_8048_enable()
149 if (!omapdss_device_is_connected(dssdev)) in nec_8048_enable()
152 if (omapdss_device_is_enabled(dssdev)) in nec_8048_enable()
166 dssdev->state = OMAP_DSS_DISPLAY_ACTIVE; in nec_8048_enable()
171 static void nec_8048_disable(struct omap_dss_device *dssdev) in nec_8048_disable() argument
173 struct panel_drv_data *ddata = to_panel_data(dssdev); in nec_8048_disable()
176 if (!omapdss_device_is_enabled(dssdev)) in nec_8048_disable()
184 dssdev->state = OMAP_DSS_DISPLAY_DISABLED; in nec_8048_disable()
187 static void nec_8048_set_timings(struct omap_dss_device *dssdev, in nec_8048_set_timings() argument
190 struct panel_drv_data *ddata = to_panel_data(dssdev); in nec_8048_set_timings()
194 dssdev->panel.timings = *timings; in nec_8048_set_timings()
199 static void nec_8048_get_timings(struct omap_dss_device *dssdev, in nec_8048_get_timings() argument
202 struct panel_drv_data *ddata = to_panel_data(dssdev); in nec_8048_get_timings()
207 static int nec_8048_check_timings(struct omap_dss_device *dssdev, in nec_8048_check_timings() argument
210 struct panel_drv_data *ddata = to_panel_data(dssdev); in nec_8048_check_timings()
262 struct omap_dss_device *dssdev; in nec_8048_probe() local
309 dssdev = &ddata->dssdev; in nec_8048_probe()
310 dssdev->dev = &spi->dev; in nec_8048_probe()
311 dssdev->driver = &nec_8048_ops; in nec_8048_probe()
312 dssdev->type = OMAP_DISPLAY_TYPE_DPI; in nec_8048_probe()
313 dssdev->owner = THIS_MODULE; in nec_8048_probe()
314 dssdev->panel.timings = ddata->videomode; in nec_8048_probe()
316 r = omapdss_register_display(dssdev); in nec_8048_probe()
333 struct omap_dss_device *dssdev = &ddata->dssdev; in nec_8048_remove() local
338 omapdss_unregister_display(dssdev); in nec_8048_remove()
340 nec_8048_disable(dssdev); in nec_8048_remove()
341 nec_8048_disconnect(dssdev); in nec_8048_remove()