Home
last modified time | relevance | path

Searched refs:mdsi (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/mcde/
Dmcde_dsi.c46 struct mipi_dsi_device *mdsi; member
72 bool mcde_dsi_irq(struct mipi_dsi_device *mdsi) in mcde_dsi_irq() argument
78 d = host_to_mcde_dsi(mdsi->host); in mcde_dsi_irq()
134 struct mipi_dsi_device *mdsi) in mcde_dsi_host_attach() argument
138 if (mdsi->lanes < 1 || mdsi->lanes > 2) { in mcde_dsi_host_attach()
143 dev_info(d->dev, "attached DSI device with %d lanes\n", mdsi->lanes); in mcde_dsi_host_attach()
145 dev_info(d->dev, "format %08x, %dbpp\n", mdsi->format, in mcde_dsi_host_attach()
146 mipi_dsi_pixel_format_to_bpp(mdsi->format)); in mcde_dsi_host_attach()
147 dev_info(d->dev, "mode flags: %08lx\n", mdsi->mode_flags); in mcde_dsi_host_attach()
149 d->mdsi = mdsi; in mcde_dsi_host_attach()
[all …]
Dmcde_drm.h19 struct mipi_dsi_device *mdsi; member
36 bool mcde_dsi_irq(struct mipi_dsi_device *mdsi);
37 void mcde_dsi_te_request(struct mipi_dsi_device *mdsi);
Dmcde_display.c83 if (mcde_dsi_irq(mcde->mdsi)) { in mcde_display_irq()
640 if (mcde->mdsi->mode_flags & MIPI_DSI_MODE_VIDEO) in mcde_configure_dsi_formatter()
642 switch (mcde->mdsi->format) { in mcde_configure_dsi_formatter()
836 if (!mcde->mdsi) { in mcde_display_enable()
843 (mcde->mdsi->mode_flags & MIPI_DSI_MODE_VIDEO) ? in mcde_display_enable()
845 mipi_dsi_pixel_format_to_bpp(mcde->mdsi->format)); in mcde_display_enable()
847 mipi_dsi_pixel_format_to_bpp(mcde->mdsi->format) / 8; in mcde_display_enable()
864 if (mcde->mdsi->mode_flags & MIPI_DSI_MODE_VIDEO) { in mcde_display_enable()
879 if (!(mcde->mdsi->mode_flags & MIPI_DSI_MODE_VIDEO)) in mcde_display_enable()
963 mcde_dsi_te_request(mcde->mdsi); in mcde_display_send_one_frame()
/Linux-v5.4/drivers/gpu/drm/msm/dsi/
Ddsi_manager.c144 struct msm_dsi *mdsi = dsi_mgr_get_dsi(DSI_CLOCK_MASTER); in dsi_mgr_phy_enable() local
154 if (IS_DUAL_DSI() && mdsi && sdsi) { in dsi_mgr_phy_enable()
155 if (!mdsi->phy_enabled && !sdsi->phy_enabled) { in dsi_mgr_phy_enable()
156 msm_dsi_host_reset_phy(mdsi->host); in dsi_mgr_phy_enable()
159 ret = enable_phy(mdsi, src_pll_id, in dsi_mgr_phy_enable()
166 msm_dsi_phy_disable(mdsi->phy); in dsi_mgr_phy_enable()
185 struct msm_dsi *mdsi = dsi_mgr_get_dsi(DSI_CLOCK_MASTER); in dsi_mgr_phy_disable() local
193 if (IS_DUAL_DSI() && mdsi && sdsi) { in dsi_mgr_phy_disable()
194 if (!mdsi->phy_enabled && !sdsi->phy_enabled) { in dsi_mgr_phy_disable()
196 msm_dsi_phy_disable(mdsi->phy); in dsi_mgr_phy_disable()
/Linux-v5.4/drivers/gpu/drm/hisilicon/kirin/
Ddw_drm_dsi.c728 struct mipi_dsi_device *mdsi) in dsi_host_attach() argument
732 if (mdsi->lanes < 1 || mdsi->lanes > 4) { in dsi_host_attach()
737 dsi->lanes = mdsi->lanes; in dsi_host_attach()
738 dsi->format = mdsi->format; in dsi_host_attach()
739 dsi->mode_flags = mdsi->mode_flags; in dsi_host_attach()
745 struct mipi_dsi_device *mdsi) in dsi_host_detach() argument