Searched refs:dsi_write (Results 1 – 4 of 4) sorted by relevance
/drivers/gpu/drm/bridge/synopsys/ |
D | dw-mipi-dsi.c | 303 static inline void dsi_write(struct dw_mipi_dsi *dsi, u32 reg, u32 val) in dsi_write() function 406 dsi_write(dsi, DSI_DPI_LP_CMD_TIM, OUTVACT_LPCMD_TIME(16) in dw_mipi_message_config() 414 dsi_write(dsi, DSI_CMD_MODE_CFG, val); in dw_mipi_message_config() 421 dsi_write(dsi, DSI_VID_MODE_CFG, val); in dw_mipi_message_config() 437 dsi_write(dsi, DSI_GEN_HDR, hdr_val); in dw_mipi_dsi_gen_pkt_hdr_write() 463 dsi_write(dsi, DSI_GEN_PLD_DATA, le32_to_cpu(word)); in dw_mipi_dsi_write() 467 dsi_write(dsi, DSI_GEN_PLD_DATA, le32_to_cpu(word)); in dw_mipi_dsi_write() 592 dsi_write(dsi, DSI_VID_MODE_CFG, val); in dw_mipi_dsi_video_mode_config() 600 dsi_write(dsi, DSI_PWR_UP, RESET); in dw_mipi_dsi_set_mode() 603 dsi_write(dsi, DSI_MODE_CFG, ENABLE_VIDEO_MODE); in dw_mipi_dsi_set_mode() [all …]
|
/drivers/gpu/drm/msm/dsi/ |
D | dsi_host.c | 197 static inline void dsi_write(struct msm_dsi_host *msm_host, u32 reg, u32 data) in dsi_write() function 796 dsi_write(msm_host, REG_DSI_INTR_CTRL, intr); in dsi_intr_ctrl() 843 dsi_write(msm_host, REG_DSI_CTRL, 0); in dsi_ctrl_config() 864 dsi_write(msm_host, REG_DSI_VID_CFG0, data); in dsi_ctrl_config() 868 dsi_write(msm_host, REG_DSI_VID_CFG1, 0); in dsi_ctrl_config() 873 dsi_write(msm_host, REG_DSI_CMD_CFG0, data); in dsi_ctrl_config() 880 dsi_write(msm_host, REG_DSI_CMD_CFG1, data); in dsi_ctrl_config() 883 dsi_write(msm_host, REG_DSI_CMD_DMA_CTRL, in dsi_ctrl_config() 896 dsi_write(msm_host, REG_DSI_TRIG_CTRL, data); in dsi_ctrl_config() 900 dsi_write(msm_host, REG_DSI_CLKOUT_TIMING_CTRL, data); in dsi_ctrl_config() [all …]
|
/drivers/gpu/drm/stm/ |
D | dw_mipi_dsi-stm.c | 87 static inline void dsi_write(struct dw_mipi_dsi_stm *dsi, u32 reg, u32 val) in dsi_write() function 99 dsi_write(dsi, reg, dsi_read(dsi, reg) | mask); in dsi_set() 104 dsi_write(dsi, reg, dsi_read(dsi, reg) & ~mask); in dsi_clear() 110 dsi_write(dsi, reg, (dsi_read(dsi, reg) & ~mask) | val); in dsi_update_bits()
|
/drivers/gpu/drm/rockchip/ |
D | dw-mipi-dsi-rockchip.c | 336 static inline void dsi_write(struct dw_mipi_dsi_rockchip *dsi, u32 reg, u32 val) in dsi_write() function 349 dsi_write(dsi, reg, (dsi_read(dsi, reg) & ~mask) | val); in dsi_update_bits() 361 dsi_write(dsi, DSI_PHY_TST_CTRL0, PHY_TESTCLK | PHY_UNTESTCLR); in dw_mipi_dsi_phy_write() 363 dsi_write(dsi, DSI_PHY_TST_CTRL1, PHY_TESTEN | PHY_TESTDOUT(0) | in dw_mipi_dsi_phy_write() 366 dsi_write(dsi, DSI_PHY_TST_CTRL0, PHY_UNTESTCLK | PHY_UNTESTCLR); in dw_mipi_dsi_phy_write() 368 dsi_write(dsi, DSI_PHY_TST_CTRL1, PHY_UNTESTEN | PHY_TESTDOUT(0) | in dw_mipi_dsi_phy_write() 371 dsi_write(dsi, DSI_PHY_TST_CTRL0, PHY_TESTCLK | PHY_UNTESTCLR); in dw_mipi_dsi_phy_write() 1525 dsi_write(dsi, DSI_PHY_TST_CTRL0, PHY_TESTCLK | PHY_TESTCLR); in rk3399_dphy_tx1rx1_power_on() 1546 dsi_write(dsi, DSI_PHY_TST_CTRL0, PHY_TESTCLK | PHY_UNTESTCLR); in rk3399_dphy_tx1rx1_power_on()
|