Lines Matching refs:dsi_write

187 static inline void dsi_write(struct msm_dsi_host *msm_host, u32 reg, u32 data)  in dsi_write()  function
676 dsi_write(msm_host, REG_DSI_INTR_CTRL, intr); in dsi_intr_ctrl()
716 dsi_write(msm_host, REG_DSI_CTRL, 0); in dsi_ctrl_disable()
755 dsi_write(msm_host, REG_DSI_VID_CFG0, data); in dsi_ctrl_enable()
759 dsi_write(msm_host, REG_DSI_VID_CFG1, 0); in dsi_ctrl_enable()
764 dsi_write(msm_host, REG_DSI_CMD_CFG0, data); in dsi_ctrl_enable()
771 dsi_write(msm_host, REG_DSI_CMD_CFG1, data); in dsi_ctrl_enable()
782 dsi_write(msm_host, REG_DSI_CMD_MODE_MDP_CTRL2, data); in dsi_ctrl_enable()
786 dsi_write(msm_host, REG_DSI_CMD_DMA_CTRL, in dsi_ctrl_enable()
799 dsi_write(msm_host, REG_DSI_TRIG_CTRL, data); in dsi_ctrl_enable()
803 dsi_write(msm_host, REG_DSI_CLKOUT_TIMING_CTRL, data); in dsi_ctrl_enable()
808 dsi_write(msm_host, REG_DSI_T_CLK_PRE_EXTEND, in dsi_ctrl_enable()
814 dsi_write(msm_host, REG_DSI_EOT_PACKET_CTRL, data); in dsi_ctrl_enable()
817 dsi_write(msm_host, REG_DSI_ERR_INT_MASK0, 0x13ff3fe0); in dsi_ctrl_enable()
821 dsi_write(msm_host, REG_DSI_CLK_CTRL, DSI_CLK_CTRL_ENABLE_CLKS); in dsi_ctrl_enable()
828 dsi_write(msm_host, REG_DSI_LANE_SWAP_CTRL, in dsi_ctrl_enable()
837 dsi_write(msm_host, REG_DSI_LANE_CTRL, in dsi_ctrl_enable()
843 dsi_write(msm_host, REG_DSI_CTRL, data); in dsi_ctrl_enable()
846 dsi_write(msm_host, REG_DSI_CPHY_MODE_CTRL, BIT(0)); in dsi_ctrl_enable()
903 dsi_write(msm_host, REG_DSI_COMMAND_COMPRESSION_MODE_CTRL, reg_ctrl); in dsi_update_dsc_timing()
904 dsi_write(msm_host, REG_DSI_COMMAND_COMPRESSION_MODE_CTRL2, reg_ctrl2); in dsi_update_dsc_timing()
907 dsi_write(msm_host, REG_DSI_VIDEO_COMPRESSION_MODE_CTRL, reg); in dsi_update_dsc_timing()
996 dsi_write(msm_host, REG_DSI_ACTIVE_H, in dsi_timing_setup()
999 dsi_write(msm_host, REG_DSI_ACTIVE_V, in dsi_timing_setup()
1002 dsi_write(msm_host, REG_DSI_TOTAL, in dsi_timing_setup()
1006 dsi_write(msm_host, REG_DSI_ACTIVE_HSYNC, in dsi_timing_setup()
1009 dsi_write(msm_host, REG_DSI_ACTIVE_VSYNC_HPOS, 0); in dsi_timing_setup()
1010 dsi_write(msm_host, REG_DSI_ACTIVE_VSYNC_VPOS, in dsi_timing_setup()
1030 dsi_write(msm_host, REG_DSI_CMD_MDP_STREAM0_CTRL, in dsi_timing_setup()
1037 dsi_write(msm_host, REG_DSI_CMD_MDP_STREAM0_TOTAL, in dsi_timing_setup()
1050 dsi_write(msm_host, REG_DSI_CTRL, ctrl & ~DSI_CTRL_ENABLE); in dsi_sw_reset()
1058 dsi_write(msm_host, REG_DSI_CLK_CTRL, DSI_CLK_CTRL_ENABLE_CLKS); in dsi_sw_reset()
1062 dsi_write(msm_host, REG_DSI_RESET, 1); in dsi_sw_reset()
1064 dsi_write(msm_host, REG_DSI_RESET, 0); in dsi_sw_reset()
1068 dsi_write(msm_host, REG_DSI_CTRL, ctrl); in dsi_sw_reset()
1095 dsi_write(msm_host, REG_DSI_CTRL, dsi_ctrl); in dsi_op_mode_config()
1109 dsi_write(msm_host, REG_DSI_CMD_DMA_CTRL, data); in dsi_set_tx_power_mode()
1501 dsi_write(msm_host, REG_DSI_ACK_ERR_STATUS, status); in dsi_ack_err_status()
1503 dsi_write(msm_host, REG_DSI_ACK_ERR_STATUS, 0); in dsi_ack_err_status()
1515 dsi_write(msm_host, REG_DSI_TIMEOUT_STATUS, status); in dsi_timeout_status()
1531 dsi_write(msm_host, REG_DSI_DLN0_PHY_ERR, status); in dsi_dln0_phy_err()
1544 dsi_write(msm_host, REG_DSI_FIFO_STATUS, status); in dsi_fifo_status()
1559 dsi_write(msm_host, REG_DSI_STATUS0, status); in dsi_status()
1572 dsi_write(msm_host, REG_DSI_CLK_STATUS, status); in dsi_clk_status()
1603 dsi_write(msm_host, REG_DSI_INTR_CTRL, isr); in dsi_host_irq()
2068 dsi_write(msm_host, REG_DSI_CTRL, in msm_dsi_host_xfer_prepare()
2084 dsi_write(msm_host, REG_DSI_CTRL, msm_host->dma_cmd_ctrl_restore); in msm_dsi_host_xfer_restore()
2152 dsi_write(msm_host, REG_DSI_RDBK_DATA_CTRL, in msm_dsi_host_cmd_rx()
2155 dsi_write(msm_host, REG_DSI_RDBK_DATA_CTRL, 0); in msm_dsi_host_cmd_rx()
2246 dsi_write(msm_host, REG_DSI_DMA_BASE, dma_base); in msm_dsi_host_cmd_xfer_commit()
2247 dsi_write(msm_host, REG_DSI_DMA_LEN, len); in msm_dsi_host_cmd_xfer_commit()
2248 dsi_write(msm_host, REG_DSI_TRIG_DMA, 1); in msm_dsi_host_cmd_xfer_commit()
2267 dsi_write(msm_host, REG_DSI_PHY_RESET, DSI_PHY_RESET_RESET); in msm_dsi_host_reset_phy()
2271 dsi_write(msm_host, REG_DSI_PHY_RESET, 0); in msm_dsi_host_reset_phy()
2530 dsi_write(msm_host, REG_DSI_TEST_PATTERN_GEN_VIDEO_INIT_VAL, 0xff); in msm_dsi_host_video_test_pattern_setup()
2532 dsi_write(msm_host, REG_DSI_TPG_MAIN_CONTROL, in msm_dsi_host_video_test_pattern_setup()
2535 dsi_write(msm_host, REG_DSI_TPG_VIDEO_CONFIG, in msm_dsi_host_video_test_pattern_setup()
2540 dsi_write(msm_host, REG_DSI_TEST_PATTERN_GEN_CTRL, reg); in msm_dsi_host_video_test_pattern_setup()
2552 dsi_write(msm_host, REG_DSI_TEST_PATTERN_GEN_CMD_MDP_INIT_VAL0, 0xff); in msm_dsi_host_cmd_test_pattern_setup()
2556 dsi_write(msm_host, REG_DSI_TEST_PATTERN_GEN_CTRL, reg); in msm_dsi_host_cmd_test_pattern_setup()
2558 dsi_write(msm_host, REG_DSI_TPG_MAIN_CONTROL2, in msm_dsi_host_cmd_test_pattern_setup()
2577 dsi_write(msm_host, REG_DSI_TEST_PATTERN_GEN_CTRL, (reg | DSI_TEST_PATTERN_GEN_CTRL_EN)); in msm_dsi_host_test_pattern_en()
2581 dsi_write(msm_host, REG_DSI_TEST_PATTERN_GEN_CMD_STREAM0_TRIGGER, in msm_dsi_host_test_pattern_en()