Lines Matching full:in
40 struct omap_dss_device *in; member
51 * issue the next sleep in/out command
53 unsigned long hw_guard_wait; /* max guard time in jiffies */
108 struct omap_dss_device *in = ddata->in; in dsicm_dcs_read_1() local
112 r = in->ops.dsi->dcs_read(in, ddata->channel, dcs_cmd, buf, 1); in dsicm_dcs_read_1()
124 struct omap_dss_device *in = ddata->in; in dsicm_dcs_write_0() local
125 return in->ops.dsi->dcs_write(in, ddata->channel, &dcs_cmd, 1); in dsicm_dcs_write_0()
130 struct omap_dss_device *in = ddata->in; in dsicm_dcs_write_1() local
133 return in->ops.dsi->dcs_write(in, ddata->channel, buf, 2); in dsicm_dcs_write_1()
139 struct omap_dss_device *in = ddata->in; in dsicm_sleep_in() local
146 r = in->ops.dsi->dcs_write_nosync(in, ddata->channel, &cmd, 1); in dsicm_sleep_in()
194 struct omap_dss_device *in = ddata->in; in dsicm_set_update_window() local
208 r = in->ops.dsi->dcs_write_nosync(in, ddata->channel, buf, sizeof(buf)); in dsicm_set_update_window()
218 r = in->ops.dsi->dcs_write_nosync(in, ddata->channel, buf, sizeof(buf)); in dsicm_set_update_window()
222 in->ops.dsi->bta_sync(in, ddata->channel); in dsicm_set_update_window()
241 struct omap_dss_device *in = ddata->in; in dsicm_enter_ulps() local
256 in->ops.dsi->disable(in, false, true); in dsicm_enter_ulps()
275 struct omap_dss_device *in = ddata->in; in dsicm_exit_ulps() local
281 r = in->ops.dsi->enable(in); in dsicm_exit_ulps()
287 in->ops.dsi->enable_hs(in, ddata->channel, true); in dsicm_exit_ulps()
332 struct omap_dss_device *in = ddata->in; in dsicm_bl_update_status() local
341 in->ops.dsi->bus_lock(in); in dsicm_bl_update_status()
347 in->ops.dsi->bus_unlock(in); in dsicm_bl_update_status()
382 struct omap_dss_device *in = ddata->in; in dsicm_num_errors_show() local
389 in->ops.dsi->bus_lock(in); in dsicm_num_errors_show()
396 in->ops.dsi->bus_unlock(in); in dsicm_num_errors_show()
413 struct omap_dss_device *in = ddata->in; in dsicm_hw_revision_show() local
420 in->ops.dsi->bus_lock(in); in dsicm_hw_revision_show()
426 in->ops.dsi->bus_unlock(in); in dsicm_hw_revision_show()
444 struct omap_dss_device *in = ddata->in; in dsicm_store_ulps() local
455 in->ops.dsi->bus_lock(in); in dsicm_store_ulps()
462 in->ops.dsi->bus_unlock(in); in dsicm_store_ulps()
492 struct omap_dss_device *in = ddata->in; in dsicm_store_ulps_timeout() local
505 in->ops.dsi->bus_lock(in); in dsicm_store_ulps_timeout()
507 in->ops.dsi->bus_unlock(in); in dsicm_store_ulps_timeout()
556 * so in fact this deasserts the reset line. in dsicm_hw_reset()
572 struct omap_dss_device *in = ddata->in; in dsicm_power_on() local
586 r = in->ops.dsi->configure_pins(in, &ddata->pin_config); in dsicm_power_on()
594 r = in->ops.dsi->set_config(in, &dsi_config); in dsicm_power_on()
600 r = in->ops.dsi->enable(in); in dsicm_power_on()
608 in->ops.dsi->enable_hs(in, ddata->channel, false); in dsicm_power_on()
640 r = in->ops.dsi->enable_video_output(in, ddata->channel); in dsicm_power_on()
652 in->ops.dsi->enable_hs(in, ddata->channel, true); in dsicm_power_on()
660 in->ops.dsi->disable(in, true, false); in dsicm_power_on()
667 struct omap_dss_device *in = ddata->in; in dsicm_power_off() local
670 in->ops.dsi->disable_video_output(in, ddata->channel); in dsicm_power_off()
682 in->ops.dsi->disable(in, true, false); in dsicm_power_off()
699 struct omap_dss_device *in = ddata->in; in dsicm_connect() local
706 r = in->ops.dsi->connect(in, dssdev); in dsicm_connect()
712 r = in->ops.dsi->request_vc(ddata->in, &ddata->channel); in dsicm_connect()
718 r = in->ops.dsi->set_vc_id(ddata->in, ddata->channel, TCH); in dsicm_connect()
727 in->ops.dsi->release_vc(ddata->in, ddata->channel); in dsicm_connect()
729 in->ops.dsi->disconnect(in, dssdev); in dsicm_connect()
736 struct omap_dss_device *in = ddata->in; in dsicm_disconnect() local
741 in->ops.dsi->release_vc(in, ddata->channel); in dsicm_disconnect()
742 in->ops.dsi->disconnect(in, dssdev); in dsicm_disconnect()
748 struct omap_dss_device *in = ddata->in; in dsicm_enable() local
765 in->ops.dsi->bus_lock(in); in dsicm_enable()
769 in->ops.dsi->bus_unlock(in); in dsicm_enable()
788 struct omap_dss_device *in = ddata->in; in dsicm_disable() local
797 in->ops.dsi->bus_lock(in); in dsicm_disable()
805 in->ops.dsi->bus_unlock(in); in dsicm_disable()
815 struct omap_dss_device *in = ddata->in; in dsicm_framedone_cb() local
818 in->ops.dsi->bus_unlock(ddata->in); in dsicm_framedone_cb()
824 struct omap_dss_device *in = ddata->in; in dsicm_te_isr() local
833 r = in->ops.dsi->update(in, ddata->channel, dsicm_framedone_cb, in dsicm_te_isr()
842 in->ops.dsi->bus_unlock(in); in dsicm_te_isr()
850 struct omap_dss_device *in = ddata->in; in dsicm_te_timeout_work_callback() local
855 in->ops.dsi->bus_unlock(in); in dsicm_te_timeout_work_callback()
862 struct omap_dss_device *in = ddata->in; in dsicm_update() local
868 in->ops.dsi->bus_lock(in); in dsicm_update()
891 r = in->ops.dsi->update(in, ddata->channel, dsicm_framedone_cb, in dsicm_update()
897 /* note: no bus_unlock here. unlock is in framedone_cb */ in dsicm_update()
901 in->ops.dsi->bus_unlock(in); in dsicm_update()
909 struct omap_dss_device *in = ddata->in; in dsicm_sync() local
914 in->ops.dsi->bus_lock(in); in dsicm_sync()
915 in->ops.dsi->bus_unlock(in); in dsicm_sync()
925 struct omap_dss_device *in = ddata->in; in _dsicm_enable_te() local
934 in->ops.dsi->enable_te(in, enable); in _dsicm_enable_te()
945 struct omap_dss_device *in = ddata->in; in dsicm_enable_te() local
953 in->ops.dsi->bus_lock(in); in dsicm_enable_te()
967 in->ops.dsi->bus_unlock(in); in dsicm_enable_te()
973 in->ops.dsi->bus_unlock(in); in dsicm_enable_te()
996 struct omap_dss_device *in = ddata->in; in dsicm_memory_read() local
1016 in->ops.dsi->bus_lock(in); in dsicm_memory_read()
1032 r = in->ops.dsi->set_max_rx_packet_size(in, ddata->channel, plen); in dsicm_memory_read()
1040 r = in->ops.dsi->dcs_read(in, ddata->channel, dcs_cmd, in dsicm_memory_read()
1066 in->ops.dsi->set_max_rx_packet_size(in, ddata->channel, 1); in dsicm_memory_read()
1068 in->ops.dsi->bus_unlock(in); in dsicm_memory_read()
1079 struct omap_dss_device *in = ddata->in; in dsicm_ulps_work() local
1088 in->ops.dsi->bus_lock(in); in dsicm_ulps_work()
1092 in->ops.dsi->bus_unlock(in); in dsicm_ulps_work()
1136 ddata->in = omapdss_of_find_source_for_first_ep(pdev->dev.of_node); in dsicm_probe()
1137 r = PTR_ERR_OR_ZERO(ddata->in); in dsicm_probe()
1266 omap_dss_put_device(ddata->in); in dsicm_remove()
1270 /* reset, to be sure that the panel is in a valid state */ in dsicm_remove()