Lines Matching refs:dssdev

21 	struct omap_dss_device dssdev;  member
52 #define to_panel_data(x) container_of(x, struct panel_drv_data, dssdev)
54 static int tvc_connect(struct omap_dss_device *dssdev) in tvc_connect() argument
56 struct panel_drv_data *ddata = to_panel_data(dssdev); in tvc_connect()
62 if (omapdss_device_is_connected(dssdev)) in tvc_connect()
65 r = in->ops.atv->connect(in, dssdev); in tvc_connect()
72 static void tvc_disconnect(struct omap_dss_device *dssdev) in tvc_disconnect() argument
74 struct panel_drv_data *ddata = to_panel_data(dssdev); in tvc_disconnect()
79 if (!omapdss_device_is_connected(dssdev)) in tvc_disconnect()
82 in->ops.atv->disconnect(in, dssdev); in tvc_disconnect()
85 static int tvc_enable(struct omap_dss_device *dssdev) in tvc_enable() argument
87 struct panel_drv_data *ddata = to_panel_data(dssdev); in tvc_enable()
93 if (!omapdss_device_is_connected(dssdev)) in tvc_enable()
96 if (omapdss_device_is_enabled(dssdev)) in tvc_enable()
112 dssdev->state = OMAP_DSS_DISPLAY_ACTIVE; in tvc_enable()
117 static void tvc_disable(struct omap_dss_device *dssdev) in tvc_disable() argument
119 struct panel_drv_data *ddata = to_panel_data(dssdev); in tvc_disable()
124 if (!omapdss_device_is_enabled(dssdev)) in tvc_disable()
129 dssdev->state = OMAP_DSS_DISPLAY_DISABLED; in tvc_disable()
132 static void tvc_set_timings(struct omap_dss_device *dssdev, in tvc_set_timings() argument
135 struct panel_drv_data *ddata = to_panel_data(dssdev); in tvc_set_timings()
139 dssdev->panel.timings = *timings; in tvc_set_timings()
144 static void tvc_get_timings(struct omap_dss_device *dssdev, in tvc_get_timings() argument
147 struct panel_drv_data *ddata = to_panel_data(dssdev); in tvc_get_timings()
152 static int tvc_check_timings(struct omap_dss_device *dssdev, in tvc_check_timings() argument
155 struct panel_drv_data *ddata = to_panel_data(dssdev); in tvc_check_timings()
161 static u32 tvc_get_wss(struct omap_dss_device *dssdev) in tvc_get_wss() argument
163 struct panel_drv_data *ddata = to_panel_data(dssdev); in tvc_get_wss()
169 static int tvc_set_wss(struct omap_dss_device *dssdev, u32 wss) in tvc_set_wss() argument
171 struct panel_drv_data *ddata = to_panel_data(dssdev); in tvc_set_wss()
198 struct omap_dss_device *in, *dssdev; in tvc_probe_pdata() local
213 dssdev = &ddata->dssdev; in tvc_probe_pdata()
214 dssdev->name = pdata->name; in tvc_probe_pdata()
239 struct omap_dss_device *dssdev; in tvc_probe() local
263 dssdev = &ddata->dssdev; in tvc_probe()
264 dssdev->driver = &tvc_driver; in tvc_probe()
265 dssdev->dev = &pdev->dev; in tvc_probe()
266 dssdev->type = OMAP_DISPLAY_TYPE_VENC; in tvc_probe()
267 dssdev->owner = THIS_MODULE; in tvc_probe()
268 dssdev->panel.timings = tvc_pal_timings; in tvc_probe()
270 r = omapdss_register_display(dssdev); in tvc_probe()
285 struct omap_dss_device *dssdev = &ddata->dssdev; in tvc_remove() local
288 omapdss_unregister_display(&ddata->dssdev); in tvc_remove()
290 tvc_disable(dssdev); in tvc_remove()
291 tvc_disconnect(dssdev); in tvc_remove()