Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/mcde/
H A Dmcde_dsi.c45 struct mipi_dsi_device *mdsi; member
67 bool mcde_dsi_irq(struct mipi_dsi_device *mdsi) in mcde_dsi_irq() argument
73 d = host_to_mcde_dsi(mdsi->host); in mcde_dsi_irq()
150 d->mcde->mdsi = d->mdsi; in mcde_dsi_attach_to_mcde()
164 if (d->mdsi->mode_flags & MIPI_DSI_MODE_VIDEO) in mcde_dsi_attach_to_mcde()
171 struct mipi_dsi_device *mdsi) in mcde_dsi_host_attach() argument
175 if (mdsi->lanes < 1 || mdsi->lanes > 2) { in mcde_dsi_host_attach()
180 dev_info(d->dev, "attached DSI device with %d lanes\n", mdsi->lanes); in mcde_dsi_host_attach()
182 dev_info(d->dev, "format %08x, %dbpp\n", mdsi->format, in mcde_dsi_host_attach()
183 mipi_dsi_pixel_format_to_bpp(mdsi->format)); in mcde_dsi_host_attach()
[all …]
H A Dmcde_drm.h76 struct mipi_dsi_device *mdsi; member
106 bool mcde_dsi_irq(struct mipi_dsi_device *mdsi);
107 void mcde_dsi_te_request(struct mipi_dsi_device *mdsi);
H A Dmcde_display.c92 if (!mcde->dpi_output && mcde_dsi_irq(mcde->mdsi)) { in mcde_display_irq()
799 if (mcde->mdsi->mode_flags & MIPI_DSI_MODE_VIDEO) in mcde_configure_dsi_formatter()
801 switch (mcde->mdsi->format) { in mcde_configure_dsi_formatter()
1084 (mcde->mdsi->mode_flags & MIPI_DSI_MODE_VIDEO) ? in mcde_setup_dsi()
1086 mipi_dsi_pixel_format_to_bpp(mcde->mdsi->format)); in mcde_setup_dsi()
1088 mipi_dsi_pixel_format_to_bpp(mcde->mdsi->format) / 8; in mcde_setup_dsi()
1120 if (mcde->mdsi->mode_flags & MIPI_DSI_MODE_VIDEO) { in mcde_setup_dsi()
1135 if (!(mcde->mdsi->mode_flags & MIPI_DSI_MODE_VIDEO)) in mcde_setup_dsi()
1342 mcde_dsi_te_request(mcde->mdsi); in mcde_start_flow()
/linux/drivers/gpu/drm/msm/dsi/
H A Ddsi_manager.c130 struct msm_dsi *mdsi = dsi_mgr_get_dsi(DSI_CLOCK_MASTER); in dsi_mgr_phy_enable() local
139 if (IS_BONDED_DSI() && mdsi && sdsi) { in dsi_mgr_phy_enable()
140 if (!mdsi->phy_enabled && !sdsi->phy_enabled) { in dsi_mgr_phy_enable()
141 msm_dsi_host_reset_phy(mdsi->host); in dsi_mgr_phy_enable()
144 ret = enable_phy(mdsi, in dsi_mgr_phy_enable()
151 msm_dsi_phy_disable(mdsi->phy); in dsi_mgr_phy_enable()
170 struct msm_dsi *mdsi = dsi_mgr_get_dsi(DSI_CLOCK_MASTER); in dsi_mgr_phy_disable() local
178 if (IS_BONDED_DSI() && mdsi && sdsi) { in dsi_mgr_phy_disable()
179 if (!mdsi->phy_enabled && !sdsi->phy_enabled) { in dsi_mgr_phy_disable()
181 msm_dsi_phy_disable(mdsi->phy); in dsi_mgr_phy_disable()
/linux/drivers/gpu/drm/hisilicon/kirin/
H A Ddw_drm_dsi.c725 struct mipi_dsi_device *mdsi) in dsi_host_attach() argument
731 if (mdsi->lanes < 1 || mdsi->lanes > 4) { in dsi_host_attach()
736 dsi->lanes = mdsi->lanes; in dsi_host_attach()
737 dsi->format = mdsi->format; in dsi_host_attach()
738 dsi->mode_flags = mdsi->mode_flags; in dsi_host_attach()
748 struct mipi_dsi_device *mdsi) in dsi_host_detach() argument