Home
last modified time | relevance | path

Searched refs:dssdev (Results 1 – 25 of 37) sorted by relevance

12

/linux/drivers/video/fbdev/omap2/omapfb/dss/
H A Ddisplay-sysfs.c51 r = dssdev->driver->enable(dssdev); in display_enabled_store()
55 dssdev->driver->disable(dssdev); in display_enabled_store()
65 dssdev->driver->get_te(dssdev) : 0); in display_tear_show()
81 r = dssdev->driver->enable_te(dssdev, te); in display_tear_store()
95 dssdev->driver->get_timings(dssdev, &t); in display_timings_show()
132 dssdev->driver->disable(dssdev); in display_timings_store()
133 dssdev->driver->set_timings(dssdev, &t); in display_timings_store()
134 r = dssdev->driver->enable(dssdev); in display_timings_store()
146 rotate = dssdev->driver->get_rotate(dssdev); in display_rotate_show()
205 wss = dssdev->driver->get_wss(dssdev); in display_wss_show()
[all …]
H A Ddisplay.c79 dssdev->driver->disable(dssdev); in dss_suspend_all_devices()
98 dssdev->driver->enable(dssdev); in dss_resume_all_devices()
115 dssdev->driver->disable(dssdev); in dss_disable_all_devices()
143 snprintf(dssdev->alias, sizeof(dssdev->alias), "display%d", id); in omapdss_register_display()
148 &dssdev->name); in omapdss_register_display()
151 dssdev->name = dssdev->alias; in omapdss_register_display()
185 return dssdev; in omap_dss_get_device()
208 dssdev = NULL; in omap_dss_get_next_device()
238 dssdev = NULL; in omap_dss_get_next_device()
241 return dssdev; in omap_dss_get_next_device()
[all …]
H A Dhdmi4.c151 r = hdmi_power_on_core(dssdev); in hdmi_power_on_full()
218 hdmi_power_off_core(dssdev); in hdmi_power_on_full()
236 hdmi_power_off_core(dssdev); in hdmi_power_off_full()
374 hdmi_power_off_full(dssdev); in hdmi_display_disable()
407 hdmi_power_off_core(dssdev); in hdmi_core_disable()
444 WARN_ON(dst != dssdev->dst); in hdmi_disconnect()
446 if (dst != dssdev->dst) in hdmi_disconnect()
451 if (dssdev->manager) in hdmi_disconnect()
452 dss_mgr_disconnect(dssdev->manager, dssdev); in hdmi_disconnect()
462 r = hdmi_core_enable(dssdev); in hdmi_read_edid()
[all …]
H A Dhdmi5.c167 r = hdmi_power_on_core(dssdev); in hdmi_power_on_full()
235 hdmi_power_off_core(dssdev); in hdmi_power_on_full()
253 hdmi_power_off_core(dssdev); in hdmi_power_off_full()
404 hdmi_power_off_full(dssdev); in hdmi_display_disable()
437 hdmi_power_off_core(dssdev); in hdmi_core_disable()
474 WARN_ON(dst != dssdev->dst); in hdmi_disconnect()
476 if (dst != dssdev->dst) in hdmi_disconnect()
481 if (dssdev->manager) in hdmi_disconnect()
482 dss_mgr_disconnect(dssdev->manager, dssdev); in hdmi_disconnect()
494 r = hdmi_core_enable(dssdev); in hdmi_read_edid()
[all …]
H A Dsdi.c167 sdi_config_lcd_manager(dssdev); in sdi_display_enable()
269 static int sdi_connect(struct omap_dss_device *dssdev, in sdi_connect() argument
283 r = dss_mgr_connect(mgr, dssdev); in sdi_connect()
287 r = omapdss_output_set_device(dssdev, dst); in sdi_connect()
291 dss_mgr_disconnect(mgr, dssdev); in sdi_connect()
298 static void sdi_disconnect(struct omap_dss_device *dssdev, in sdi_disconnect() argument
301 WARN_ON(dst != dssdev->dst); in sdi_disconnect()
303 if (dst != dssdev->dst) in sdi_disconnect()
306 omapdss_output_unset_device(dssdev); in sdi_disconnect()
308 if (dssdev->manager) in sdi_disconnect()
[all …]
H A Doutput.c21 struct omap_dss_device *dssdev) in omapdss_output_set_device() argument
34 if (out->output_type != dssdev->type) { in omapdss_output_set_device()
40 out->dst = dssdev; in omapdss_output_set_device()
41 dssdev->src = out; in omapdss_output_set_device()
149 struct omap_dss_device *omapdss_find_output_from_display(struct omap_dss_device *dssdev) in omapdss_find_output_from_display() argument
151 while (dssdev->src) in omapdss_find_output_from_display()
152 dssdev = dssdev->src; in omapdss_find_output_from_display()
154 if (dssdev->id != 0) in omapdss_find_output_from_display()
155 return omap_dss_get_device(dssdev); in omapdss_find_output_from_display()
161 struct omap_overlay_manager *omapdss_find_mgr_from_display(struct omap_dss_device *dssdev) in omapdss_find_mgr_from_display() argument
[all …]
H A Ddpi.c52 return container_of(dssdev, struct dpi_data, output); in dpi_get_data_from_dssdev()
375 struct dpi_data *dpi = dpi_get_data_from_dssdev(dssdev); in dpi_display_enable()
648 static int dpi_connect(struct omap_dss_device *dssdev, in dpi_connect() argument
665 r = dss_mgr_connect(mgr, dssdev); in dpi_connect()
669 r = omapdss_output_set_device(dssdev, dst); in dpi_connect()
673 dss_mgr_disconnect(mgr, dssdev); in dpi_connect()
683 WARN_ON(dst != dssdev->dst); in dpi_disconnect()
685 if (dst != dssdev->dst) in dpi_disconnect()
688 omapdss_output_unset_device(dssdev); in dpi_disconnect()
690 if (dssdev->manager) in dpi_disconnect()
[all …]
/linux/drivers/video/fbdev/omap2/omapfb/displays/
H A Dencoder-opa362.c23 struct omap_dss_device dssdev; member
49 dst->src = dssdev; in opa362_connect()
50 dssdev->dst = dst; in opa362_connect()
67 WARN_ON(dst != dssdev->dst); in opa362_disconnect()
68 if (dst != dssdev->dst) in opa362_disconnect()
72 dssdev->dst = NULL; in opa362_disconnect()
215 dssdev = &ddata->dssdev; in opa362_probe()
217 dssdev->dev = &pdev->dev; in opa362_probe()
237 struct omap_dss_device *dssdev = &ddata->dssdev; in opa362_remove() local
244 opa362_disable(dssdev); in opa362_remove()
[all …]
H A Dencoder-tfp410.c19 struct omap_dss_device dssdev; member
45 dst->src = dssdev; in tfp410_connect()
46 dssdev->dst = dst; in tfp410_connect()
62 if (dst != dssdev->dst) in tfp410_disconnect()
66 dssdev->dst = NULL; in tfp410_disconnect()
199 dssdev = &ddata->dssdev; in tfp410_probe()
201 dssdev->dev = &pdev->dev; in tfp410_probe()
206 dssdev->port_num = 1; in tfp410_probe()
223 struct omap_dss_device *dssdev = &ddata->dssdev; in tfp410_remove() local
230 tfp410_disable(dssdev); in tfp410_remove()
[all …]
H A Dencoder-tpd12s015.c20 struct omap_dss_device dssdev; member
43 dst->src = dssdev; in tpd_connect()
44 dssdev->dst = dst; in tpd_connect()
63 if (dst != dssdev->dst) in tpd_disconnect()
69 dssdev->dst = NULL; in tpd_disconnect()
265 dssdev = &ddata->dssdev; in tpd_probe()
267 dssdev->dev = &pdev->dev; in tpd_probe()
271 dssdev->port_num = 1; in tpd_probe()
289 struct omap_dss_device *dssdev = &ddata->dssdev; in tpd_remove() local
296 tpd_disable(dssdev); in tpd_remove()
[all …]
H A Dconnector-analog-tv.c17 struct omap_dss_device dssdev; member
68 in->ops.atv->disconnect(in, dssdev); in tvc_disconnect()
125 dssdev->panel.timings = *timings; in tvc_set_timings()
183 struct omap_dss_device *dssdev; in tvc_probe() local
205 dssdev = &ddata->dssdev; in tvc_probe()
206 dssdev->driver = &tvc_driver; in tvc_probe()
207 dssdev->dev = &pdev->dev; in tvc_probe()
209 dssdev->owner = THIS_MODULE; in tvc_probe()
227 struct omap_dss_device *dssdev = &ddata->dssdev; in tvc_remove() local
232 tvc_disable(dssdev); in tvc_remove()
[all …]
H A Dconnector-hdmi.c38 struct omap_dss_device dssdev; member
73 in->ops.hdmi->disconnect(in, dssdev); in hdmic_disconnect()
123 dssdev->panel.timings = *timings; in hdmic_set_timings()
204 struct omap_dss_device *dssdev; in hdmic_probe() local
233 dssdev = &ddata->dssdev; in hdmic_probe()
234 dssdev->driver = &hdmic_driver; in hdmic_probe()
235 dssdev->dev = &pdev->dev; in hdmic_probe()
237 dssdev->owner = THIS_MODULE; in hdmic_probe()
255 struct omap_dss_device *dssdev = &ddata->dssdev; in hdmic_remove() local
260 hdmic_disable(dssdev); in hdmic_remove()
[all …]
H A Dpanel-dpi.c19 struct omap_dss_device dssdev; member
50 in->ops.dpi->disconnect(in, dssdev); in panel_dpi_disconnect()
102 dssdev->panel.timings = *timings; in panel_dpi_set_timings()
177 struct omap_dss_device *dssdev; in panel_dpi_probe() local
193 dssdev = &ddata->dssdev; in panel_dpi_probe()
194 dssdev->dev = &pdev->dev; in panel_dpi_probe()
195 dssdev->driver = &panel_dpi_ops; in panel_dpi_probe()
197 dssdev->owner = THIS_MODULE; in panel_dpi_probe()
217 struct omap_dss_device *dssdev = &ddata->dssdev; in panel_dpi_remove() local
222 panel_dpi_disable(dssdev); in panel_dpi_remove()
[all …]
H A Dconnector-dvi.c40 struct omap_dss_device dssdev; member
69 in->ops.dvi->disconnect(in, dssdev); in dvic_disconnect()
115 dssdev->panel.timings = *timings; in dvic_set_timings()
265 struct omap_dss_device *dssdev; in dvic_probe() local
283 dssdev = &ddata->dssdev; in dvic_probe()
284 dssdev->driver = &dvic_driver; in dvic_probe()
285 dssdev->dev = &pdev->dev; in dvic_probe()
287 dssdev->owner = THIS_MODULE; in dvic_probe()
309 struct omap_dss_device *dssdev = &ddata->dssdev; in dvic_remove() local
314 dvic_disable(dssdev); in dvic_remove()
[all …]
H A Dpanel-lgphilips-lb035q02.c40 struct omap_dss_device dssdev; member
140 in->ops.dpi->disconnect(in, dssdev); in lb035q02_disconnect()
194 dssdev->panel.timings = *timings; in lb035q02_set_timings()
258 struct omap_dss_device *dssdev; in lb035q02_panel_spi_probe() local
278 dssdev = &ddata->dssdev; in lb035q02_panel_spi_probe()
279 dssdev->dev = &spi->dev; in lb035q02_panel_spi_probe()
280 dssdev->driver = &lb035q02_ops; in lb035q02_panel_spi_probe()
282 dssdev->owner = THIS_MODULE; in lb035q02_panel_spi_probe()
302 struct omap_dss_device *dssdev = &ddata->dssdev; in lb035q02_panel_spi_remove() local
307 lb035q02_disable(dssdev); in lb035q02_panel_spi_remove()
[all …]
H A Dpanel-sharp-ls037v7dw01.c19 struct omap_dss_device dssdev; member
76 in->ops.dpi->disconnect(in, dssdev); in sharp_ls_disconnect()
154 dssdev->panel.timings = *timings; in sharp_ls_set_timings()
256 struct omap_dss_device *dssdev; in sharp_ls_probe() local
274 dssdev = &ddata->dssdev; in sharp_ls_probe()
275 dssdev->dev = &pdev->dev; in sharp_ls_probe()
276 dssdev->driver = &sharp_ls_ops; in sharp_ls_probe()
278 dssdev->owner = THIS_MODULE; in sharp_ls_probe()
298 struct omap_dss_device *dssdev = &ddata->dssdev; in sharp_ls_remove() local
303 sharp_ls_disable(dssdev); in sharp_ls_remove()
[all …]
H A Dpanel-nec-nl8048hl11.c20 struct omap_dss_device dssdev; member
134 in->ops.dpi->disconnect(in, dssdev); in nec_8048_disconnect()
188 dssdev->panel.timings = *timings; in nec_8048_set_timings()
227 struct omap_dss_device *dssdev; in nec_8048_probe() local
272 dssdev = &ddata->dssdev; in nec_8048_probe()
273 dssdev->dev = &spi->dev; in nec_8048_probe()
274 dssdev->driver = &nec_8048_ops; in nec_8048_probe()
276 dssdev->owner = THIS_MODULE; in nec_8048_probe()
296 struct omap_dss_device *dssdev = &ddata->dssdev; in nec_8048_remove() local
303 nec_8048_disable(dssdev); in nec_8048_remove()
[all …]
H A Dpanel-tpo-td028ttec1.c22 struct omap_dss_device dssdev; member
181 in->ops.dpi->disconnect(in, dssdev); in td028ttec1_panel_disconnect()
205 dssdev->state); in td028ttec1_panel_enable()
321 dssdev->panel.timings = *timings; in td028ttec1_panel_set_timings()
375 struct omap_dss_device *dssdev; in td028ttec1_panel_probe() local
406 dssdev = &ddata->dssdev; in td028ttec1_panel_probe()
407 dssdev->dev = &spi->dev; in td028ttec1_panel_probe()
408 dssdev->driver = &td028ttec1_ops; in td028ttec1_panel_probe()
410 dssdev->owner = THIS_MODULE; in td028ttec1_panel_probe()
430 struct omap_dss_device *dssdev = &ddata->dssdev; in td028ttec1_panel_remove() local
[all …]
H A Dpanel-tpo-td043mtea1.c51 struct omap_dss_device dssdev; member
410 dssdev->panel.timings = *timings; in tpo_td043_set_timings()
452 struct omap_dss_device *dssdev; in tpo_td043_probe() local
511 dssdev = &ddata->dssdev; in tpo_td043_probe()
512 dssdev->dev = &spi->dev; in tpo_td043_probe()
513 dssdev->driver = &tpo_td043_ops; in tpo_td043_probe()
515 dssdev->owner = THIS_MODULE; in tpo_td043_probe()
538 struct omap_dss_device *dssdev = &ddata->dssdev; in tpo_td043_remove() local
543 omapdss_unregister_display(dssdev); in tpo_td043_remove()
545 tpo_td043_disable(dssdev); in tpo_td043_remove()
[all …]
H A Dpanel-sony-acx565akm.c55 struct omap_dss_device dssdev; member
642 acx565akm_panel_power_off(dssdev); in acx565akm_disable()
655 dssdev->panel.timings = *timings; in acx565akm_set_timings()
694 struct omap_dss_device *dssdev; in acx565akm_probe() local
791 dssdev = &ddata->dssdev; in acx565akm_probe()
792 dssdev->dev = &spi->dev; in acx565akm_probe()
793 dssdev->driver = &acx565akm_ops; in acx565akm_probe()
795 dssdev->owner = THIS_MODULE; in acx565akm_probe()
820 struct omap_dss_device *dssdev = &ddata->dssdev; in acx565akm_remove() local
830 acx565akm_disable(dssdev); in acx565akm_remove()
[all …]
H A Dpanel-dsi-cm.c39 struct omap_dss_device dssdev; member
877 dssdev->panel.timings.x_res, in dsicm_update()
878 dssdev->panel.timings.y_res); in dsicm_update()
1074 struct omap_dss_device *dssdev = &ddata->dssdev; in dsicm_ulps_work() local
1143 dssdev = &ddata->dssdev; in dsicm_probe()
1144 dssdev->dev = dev; in dsicm_probe()
1145 dssdev->driver = &dsicm_ops; in dsicm_probe()
1148 dssdev->owner = THIS_MODULE; in dsicm_probe()
1242 struct omap_dss_device *dssdev = &ddata->dssdev; in dsicm_remove() local
1249 dsicm_disable(dssdev); in dsicm_remove()
[all …]
/linux/include/video/
H A Domapfb_dss.h438 int (*connect)(struct omap_dss_device *dssdev,
443 int (*enable)(struct omap_dss_device *dssdev);
457 int (*connect)(struct omap_dss_device *dssdev,
462 int (*enable)(struct omap_dss_device *dssdev);
476 int (*connect)(struct omap_dss_device *dssdev,
481 int (*enable)(struct omap_dss_device *dssdev);
493 int (*connect)(struct omap_dss_device *dssdev,
700 int (*update)(struct omap_dss_device *dssdev,
702 int (*sync)(struct omap_dss_device *dssdev);
786 struct omap_dss_device *dssdev);
[all …]
/linux/drivers/gpu/drm/omapdrm/dss/
H A Dbase.c41 list_del(&dssdev->list); in omapdss_device_unregister()
68 return dssdev; in omapdss_device_get()
73 put_device(dssdev->dev); in omapdss_device_put()
100 dssdev = NULL; in omapdss_device_next_output()
116 dssdev = NULL; in omapdss_device_next_output()
120 if (dssdev->id && dssdev->bridge) in omapdss_device_next_output()
124 dssdev = NULL; in omapdss_device_next_output()
129 if (dssdev) in omapdss_device_next_output()
130 omapdss_device_get(dssdev); in omapdss_device_next_output()
133 return dssdev; in omapdss_device_next_output()
[all …]
H A Doutput.c88 dssdev->dispc_channel, vm); in dss_mgr_set_timings()
95 dssdev->dispc_channel, config); in dss_mgr_set_lcd_config()
98 int dss_mgr_enable(struct omap_dss_device *dssdev) in dss_mgr_enable() argument
101 dssdev->dispc_channel); in dss_mgr_enable()
106 omap_crtc_dss_disable(dssdev->dss->mgr_ops_priv, in dss_mgr_disable()
107 dssdev->dispc_channel); in dss_mgr_disable()
113 dssdev->dispc_channel); in dss_mgr_start_update()
119 struct dss_device *dss = dssdev->dss; in dss_mgr_register_framedone_handler()
122 dssdev->dispc_channel, in dss_mgr_register_framedone_handler()
129 struct dss_device *dss = dssdev->dss; in dss_mgr_unregister_framedone_handler()
[all …]
H A Domapdss.h197 int (*update)(struct omap_dss_device *dssdev);
198 bool (*is_video_mode)(struct omap_dss_device *dssdev);
239 void omapdss_device_register(struct omap_dss_device *dssdev);
240 void omapdss_device_unregister(struct omap_dss_device *dssdev);
242 void omapdss_device_put(struct omap_dss_device *dssdev);
297 void dss_mgr_set_timings(struct omap_dss_device *dssdev,
299 void dss_mgr_set_lcd_config(struct omap_dss_device *dssdev,
301 int dss_mgr_enable(struct omap_dss_device *dssdev);
302 void dss_mgr_disable(struct omap_dss_device *dssdev);
303 void dss_mgr_start_update(struct omap_dss_device *dssdev);
[all …]

12