Lines Matching refs:dssdev

18 	struct omap_dss_device dssdev;  member
44 #define to_panel_data(x) container_of(x, struct panel_drv_data, dssdev)
46 static int tvc_connect(struct omap_dss_device *dssdev) in tvc_connect() argument
48 struct panel_drv_data *ddata = to_panel_data(dssdev); in tvc_connect()
53 if (omapdss_device_is_connected(dssdev)) in tvc_connect()
56 return in->ops.atv->connect(in, dssdev); in tvc_connect()
59 static void tvc_disconnect(struct omap_dss_device *dssdev) in tvc_disconnect() argument
61 struct panel_drv_data *ddata = to_panel_data(dssdev); in tvc_disconnect()
66 if (!omapdss_device_is_connected(dssdev)) in tvc_disconnect()
69 in->ops.atv->disconnect(in, dssdev); in tvc_disconnect()
72 static int tvc_enable(struct omap_dss_device *dssdev) in tvc_enable() argument
74 struct panel_drv_data *ddata = to_panel_data(dssdev); in tvc_enable()
80 if (!omapdss_device_is_connected(dssdev)) in tvc_enable()
83 if (omapdss_device_is_enabled(dssdev)) in tvc_enable()
99 dssdev->state = OMAP_DSS_DISPLAY_ACTIVE; in tvc_enable()
104 static void tvc_disable(struct omap_dss_device *dssdev) in tvc_disable() argument
106 struct panel_drv_data *ddata = to_panel_data(dssdev); in tvc_disable()
111 if (!omapdss_device_is_enabled(dssdev)) in tvc_disable()
116 dssdev->state = OMAP_DSS_DISPLAY_DISABLED; in tvc_disable()
119 static void tvc_set_timings(struct omap_dss_device *dssdev, in tvc_set_timings() argument
122 struct panel_drv_data *ddata = to_panel_data(dssdev); in tvc_set_timings()
126 dssdev->panel.timings = *timings; in tvc_set_timings()
131 static void tvc_get_timings(struct omap_dss_device *dssdev, in tvc_get_timings() argument
134 struct panel_drv_data *ddata = to_panel_data(dssdev); in tvc_get_timings()
139 static int tvc_check_timings(struct omap_dss_device *dssdev, in tvc_check_timings() argument
142 struct panel_drv_data *ddata = to_panel_data(dssdev); in tvc_check_timings()
148 static u32 tvc_get_wss(struct omap_dss_device *dssdev) in tvc_get_wss() argument
150 struct panel_drv_data *ddata = to_panel_data(dssdev); in tvc_get_wss()
156 static int tvc_set_wss(struct omap_dss_device *dssdev, u32 wss) in tvc_set_wss() argument
158 struct panel_drv_data *ddata = to_panel_data(dssdev); in tvc_set_wss()
185 struct omap_dss_device *in, *dssdev; in tvc_probe_pdata() local
199 dssdev = &ddata->dssdev; in tvc_probe_pdata()
200 dssdev->name = pdata->name; in tvc_probe_pdata()
225 struct omap_dss_device *dssdev; in tvc_probe() local
249 dssdev = &ddata->dssdev; in tvc_probe()
250 dssdev->driver = &tvc_driver; in tvc_probe()
251 dssdev->dev = &pdev->dev; in tvc_probe()
252 dssdev->type = OMAP_DISPLAY_TYPE_VENC; in tvc_probe()
253 dssdev->owner = THIS_MODULE; in tvc_probe()
254 dssdev->panel.timings = tvc_pal_timings; in tvc_probe()
256 r = omapdss_register_display(dssdev); in tvc_probe()
271 struct omap_dss_device *dssdev = &ddata->dssdev; in tvc_remove() local
274 omapdss_unregister_display(&ddata->dssdev); in tvc_remove()
276 tvc_disable(dssdev); in tvc_remove()
277 tvc_disconnect(dssdev); in tvc_remove()