Lines Matching refs:msm_dsi_host
37 static int dsi_populate_dsc_params(struct msm_dsi_host *msm_host, struct drm_dsc_config *dsc);
102 struct msm_dsi_host { struct
183 static inline u32 dsi_read(struct msm_dsi_host *msm_host, u32 reg) in dsi_read() argument
187 static inline void dsi_write(struct msm_dsi_host *msm_host, u32 reg, u32 data) in dsi_write()
193 struct msm_dsi_host *msm_host) in dsi_get_config()
233 static inline struct msm_dsi_host *to_msm_dsi_host(struct mipi_dsi_host *host) in to_msm_dsi_host()
235 return container_of(host, struct msm_dsi_host, base); in to_msm_dsi_host()
238 int dsi_clk_init_v2(struct msm_dsi_host *msm_host) in dsi_clk_init_v2()
256 int dsi_clk_init_6g_v2(struct msm_dsi_host *msm_host) in dsi_clk_init_6g_v2()
271 static int dsi_clk_init(struct msm_dsi_host *msm_host) in dsi_clk_init()
328 struct msm_dsi_host *msm_host = to_msm_dsi_host(host); in msm_dsi_runtime_suspend()
343 struct msm_dsi_host *msm_host = to_msm_dsi_host(host); in msm_dsi_runtime_resume()
351 int dsi_link_clk_set_rate_6g(struct msm_dsi_host *msm_host) in dsi_link_clk_set_rate_6g()
384 int dsi_link_clk_enable_6g(struct msm_dsi_host *msm_host) in dsi_link_clk_enable_6g()
425 int dsi_link_clk_set_rate_v2(struct msm_dsi_host *msm_host) in dsi_link_clk_set_rate_v2()
460 int dsi_link_clk_enable_v2(struct msm_dsi_host *msm_host) in dsi_link_clk_enable_v2()
500 void dsi_link_clk_disable_6g(struct msm_dsi_host *msm_host) in dsi_link_clk_disable_6g()
510 void dsi_link_clk_disable_v2(struct msm_dsi_host *msm_host) in dsi_link_clk_disable_v2()
573 struct msm_dsi_host *msm_host = to_msm_dsi_host(host); in dsi_byte_clk_get_rate()
593 static void dsi_calc_pclk(struct msm_dsi_host *msm_host, bool is_bonded_dsi) in dsi_calc_pclk()
604 int dsi_calc_clk_rate_6g(struct msm_dsi_host *msm_host, bool is_bonded_dsi) in dsi_calc_clk_rate_6g()
616 int dsi_calc_clk_rate_v2(struct msm_dsi_host *msm_host, bool is_bonded_dsi) in dsi_calc_clk_rate_v2()
661 static void dsi_intr_ctrl(struct msm_dsi_host *msm_host, u32 mask, int enable) in dsi_intr_ctrl()
714 static void dsi_ctrl_disable(struct msm_dsi_host *msm_host) in dsi_ctrl_disable()
721 struct msm_dsi_host *msm_host = to_msm_dsi_host(host); in msm_dsi_host_is_wide_bus_enabled()
728 static void dsi_ctrl_enable(struct msm_dsi_host *msm_host, in dsi_ctrl_enable()
849 static void dsi_update_dsc_timing(struct msm_dsi_host *msm_host, bool is_cmd_mode, u32 hdisplay) in dsi_update_dsc_timing()
911 static void dsi_timing_setup(struct msm_dsi_host *msm_host, bool is_bonded_dsi) in dsi_timing_setup()
1043 static void dsi_sw_reset(struct msm_dsi_host *msm_host) in dsi_sw_reset()
1073 static void dsi_op_mode_config(struct msm_dsi_host *msm_host, in dsi_op_mode_config()
1098 static void dsi_set_tx_power_mode(int mode, struct msm_dsi_host *msm_host) in dsi_set_tx_power_mode()
1112 static void dsi_wait4video_done(struct msm_dsi_host *msm_host) in dsi_wait4video_done()
1130 static void dsi_wait4video_eng_busy(struct msm_dsi_host *msm_host) in dsi_wait4video_eng_busy()
1154 int dsi_tx_buf_alloc_6g(struct msm_dsi_host *msm_host, int size) in dsi_tx_buf_alloc_6g()
1179 int dsi_tx_buf_alloc_v2(struct msm_dsi_host *msm_host, int size) in dsi_tx_buf_alloc_v2()
1195 struct msm_dsi_host *msm_host = to_msm_dsi_host(host); in msm_dsi_tx_buf_free()
1219 void *dsi_tx_buf_get_6g(struct msm_dsi_host *msm_host) in dsi_tx_buf_get_6g()
1224 void *dsi_tx_buf_get_v2(struct msm_dsi_host *msm_host) in dsi_tx_buf_get_v2()
1229 void dsi_tx_buf_put_6g(struct msm_dsi_host *msm_host) in dsi_tx_buf_put_6g()
1237 static int dsi_cmd_dma_add(struct msm_dsi_host *msm_host, in dsi_cmd_dma_add()
1331 int dsi_dma_base_get_6g(struct msm_dsi_host *msm_host, uint64_t *dma_base) in dsi_dma_base_get_6g()
1343 int dsi_dma_base_get_v2(struct msm_dsi_host *msm_host, uint64_t *dma_base) in dsi_dma_base_get_v2()
1352 static int dsi_cmd_dma_tx(struct msm_dsi_host *msm_host, int len) in dsi_cmd_dma_tx()
1385 static int dsi_cmd_dma_rx(struct msm_dsi_host *msm_host, in dsi_cmd_dma_rx()
1434 static int dsi_cmds2buf_tx(struct msm_dsi_host *msm_host, in dsi_cmds2buf_tx()
1479 struct msm_dsi_host *msm_host = in dsi_err_worker()
1480 container_of(work, struct msm_dsi_host, err_work); in dsi_err_worker()
1494 static void dsi_ack_err_status(struct msm_dsi_host *msm_host) in dsi_ack_err_status()
1508 static void dsi_timeout_status(struct msm_dsi_host *msm_host) in dsi_timeout_status()
1520 static void dsi_dln0_phy_err(struct msm_dsi_host *msm_host) in dsi_dln0_phy_err()
1536 static void dsi_fifo_status(struct msm_dsi_host *msm_host) in dsi_fifo_status()
1552 static void dsi_status(struct msm_dsi_host *msm_host) in dsi_status()
1565 static void dsi_clk_status(struct msm_dsi_host *msm_host) in dsi_clk_status()
1577 static void dsi_error(struct msm_dsi_host *msm_host) in dsi_error()
1594 struct msm_dsi_host *msm_host = ptr; in dsi_host_irq()
1623 struct msm_dsi_host *msm_host = to_msm_dsi_host(host); in dsi_host_attach()
1648 struct msm_dsi_host *msm_host = to_msm_dsi_host(host); in dsi_host_detach()
1660 struct msm_dsi_host *msm_host = to_msm_dsi_host(host); in dsi_host_transfer()
1696 static int dsi_host_parse_lane_data(struct msm_dsi_host *msm_host, in dsi_host_parse_lane_data()
1761 static int dsi_populate_dsc_params(struct msm_dsi_host *msm_host, struct drm_dsc_config *dsc) in dsi_populate_dsc_params()
1795 static int dsi_host_parse_dt(struct msm_dsi_host *msm_host) in dsi_host_parse_dt()
1850 static int dsi_host_get_id(struct msm_dsi_host *msm_host) in dsi_host_get_id()
1871 struct msm_dsi_host *msm_host = NULL; in msm_dsi_host_init()
1979 struct msm_dsi_host *msm_host = to_msm_dsi_host(host); in msm_dsi_host_destroy()
1996 struct msm_dsi_host *msm_host = to_msm_dsi_host(host); in msm_dsi_host_modeset_init()
2013 struct msm_dsi_host *msm_host = to_msm_dsi_host(host); in msm_dsi_host_register()
2032 struct msm_dsi_host *msm_host = to_msm_dsi_host(host); in msm_dsi_host_unregister()
2045 struct msm_dsi_host *msm_host = to_msm_dsi_host(host); in msm_dsi_host_xfer_prepare()
2080 struct msm_dsi_host *msm_host = to_msm_dsi_host(host); in msm_dsi_host_xfer_restore()
2098 struct msm_dsi_host *msm_host = to_msm_dsi_host(host); in msm_dsi_host_cmd_tx()
2106 struct msm_dsi_host *msm_host = to_msm_dsi_host(host); in msm_dsi_host_cmd_rx()
2244 struct msm_dsi_host *msm_host = to_msm_dsi_host(host); in msm_dsi_host_cmd_xfer_commit()
2257 struct msm_dsi_host *msm_host = to_msm_dsi_host(host); in msm_dsi_host_set_phy_mode()
2264 struct msm_dsi_host *msm_host = to_msm_dsi_host(host); in msm_dsi_host_reset_phy()
2279 struct msm_dsi_host *msm_host = to_msm_dsi_host(host); in msm_dsi_host_get_phy_clk_req()
2302 struct msm_dsi_host *msm_host = to_msm_dsi_host(host); in msm_dsi_host_enable_irq()
2309 struct msm_dsi_host *msm_host = to_msm_dsi_host(host); in msm_dsi_host_disable_irq()
2316 struct msm_dsi_host *msm_host = to_msm_dsi_host(host); in msm_dsi_host_enable()
2336 struct msm_dsi_host *msm_host = to_msm_dsi_host(host); in msm_dsi_host_disable()
2351 static void msm_dsi_sfpb_config(struct msm_dsi_host *msm_host, bool enable) in msm_dsi_sfpb_config()
2369 struct msm_dsi_host *msm_host = to_msm_dsi_host(host); in msm_dsi_host_power_on()
2432 struct msm_dsi_host *msm_host = to_msm_dsi_host(host); in msm_dsi_host_power_off()
2465 struct msm_dsi_host *msm_host = to_msm_dsi_host(host); in msm_dsi_host_set_display_mode()
2484 struct msm_dsi_host *msm_host = to_msm_dsi_host(host); in msm_dsi_host_check_dsc()
2514 struct msm_dsi_host *msm_host = to_msm_dsi_host(host); in msm_dsi_host_snapshot()
2524 static void msm_dsi_host_video_test_pattern_setup(struct msm_dsi_host *msm_host) in msm_dsi_host_video_test_pattern_setup()
2545 static void msm_dsi_host_cmd_test_pattern_setup(struct msm_dsi_host *msm_host) in msm_dsi_host_cmd_test_pattern_setup()
2566 struct msm_dsi_host *msm_host = to_msm_dsi_host(host); in msm_dsi_host_test_pattern_en()
2587 struct msm_dsi_host *msm_host = to_msm_dsi_host(host); in msm_dsi_host_get_dsc_config()