Lines Matching refs:dssdev

51 	struct omap_dss_device	dssdev;  member
91 #define to_panel_data(p) container_of(p, struct panel_drv_data, dssdev)
150 static int tpo_td043_set_hmirror(struct omap_dss_device *dssdev, bool enable) in tpo_td043_set_hmirror() argument
152 struct panel_drv_data *ddata = dev_get_drvdata(dssdev->dev); in tpo_td043_set_hmirror()
159 static bool tpo_td043_get_hmirror(struct omap_dss_device *dssdev) in tpo_td043_get_hmirror() argument
161 struct panel_drv_data *ddata = dev_get_drvdata(dssdev->dev); in tpo_td043_get_hmirror()
333 static int tpo_td043_connect(struct omap_dss_device *dssdev) in tpo_td043_connect() argument
335 struct panel_drv_data *ddata = to_panel_data(dssdev); in tpo_td043_connect()
338 if (omapdss_device_is_connected(dssdev)) in tpo_td043_connect()
341 return in->ops.dpi->connect(in, dssdev); in tpo_td043_connect()
344 static void tpo_td043_disconnect(struct omap_dss_device *dssdev) in tpo_td043_disconnect() argument
346 struct panel_drv_data *ddata = to_panel_data(dssdev); in tpo_td043_disconnect()
349 if (!omapdss_device_is_connected(dssdev)) in tpo_td043_disconnect()
352 in->ops.dpi->disconnect(in, dssdev); in tpo_td043_disconnect()
355 static int tpo_td043_enable(struct omap_dss_device *dssdev) in tpo_td043_enable() argument
357 struct panel_drv_data *ddata = to_panel_data(dssdev); in tpo_td043_enable()
361 if (!omapdss_device_is_connected(dssdev)) in tpo_td043_enable()
364 if (omapdss_device_is_enabled(dssdev)) in tpo_td043_enable()
387 dssdev->state = OMAP_DSS_DISPLAY_ACTIVE; in tpo_td043_enable()
392 static void tpo_td043_disable(struct omap_dss_device *dssdev) in tpo_td043_disable() argument
394 struct panel_drv_data *ddata = to_panel_data(dssdev); in tpo_td043_disable()
397 if (!omapdss_device_is_enabled(dssdev)) in tpo_td043_disable()
405 dssdev->state = OMAP_DSS_DISPLAY_DISABLED; in tpo_td043_disable()
408 static void tpo_td043_set_timings(struct omap_dss_device *dssdev, in tpo_td043_set_timings() argument
411 struct panel_drv_data *ddata = to_panel_data(dssdev); in tpo_td043_set_timings()
415 dssdev->panel.timings = *timings; in tpo_td043_set_timings()
420 static void tpo_td043_get_timings(struct omap_dss_device *dssdev, in tpo_td043_get_timings() argument
423 struct panel_drv_data *ddata = to_panel_data(dssdev); in tpo_td043_get_timings()
428 static int tpo_td043_check_timings(struct omap_dss_device *dssdev, in tpo_td043_check_timings() argument
431 struct panel_drv_data *ddata = to_panel_data(dssdev); in tpo_td043_check_timings()
457 struct omap_dss_device *dssdev; in tpo_td043_probe() local
515 dssdev = &ddata->dssdev; in tpo_td043_probe()
516 dssdev->dev = &spi->dev; in tpo_td043_probe()
517 dssdev->driver = &tpo_td043_ops; in tpo_td043_probe()
518 dssdev->type = OMAP_DISPLAY_TYPE_DPI; in tpo_td043_probe()
519 dssdev->owner = THIS_MODULE; in tpo_td043_probe()
520 dssdev->panel.timings = ddata->videomode; in tpo_td043_probe()
522 r = omapdss_register_display(dssdev); in tpo_td043_probe()
542 struct omap_dss_device *dssdev = &ddata->dssdev; in tpo_td043_remove() local
547 omapdss_unregister_display(dssdev); in tpo_td043_remove()
549 tpo_td043_disable(dssdev); in tpo_td043_remove()
550 tpo_td043_disconnect(dssdev); in tpo_td043_remove()