Lines Matching refs:dssdev
50 static struct dpi_data *dpi_get_data_from_dssdev(struct omap_dss_device *dssdev) in dpi_get_data_from_dssdev() argument
52 return container_of(dssdev, struct dpi_data, output); in dpi_get_data_from_dssdev()
373 static int dpi_display_enable(struct omap_dss_device *dssdev) in dpi_display_enable() argument
375 struct dpi_data *dpi = dpi_get_data_from_dssdev(dssdev); in dpi_display_enable()
446 static void dpi_display_disable(struct omap_dss_device *dssdev) in dpi_display_disable() argument
448 struct dpi_data *dpi = dpi_get_data_from_dssdev(dssdev); in dpi_display_disable()
468 static void dpi_set_timings(struct omap_dss_device *dssdev, in dpi_set_timings() argument
471 struct dpi_data *dpi = dpi_get_data_from_dssdev(dssdev); in dpi_set_timings()
482 static void dpi_get_timings(struct omap_dss_device *dssdev, in dpi_get_timings() argument
485 struct dpi_data *dpi = dpi_get_data_from_dssdev(dssdev); in dpi_get_timings()
494 static int dpi_check_timings(struct omap_dss_device *dssdev, in dpi_check_timings() argument
497 struct dpi_data *dpi = dpi_get_data_from_dssdev(dssdev); in dpi_check_timings()
535 static void dpi_set_data_lines(struct omap_dss_device *dssdev, int data_lines) in dpi_set_data_lines() argument
537 struct dpi_data *dpi = dpi_get_data_from_dssdev(dssdev); in dpi_set_data_lines()
648 static int dpi_connect(struct omap_dss_device *dssdev, in dpi_connect() argument
651 struct dpi_data *dpi = dpi_get_data_from_dssdev(dssdev); in dpi_connect()
661 mgr = omap_dss_get_overlay_manager(dssdev->dispc_channel); in dpi_connect()
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()
680 static void dpi_disconnect(struct omap_dss_device *dssdev, in dpi_disconnect() argument
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()
691 dss_mgr_disconnect(dssdev->manager, dssdev); in dpi_disconnect()