Lines Matching full:dsi
3 * Generated with linux-mdss-dsi-panel-driver-generator from vendor device tree:
22 struct mipi_dsi_device *dsi;
45 struct mipi_dsi_device *dsi = ctx->dsi;
46 struct mipi_dsi_multi_context dsi_ctx = { .dsi = dsi };
48 dsi->mode_flags |= MIPI_DSI_MODE_LPM;
72 struct mipi_dsi_device *dsi = ctx->dsi;
73 struct mipi_dsi_multi_context dsi_ctx = { .dsi = dsi };
75 dsi->mode_flags &= ~MIPI_DSI_MODE_LPM;
89 struct device *dev = &ctx->dsi->dev;
159 struct mipi_dsi_device *dsi = bl_get_data(bl);
163 err = mipi_dsi_dcs_set_display_brightness_large(dsi, brightness);
175 sofef00_create_backlight(struct mipi_dsi_device *dsi)
177 struct device *dev = &dsi->dev;
184 return devm_backlight_device_register(dev, dev_name(dev), dev, dsi,
188 static int sofef00_panel_probe(struct mipi_dsi_device *dsi)
190 struct device *dev = &dsi->dev;
210 ctx->dsi = dsi;
211 mipi_dsi_set_drvdata(dsi, ctx);
213 dsi->lanes = 4;
214 dsi->format = MIPI_DSI_FMT_RGB888;
216 ctx->panel.backlight = sofef00_create_backlight(dsi);
223 ret = mipi_dsi_attach(dsi);
225 dev_err(dev, "Failed to attach to DSI host: %d\n", ret);
233 static void sofef00_panel_remove(struct mipi_dsi_device *dsi)
235 struct sofef00_panel *ctx = mipi_dsi_get_drvdata(dsi);
238 ret = mipi_dsi_detach(dsi);
240 dev_err(&dsi->dev, "Failed to detach from DSI host: %d\n", ret);
263 MODULE_DESCRIPTION("DRM driver for Samsung AMOLED DSI panels found in OnePlus 6/6T phones");