Lines Matching defs:dsi
122 #define REG_GET(dsi, idx, start, end) \ argument
125 #define REG_FLD_MOD(dsi, idx, val, start, end) \ argument
284 struct dsi_data *dsi; member
431 struct dsi_data *dsi; member
466 static inline void dsi_write_reg(struct dsi_data *dsi, in dsi_write_reg()
481 static inline u32 dsi_read_reg(struct dsi_data *dsi, const struct dsi_reg idx) in dsi_read_reg()
497 struct dsi_data *dsi = to_dsi_data(dssdev); in dsi_bus_lock() local
504 struct dsi_data *dsi = to_dsi_data(dssdev); in dsi_bus_unlock() local
509 static bool dsi_bus_is_locked(struct dsi_data *dsi) in dsi_bus_is_locked()
519 static inline bool wait_for_bit_change(struct dsi_data *dsi, in wait_for_bit_change()
565 static void dsi_perf_mark_setup(struct dsi_data *dsi) in dsi_perf_mark_setup()
570 static void dsi_perf_mark_start(struct dsi_data *dsi) in dsi_perf_mark_start()
575 static void dsi_perf_show(struct dsi_data *dsi, const char *name) in dsi_perf_show()
610 static inline void dsi_perf_mark_setup(struct dsi_data *dsi) in dsi_perf_mark_setup()
614 static inline void dsi_perf_mark_start(struct dsi_data *dsi) in dsi_perf_mark_start()
618 static inline void dsi_perf_show(struct dsi_data *dsi, const char *name) in dsi_perf_show()
715 static void dsi_collect_irq_stats(struct dsi_data *dsi, u32 irqstatus, in dsi_collect_irq_stats()
733 #define dsi_collect_irq_stats(dsi, irqstatus, vcstatus, ciostatus) argument
738 static void dsi_handle_irq_errors(struct dsi_data *dsi, u32 irqstatus, in dsi_handle_irq_errors()
809 struct dsi_data *dsi = arg; in omap_dsi_irq_handler() local
875 static void _omap_dsi_configure_irqs(struct dsi_data *dsi, in _omap_dsi_configure_irqs()
909 static void _omap_dsi_set_irqs(struct dsi_data *dsi) in _omap_dsi_set_irqs()
921 static void _omap_dsi_set_irqs_vc(struct dsi_data *dsi, int vc) in _omap_dsi_set_irqs_vc()
930 static void _omap_dsi_set_irqs_cio(struct dsi_data *dsi) in _omap_dsi_set_irqs_cio()
938 static void _dsi_initialize_irq(struct dsi_data *dsi) in _dsi_initialize_irq()
1011 static int dsi_register_isr(struct dsi_data *dsi, omap_dsi_isr_t isr, in dsi_register_isr()
1030 static int dsi_unregister_isr(struct dsi_data *dsi, omap_dsi_isr_t isr, in dsi_unregister_isr()
1049 static int dsi_register_isr_vc(struct dsi_data *dsi, int channel, in dsi_register_isr_vc()
1069 static int dsi_unregister_isr_vc(struct dsi_data *dsi, int channel, in dsi_unregister_isr_vc()
1089 static int dsi_register_isr_cio(struct dsi_data *dsi, omap_dsi_isr_t isr, in dsi_register_isr_cio()
1108 static int dsi_unregister_isr_cio(struct dsi_data *dsi, omap_dsi_isr_t isr, in dsi_unregister_isr_cio()
1127 static u32 dsi_get_errors(struct dsi_data *dsi) in dsi_get_errors()
1139 static int dsi_runtime_get(struct dsi_data *dsi) in dsi_runtime_get()
1150 static void dsi_runtime_put(struct dsi_data *dsi) in dsi_runtime_put()
1160 static int dsi_regulator_init(struct dsi_data *dsi) in dsi_regulator_init()
1180 static void _dsi_print_reset_status(struct dsi_data *dsi) in _dsi_print_reset_status()
1216 static inline int dsi_if_enable(struct dsi_data *dsi, bool enable) in dsi_if_enable()
1231 static unsigned long dsi_get_pll_hsdiv_dispc_rate(struct dsi_data *dsi) in dsi_get_pll_hsdiv_dispc_rate()
1236 static unsigned long dsi_get_pll_hsdiv_dsi_rate(struct dsi_data *dsi) in dsi_get_pll_hsdiv_dsi_rate()
1241 static unsigned long dsi_get_txbyteclkhs(struct dsi_data *dsi) in dsi_get_txbyteclkhs()
1246 static unsigned long dsi_fclk_rate(struct dsi_data *dsi) in dsi_fclk_rate()
1282 static int dsi_set_lp_clk_divisor(struct dsi_data *dsi) in dsi_set_lp_clk_divisor()
1312 static void dsi_enable_scp_clk(struct dsi_data *dsi) in dsi_enable_scp_clk()
1318 static void dsi_disable_scp_clk(struct dsi_data *dsi) in dsi_disable_scp_clk()
1332 static int dsi_pll_power(struct dsi_data *dsi, enum dsi_pll_power_state state) in dsi_pll_power()
1358 static void dsi_pll_calc_dsi_fck(struct dsi_data *dsi, in dsi_pll_calc_dsi_fck()
1371 struct dsi_data *dsi = container_of(pll, struct dsi_data, pll); in dsi_pll_enable() local
1429 static void dsi_pll_uninit(struct dsi_data *dsi, bool disconnect_lanes) in dsi_pll_uninit()
1446 struct dsi_data *dsi = container_of(pll, struct dsi_data, pll); in dsi_pll_disable() local
1451 static void dsi_dump_dsi_clocks(struct dsi_data *dsi, struct seq_file *s) in dsi_dump_dsi_clocks()
1510 struct dsi_data *dsi; in dsi_dump_clocks() local
1521 static void dsi_dump_dsi_irqs(struct dsi_data *dsi, struct seq_file *s) in dsi_dump_dsi_irqs()
1610 struct dsi_data *dsi = dsi_get_dsi_from_id(0); in dsi1_dump_irqs() local
1618 struct dsi_data *dsi = dsi_get_dsi_from_id(1); in dsi2_dump_irqs() local
1625 static void dsi_dump_dsi_regs(struct dsi_data *dsi, struct seq_file *s) in dsi_dump_dsi_regs()
1710 struct dsi_data *dsi = dsi_get_dsi_from_id(0); in dsi1_dump_regs() local
1718 struct dsi_data *dsi = dsi_get_dsi_from_id(1); in dsi2_dump_regs() local
1730 static int dsi_cio_power(struct dsi_data *dsi, enum dsi_cio_power_state state) in dsi_cio_power()
1751 static unsigned int dsi_get_line_buf_size(struct dsi_data *dsi) in dsi_get_line_buf_size()
1785 static int dsi_set_lane_config(struct dsi_data *dsi) in dsi_set_lane_config()
1832 static inline unsigned int ns2ddr(struct dsi_data *dsi, unsigned int ns) in ns2ddr()
1840 static inline unsigned int ddr2ns(struct dsi_data *dsi, unsigned int ddr) in ddr2ns()
1847 static void dsi_cio_timings(struct dsi_data *dsi) in dsi_cio_timings()
1925 static void dsi_cio_enable_lane_override(struct dsi_data *dsi, in dsi_cio_enable_lane_override()
1965 static void dsi_cio_disable_lane_override(struct dsi_data *dsi) in dsi_cio_disable_lane_override()
1974 static int dsi_cio_wait_tx_clk_esc_reset(struct dsi_data *dsi) in dsi_cio_wait_tx_clk_esc_reset()
2022 static unsigned int dsi_get_lane_mask(struct dsi_data *dsi) in dsi_get_lane_mask()
2047 static int dsi_omap4_mux_pads(struct dsi_data *dsi, unsigned int lanes) in dsi_omap4_mux_pads()
2079 static int dsi_omap5_mux_pads(struct dsi_data *dsi, unsigned int lanes) in dsi_omap5_mux_pads()
2095 static int dsi_enable_pads(struct dsi_data *dsi, unsigned int lane_mask) in dsi_enable_pads()
2104 static void dsi_disable_pads(struct dsi_data *dsi) in dsi_disable_pads()
2112 static int dsi_cio_init(struct dsi_data *dsi) in dsi_cio_init()
2233 static void dsi_cio_uninit(struct dsi_data *dsi) in dsi_cio_uninit()
2243 static void dsi_config_tx_fifo(struct dsi_data *dsi, in dsi_config_tx_fifo()
2275 static void dsi_config_rx_fifo(struct dsi_data *dsi, in dsi_config_rx_fifo()
2307 static int dsi_force_tx_stop_mode_io(struct dsi_data *dsi) in dsi_force_tx_stop_mode_io()
2323 static bool dsi_vc_is_enabled(struct dsi_data *dsi, int channel) in dsi_vc_is_enabled()
2332 struct dsi_data *dsi = vp_data->dsi; in dsi_packet_sent_handler_vp() local
2340 static int dsi_sync_vc_vp(struct dsi_data *dsi, int channel) in dsi_sync_vc_vp()
2382 struct dsi_data *dsi = l4_data->dsi; in dsi_packet_sent_handler_l4() local
2389 static int dsi_sync_vc_l4(struct dsi_data *dsi, int channel) in dsi_sync_vc_l4()
2424 static int dsi_sync_vc(struct dsi_data *dsi, int channel) in dsi_sync_vc()
2444 static int dsi_vc_enable(struct dsi_data *dsi, int channel, bool enable) in dsi_vc_enable()
2461 static void dsi_vc_initial_config(struct dsi_data *dsi, int channel) in dsi_vc_initial_config()
2491 static int dsi_vc_config_source(struct dsi_data *dsi, int channel, in dsi_vc_config_source()
2528 struct dsi_data *dsi = to_dsi_data(dssdev); in dsi_vc_enable_hs() local
2549 static void dsi_vc_flush_long_data(struct dsi_data *dsi, int channel) in dsi_vc_flush_long_data()
2599 static u16 dsi_vc_flush_receive_data(struct dsi_data *dsi, int channel) in dsi_vc_flush_receive_data()
2628 static int dsi_vc_send_bta(struct dsi_data *dsi, int channel) in dsi_vc_send_bta()
2651 struct dsi_data *dsi = to_dsi_data(dssdev); in dsi_vc_send_bta_sync() local
2693 static inline void dsi_vc_write_long_header(struct dsi_data *dsi, int channel, in dsi_vc_write_long_header()
2709 static inline void dsi_vc_write_long_payload(struct dsi_data *dsi, int channel, in dsi_vc_write_long_payload()
2722 static int dsi_vc_send_long(struct dsi_data *dsi, int channel, u8 data_type, in dsi_vc_send_long()
2785 static int dsi_vc_send_short(struct dsi_data *dsi, int channel, u8 data_type, in dsi_vc_send_short()
2814 static int dsi_vc_send_null(struct dsi_data *dsi, int channel) in dsi_vc_send_null()
2819 static int dsi_vc_write_nosync_common(struct dsi_data *dsi, int channel, in dsi_vc_write_nosync_common()
2853 struct dsi_data *dsi = to_dsi_data(dssdev); in dsi_vc_dcs_write_nosync() local
2862 struct dsi_data *dsi = to_dsi_data(dssdev); in dsi_vc_generic_write_nosync() local
2872 struct dsi_data *dsi = to_dsi_data(dssdev); in dsi_vc_write_common() local
2912 static int dsi_vc_dcs_send_read_request(struct dsi_data *dsi, int channel, in dsi_vc_dcs_send_read_request()
2931 static int dsi_vc_generic_send_read_request(struct dsi_data *dsi, int channel, in dsi_vc_generic_send_read_request()
2966 static int dsi_vc_read_rx_fifo(struct dsi_data *dsi, int channel, u8 *buf, in dsi_vc_read_rx_fifo()
3077 struct dsi_data *dsi = to_dsi_data(dssdev); in dsi_vc_dcs_read() local
3107 struct dsi_data *dsi = to_dsi_data(dssdev); in dsi_vc_generic_read() local
3134 struct dsi_data *dsi = to_dsi_data(dssdev); in dsi_vc_set_max_rx_packet_size() local
3140 static int dsi_enter_ulps(struct dsi_data *dsi) in dsi_enter_ulps()
3233 static void dsi_set_lp_rx_timeout(struct dsi_data *dsi, unsigned int ticks, in dsi_set_lp_rx_timeout()
3260 static void dsi_set_ta_timeout(struct dsi_data *dsi, unsigned int ticks, in dsi_set_ta_timeout()
3287 static void dsi_set_stop_state_counter(struct dsi_data *dsi, unsigned int ticks, in dsi_set_stop_state_counter()
3314 static void dsi_set_hs_tx_timeout(struct dsi_data *dsi, unsigned int ticks, in dsi_set_hs_tx_timeout()
3341 static void dsi_config_vp_num_line_buffers(struct dsi_data *dsi) in dsi_config_vp_num_line_buffers()
3365 static void dsi_config_vp_sync_events(struct dsi_data *dsi) in dsi_config_vp_sync_events()
3386 static void dsi_config_blanking_modes(struct dsi_data *dsi) in dsi_config_blanking_modes()
3468 static void dsi_config_cmd_mode_interleaving(struct dsi_data *dsi) in dsi_config_cmd_mode_interleaving()
3584 static int dsi_proto_config(struct dsi_data *dsi) in dsi_proto_config()
3653 static void dsi_proto_timings(struct dsi_data *dsi) in dsi_proto_timings()
3768 struct dsi_data *dsi = to_dsi_data(dssdev); in dsi_configure_pins() local
3833 struct dsi_data *dsi = to_dsi_data(dssdev); in dsi_enable_video_output() local
3902 struct dsi_data *dsi = to_dsi_data(dssdev); in dsi_disable_video_output() local
3920 static void dsi_update_screen_dispc(struct dsi_data *dsi) in dsi_update_screen_dispc()
4007 static void dsi_handle_framedone(struct dsi_data *dsi, int error) in dsi_handle_framedone()
4025 struct dsi_data *dsi = container_of(work, struct dsi_data, in dsi_framedone_timeout_work_callback() local
4041 struct dsi_data *dsi = data; in dsi_framedone_irq_callback() local
4056 struct dsi_data *dsi = to_dsi_data(dssdev); in dsi_update() local
4080 static int dsi_configure_dispc_clocks(struct dsi_data *dsi) in dsi_configure_dispc_clocks()
4102 static int dsi_display_init_dispc(struct dsi_data *dsi) in dsi_display_init_dispc()
4165 static void dsi_display_uninit_dispc(struct dsi_data *dsi) in dsi_display_uninit_dispc()
4176 static int dsi_configure_dsi_clocks(struct dsi_data *dsi) in dsi_configure_dsi_clocks()
4192 static int dsi_display_init_dsi(struct dsi_data *dsi) in dsi_display_init_dsi()
4245 static void dsi_display_uninit_dsi(struct dsi_data *dsi, bool disconnect_lanes, in dsi_display_uninit_dsi()
4265 struct dsi_data *dsi = to_dsi_data(dssdev); in dsi_display_enable() local
4299 struct dsi_data *dsi = to_dsi_data(dssdev); in dsi_display_disable() local
4321 struct dsi_data *dsi = to_dsi_data(dssdev); in dsi_enable_te() local
4451 struct dsi_data *dsi = ctx->dsi; in dsi_cm_calc_pll_cb() local
4463 static bool dsi_cm_calc(struct dsi_data *dsi, in dsi_cm_calc()
4504 struct dsi_data *dsi = ctx->dsi; in dsi_vm_calc_blanking() local
4752 struct dsi_data *dsi = ctx->dsi; in dsi_vm_calc_pll_cb() local
4764 static bool dsi_vm_calc(struct dsi_data *dsi, in dsi_vm_calc()
4809 struct dsi_data *dsi = to_dsi_data(dssdev); in dsi_set_config() local
4860 static enum omap_channel dsi_get_channel(struct dsi_data *dsi) in dsi_get_channel()
4896 struct dsi_data *dsi = to_dsi_data(dssdev); in dsi_request_vc() local
4913 struct dsi_data *dsi = to_dsi_data(dssdev); in dsi_set_vc_id() local
4938 struct dsi_data *dsi = to_dsi_data(dssdev); in dsi_release_vc() local
4948 static int dsi_get_clocks(struct dsi_data *dsi) in dsi_get_clocks()
4966 struct dsi_data *dsi = to_dsi_data(dssdev); in dsi_connect() local
4991 struct dsi_data *dsi = to_dsi_data(dssdev); in dsi_disconnect() local
5042 static void dsi_init_output(struct dsi_data *dsi) in dsi_init_output()
5059 static void dsi_uninit_output(struct dsi_data *dsi) in dsi_uninit_output()
5066 static int dsi_probe_of(struct dsi_data *dsi) in dsi_probe_of()
5208 static int dsi_init_pll_data(struct dss_device *dss, struct dsi_data *dsi) in dsi_init_pll_data()
5308 struct dsi_data *dsi; in dsi_bind() local
5481 struct dsi_data *dsi = dev_get_drvdata(dev); in dsi_unbind() local
5520 struct dsi_data *dsi = dev_get_drvdata(dev); in dsi_runtime_suspend() local
5535 struct dsi_data *dsi = dev_get_drvdata(dev); in dsi_runtime_resume() local