Home
last modified time | relevance | path

Searched refs:dsi_write (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/bridge/synopsys/
Ddw-mipi-dsi.c283 static inline void dsi_write(struct dw_mipi_dsi *dsi, u32 reg, u32 val) in dsi_write() function
368 dsi_write(dsi, DSI_LPCLK_CTRL, lpm ? 0 : PHY_TXREQUESTCLKHS); in dw_mipi_message_config()
369 dsi_write(dsi, DSI_CMD_MODE_CFG, val); in dw_mipi_message_config()
385 dsi_write(dsi, DSI_GEN_HDR, hdr_val); in dw_mipi_dsi_gen_pkt_hdr_write()
411 dsi_write(dsi, DSI_GEN_PLD_DATA, le32_to_cpu(word)); in dw_mipi_dsi_write()
415 dsi_write(dsi, DSI_GEN_PLD_DATA, le32_to_cpu(word)); in dw_mipi_dsi_write()
538 dsi_write(dsi, DSI_VID_MODE_CFG, val); in dw_mipi_dsi_video_mode_config()
544 dsi_write(dsi, DSI_PWR_UP, RESET); in dw_mipi_dsi_set_mode()
547 dsi_write(dsi, DSI_MODE_CFG, ENABLE_VIDEO_MODE); in dw_mipi_dsi_set_mode()
549 dsi_write(dsi, DSI_LPCLK_CTRL, PHY_TXREQUESTCLKHS); in dw_mipi_dsi_set_mode()
[all …]
/Linux-v5.4/drivers/gpu/drm/msm/dsi/
Ddsi_host.c190 static inline void dsi_write(struct msm_dsi_host *msm_host, u32 reg, u32 data) in dsi_write() function
777 dsi_write(msm_host, REG_DSI_INTR_CTRL, intr); in dsi_intr_ctrl()
824 dsi_write(msm_host, REG_DSI_CTRL, 0); in dsi_ctrl_config()
845 dsi_write(msm_host, REG_DSI_VID_CFG0, data); in dsi_ctrl_config()
849 dsi_write(msm_host, REG_DSI_VID_CFG1, 0); in dsi_ctrl_config()
854 dsi_write(msm_host, REG_DSI_CMD_CFG0, data); in dsi_ctrl_config()
861 dsi_write(msm_host, REG_DSI_CMD_CFG1, data); in dsi_ctrl_config()
864 dsi_write(msm_host, REG_DSI_CMD_DMA_CTRL, in dsi_ctrl_config()
877 dsi_write(msm_host, REG_DSI_TRIG_CTRL, data); in dsi_ctrl_config()
881 dsi_write(msm_host, REG_DSI_CLKOUT_TIMING_CTRL, data); in dsi_ctrl_config()
[all …]
/Linux-v5.4/drivers/gpu/drm/stm/
Ddw_mipi_dsi-stm.c87 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()
/Linux-v5.4/drivers/gpu/drm/rockchip/
Ddw-mipi-dsi-rockchip.c298 static inline void dsi_write(struct dw_mipi_dsi_rockchip *dsi, u32 reg, u32 val) in dsi_write() function
310 dsi_write(dsi, reg, dsi_read(dsi, reg) | mask); in dsi_set()
316 dsi_write(dsi, reg, (dsi_read(dsi, reg) & ~mask) | val); in dsi_update_bits()
328 dsi_write(dsi, DSI_PHY_TST_CTRL0, PHY_TESTCLK | PHY_UNTESTCLR); in dw_mipi_dsi_phy_write()
330 dsi_write(dsi, DSI_PHY_TST_CTRL1, PHY_TESTEN | PHY_TESTDOUT(0) | in dw_mipi_dsi_phy_write()
333 dsi_write(dsi, DSI_PHY_TST_CTRL0, PHY_UNTESTCLK | PHY_UNTESTCLR); in dw_mipi_dsi_phy_write()
335 dsi_write(dsi, DSI_PHY_TST_CTRL1, PHY_UNTESTEN | PHY_TESTDOUT(0) | in dw_mipi_dsi_phy_write()
338 dsi_write(dsi, DSI_PHY_TST_CTRL0, PHY_TESTCLK | PHY_UNTESTCLR); in dw_mipi_dsi_phy_write()