Lines Matching defs:dsidev
121 #define REG_GET(dsidev, idx, start, end) \ argument
124 #define REG_FLD_MOD(dsidev, idx, val, start, end) \ argument
278 struct platform_device *dsidev; member
395 struct platform_device *dsidev; member
411 static inline struct dsi_data *dsi_get_dsidrv_data(struct platform_device *dsidev) in dsi_get_dsidrv_data()
442 static inline void dsi_write_reg(struct platform_device *dsidev, in dsi_write_reg()
458 static inline u32 dsi_read_reg(struct platform_device *dsidev, in dsi_read_reg()
476 struct platform_device *dsidev = dsi_get_dsidev_from_dssdev(dssdev); in dsi_bus_lock() local
484 struct platform_device *dsidev = dsi_get_dsidev_from_dssdev(dssdev); in dsi_bus_unlock() local
490 static bool dsi_bus_is_locked(struct platform_device *dsidev) in dsi_bus_is_locked()
502 static inline int wait_for_bit_change(struct platform_device *dsidev, in wait_for_bit_change()
547 static void dsi_perf_mark_setup(struct platform_device *dsidev) in dsi_perf_mark_setup()
553 static void dsi_perf_mark_start(struct platform_device *dsidev) in dsi_perf_mark_start()
559 static void dsi_perf_show(struct platform_device *dsidev, const char *name) in dsi_perf_show()
596 static inline void dsi_perf_mark_setup(struct platform_device *dsidev) in dsi_perf_mark_setup()
600 static inline void dsi_perf_mark_start(struct platform_device *dsidev) in dsi_perf_mark_start()
604 static inline void dsi_perf_show(struct platform_device *dsidev, in dsi_perf_show()
702 static void dsi_collect_irq_stats(struct platform_device *dsidev, u32 irqstatus, in dsi_collect_irq_stats()
721 #define dsi_collect_irq_stats(dsidev, irqstatus, vcstatus, ciostatus) argument
726 static void dsi_handle_irq_errors(struct platform_device *dsidev, u32 irqstatus, in dsi_handle_irq_errors()
798 struct platform_device *dsidev; in omap_dsi_irq_handler() local
868 static void _omap_dsi_configure_irqs(struct platform_device *dsidev, in _omap_dsi_configure_irqs()
901 static void _omap_dsi_set_irqs(struct platform_device *dsidev) in _omap_dsi_set_irqs()
914 static void _omap_dsi_set_irqs_vc(struct platform_device *dsidev, int vc) in _omap_dsi_set_irqs_vc()
925 static void _omap_dsi_set_irqs_cio(struct platform_device *dsidev) in _omap_dsi_set_irqs_cio()
935 static void _dsi_initialize_irq(struct platform_device *dsidev) in _dsi_initialize_irq()
1009 static int dsi_register_isr(struct platform_device *dsidev, omap_dsi_isr_t isr, in dsi_register_isr()
1029 static int dsi_unregister_isr(struct platform_device *dsidev, in dsi_unregister_isr()
1049 static int dsi_register_isr_vc(struct platform_device *dsidev, int channel, in dsi_register_isr_vc()
1070 static int dsi_unregister_isr_vc(struct platform_device *dsidev, int channel, in dsi_unregister_isr_vc()
1091 static int dsi_register_isr_cio(struct platform_device *dsidev, in dsi_register_isr_cio()
1111 static int dsi_unregister_isr_cio(struct platform_device *dsidev, in dsi_unregister_isr_cio()
1131 static u32 dsi_get_errors(struct platform_device *dsidev) in dsi_get_errors()
1143 static int dsi_runtime_get(struct platform_device *dsidev) in dsi_runtime_get()
1155 static void dsi_runtime_put(struct platform_device *dsidev) in dsi_runtime_put()
1166 static int dsi_regulator_init(struct platform_device *dsidev) in dsi_regulator_init()
1187 static void _dsi_print_reset_status(struct platform_device *dsidev) in _dsi_print_reset_status()
1223 static inline int dsi_if_enable(struct platform_device *dsidev, bool enable) in dsi_if_enable()
1238 static unsigned long dsi_get_pll_hsdiv_dispc_rate(struct platform_device *dsidev) in dsi_get_pll_hsdiv_dispc_rate()
1245 static unsigned long dsi_get_pll_hsdiv_dsi_rate(struct platform_device *dsidev) in dsi_get_pll_hsdiv_dsi_rate()
1252 static unsigned long dsi_get_txbyteclkhs(struct platform_device *dsidev) in dsi_get_txbyteclkhs()
1259 static unsigned long dsi_fclk_rate(struct platform_device *dsidev) in dsi_fclk_rate()
1294 static int dsi_set_lp_clk_divisor(struct platform_device *dsidev) in dsi_set_lp_clk_divisor()
1325 static void dsi_enable_scp_clk(struct platform_device *dsidev) in dsi_enable_scp_clk()
1333 static void dsi_disable_scp_clk(struct platform_device *dsidev) in dsi_disable_scp_clk()
1349 static int dsi_pll_power(struct platform_device *dsidev, in dsi_pll_power()
1389 struct platform_device *dsidev = dsi->pdev; in dsi_pll_enable() local
1447 static void dsi_pll_uninit(struct platform_device *dsidev, bool disconnect_lanes) in dsi_pll_uninit()
1467 struct platform_device *dsidev = dsi->pdev; in dsi_pll_disable() local
1472 static void dsi_dump_dsidev_clocks(struct platform_device *dsidev, in dsi_dump_dsidev_clocks()
1534 struct platform_device *dsidev; in dsi_dump_clocks() local
1545 static void dsi_dump_dsidev_irqs(struct platform_device *dsidev, in dsi_dump_dsidev_irqs()
1636 struct platform_device *dsidev = dsi_get_dsidev_from_id(0); in dsi1_dump_irqs() local
1643 struct platform_device *dsidev = dsi_get_dsidev_from_id(1); in dsi2_dump_irqs() local
1649 static void dsi_dump_dsidev_regs(struct platform_device *dsidev, in dsi_dump_dsidev_regs()
1735 struct platform_device *dsidev = dsi_get_dsidev_from_id(0); in dsi1_dump_regs() local
1742 struct platform_device *dsidev = dsi_get_dsidev_from_id(1); in dsi2_dump_regs() local
1753 static int dsi_cio_power(struct platform_device *dsidev, in dsi_cio_power()
1775 static unsigned dsi_get_line_buf_size(struct platform_device *dsidev) in dsi_get_line_buf_size()
1809 static int dsi_set_lane_config(struct platform_device *dsidev) in dsi_set_lane_config()
1857 static inline unsigned ns2ddr(struct platform_device *dsidev, unsigned ns) in ns2ddr()
1866 static inline unsigned ddr2ns(struct platform_device *dsidev, unsigned ddr) in ddr2ns()
1874 static void dsi_cio_timings(struct platform_device *dsidev) in dsi_cio_timings()
1952 static void dsi_cio_enable_lane_override(struct platform_device *dsidev, in dsi_cio_enable_lane_override()
1992 static void dsi_cio_disable_lane_override(struct platform_device *dsidev) in dsi_cio_disable_lane_override()
2001 static int dsi_cio_wait_tx_clk_esc_reset(struct platform_device *dsidev) in dsi_cio_wait_tx_clk_esc_reset()
2050 static unsigned dsi_get_lane_mask(struct platform_device *dsidev) in dsi_get_lane_mask()
2064 static int dsi_cio_init(struct platform_device *dsidev) in dsi_cio_init()
2186 static void dsi_cio_uninit(struct platform_device *dsidev) in dsi_cio_uninit()
2198 static void dsi_config_tx_fifo(struct platform_device *dsidev, in dsi_config_tx_fifo()
2231 static void dsi_config_rx_fifo(struct platform_device *dsidev, in dsi_config_rx_fifo()
2264 static int dsi_force_tx_stop_mode_io(struct platform_device *dsidev) in dsi_force_tx_stop_mode_io()
2280 static bool dsi_vc_is_enabled(struct platform_device *dsidev, int channel) in dsi_vc_is_enabled()
2297 static int dsi_sync_vc_vp(struct platform_device *dsidev, int channel) in dsi_sync_vc_vp()
2347 static int dsi_sync_vc_l4(struct platform_device *dsidev, int channel) in dsi_sync_vc_l4()
2382 static int dsi_sync_vc(struct platform_device *dsidev, int channel) in dsi_sync_vc()
2404 static int dsi_vc_enable(struct platform_device *dsidev, int channel, in dsi_vc_enable()
2423 static void dsi_vc_initial_config(struct platform_device *dsidev, int channel) in dsi_vc_initial_config()
2454 static int dsi_vc_config_source(struct platform_device *dsidev, int channel, in dsi_vc_config_source()
2493 struct platform_device *dsidev = dsi_get_dsidev_from_dssdev(dssdev); in dsi_vc_enable_hs() local
2515 static void dsi_vc_flush_long_data(struct platform_device *dsidev, int channel) in dsi_vc_flush_long_data()
2565 static u16 dsi_vc_flush_receive_data(struct platform_device *dsidev, in dsi_vc_flush_receive_data()
2595 static int dsi_vc_send_bta(struct platform_device *dsidev, int channel) in dsi_vc_send_bta()
2620 struct platform_device *dsidev = dsi_get_dsidev_from_dssdev(dssdev); in dsi_vc_send_bta_sync() local
2662 static inline void dsi_vc_write_long_header(struct platform_device *dsidev, in dsi_vc_write_long_header()
2679 static inline void dsi_vc_write_long_payload(struct platform_device *dsidev, in dsi_vc_write_long_payload()
2692 static int dsi_vc_send_long(struct platform_device *dsidev, int channel, in dsi_vc_send_long()
2756 static int dsi_vc_send_short(struct platform_device *dsidev, int channel, in dsi_vc_send_short()
2788 struct platform_device *dsidev = dsi_get_dsidev_from_dssdev(dssdev); in dsi_vc_send_null() local
2794 static int dsi_vc_write_nosync_common(struct platform_device *dsidev, in dsi_vc_write_nosync_common()
2827 struct platform_device *dsidev = dsi_get_dsidev_from_dssdev(dssdev); in dsi_vc_dcs_write_nosync() local
2836 struct platform_device *dsidev = dsi_get_dsidev_from_dssdev(dssdev); in dsi_vc_generic_write_nosync() local
2845 struct platform_device *dsidev = dsi_get_dsidev_from_dssdev(dssdev); in dsi_vc_write_common() local
2885 static int dsi_vc_dcs_send_read_request(struct platform_device *dsidev, in dsi_vc_dcs_send_read_request()
2905 static int dsi_vc_generic_send_read_request(struct platform_device *dsidev, in dsi_vc_generic_send_read_request()
2941 static int dsi_vc_read_rx_fifo(struct platform_device *dsidev, int channel, in dsi_vc_read_rx_fifo()
3053 struct platform_device *dsidev = dsi_get_dsidev_from_dssdev(dssdev); in dsi_vc_dcs_read() local
3083 struct platform_device *dsidev = dsi_get_dsidev_from_dssdev(dssdev); in dsi_vc_generic_read() local
3110 struct platform_device *dsidev = dsi_get_dsidev_from_dssdev(dssdev); in dsi_vc_set_max_rx_packet_size() local
3116 static int dsi_enter_ulps(struct platform_device *dsidev) in dsi_enter_ulps()
3210 static void dsi_set_lp_rx_timeout(struct platform_device *dsidev, in dsi_set_lp_rx_timeout()
3237 static void dsi_set_ta_timeout(struct platform_device *dsidev, unsigned ticks, in dsi_set_ta_timeout()
3264 static void dsi_set_stop_state_counter(struct platform_device *dsidev, in dsi_set_stop_state_counter()
3291 static void dsi_set_hs_tx_timeout(struct platform_device *dsidev, in dsi_set_hs_tx_timeout()
3318 static void dsi_config_vp_num_line_buffers(struct platform_device *dsidev) in dsi_config_vp_num_line_buffers()
3343 static void dsi_config_vp_sync_events(struct platform_device *dsidev) in dsi_config_vp_sync_events()
3365 static void dsi_config_blanking_modes(struct platform_device *dsidev) in dsi_config_blanking_modes()
3448 static void dsi_config_cmd_mode_interleaving(struct platform_device *dsidev) in dsi_config_cmd_mode_interleaving()
3565 static int dsi_proto_config(struct platform_device *dsidev) in dsi_proto_config()
3635 static void dsi_proto_timings(struct platform_device *dsidev) in dsi_proto_timings()
3751 struct platform_device *dsidev = dsi_get_dsidev_from_dssdev(dssdev); in dsi_configure_pins() local
3817 struct platform_device *dsidev = dsi_get_dsidev_from_dssdev(dssdev); in dsi_enable_video_output() local
3888 struct platform_device *dsidev = dsi_get_dsidev_from_dssdev(dssdev); in dsi_disable_video_output() local
3908 static void dsi_update_screen_dispc(struct platform_device *dsidev) in dsi_update_screen_dispc()
3997 static void dsi_handle_framedone(struct platform_device *dsidev, int error) in dsi_handle_framedone()
4033 struct platform_device *dsidev = (struct platform_device *) data; in dsi_framedone_irq_callback() local
4049 struct platform_device *dsidev = dsi_get_dsidev_from_dssdev(dssdev); in dsi_update() local
4074 static int dsi_configure_dispc_clocks(struct platform_device *dsidev) in dsi_configure_dispc_clocks()
4097 static int dsi_display_init_dispc(struct platform_device *dsidev, in dsi_display_init_dispc()
4156 static void dsi_display_uninit_dispc(struct platform_device *dsidev, in dsi_display_uninit_dispc()
4168 static int dsi_configure_dsi_clocks(struct platform_device *dsidev) in dsi_configure_dsi_clocks()
4185 static int dsi_display_init_dsi(struct platform_device *dsidev) in dsi_display_init_dsi()
4239 static void dsi_display_uninit_dsi(struct platform_device *dsidev, in dsi_display_uninit_dsi()
4261 struct platform_device *dsidev = dsi_get_dsidev_from_dssdev(dssdev); in dsi_display_enable() local
4296 struct platform_device *dsidev = dsi_get_dsidev_from_dssdev(dssdev); in dsi_display_disable() local
4319 struct platform_device *dsidev = dsi_get_dsidev_from_dssdev(dssdev); in dsi_enable_te() local
4803 struct platform_device *dsidev = dsi_get_dsidev_from_dssdev(dssdev); in dsi_set_config() local
4901 struct platform_device *dsidev = dsi_get_dsidev_from_dssdev(dssdev); in dsi_request_vc() local
4919 struct platform_device *dsidev = dsi_get_dsidev_from_dssdev(dssdev); in dsi_set_vc_id() local
4945 struct platform_device *dsidev = dsi_get_dsidev_from_dssdev(dssdev); in dsi_release_vc() local
4956 static int dsi_get_clocks(struct platform_device *dsidev) in dsi_get_clocks()
4975 struct platform_device *dsidev = dsi_get_dsidev_from_dssdev(dssdev); in dsi_connect() local
5055 static void dsi_init_output(struct platform_device *dsidev) in dsi_init_output()
5073 static void dsi_uninit_output(struct platform_device *dsidev) in dsi_uninit_output()
5218 static int dsi_init_pll_data(struct platform_device *dsidev) in dsi_init_pll_data()
5270 struct platform_device *dsidev = to_platform_device(dev); in dsi_bind() local
5479 struct platform_device *dsidev = to_platform_device(dev); in dsi_unbind() local