Lines Matching full:dsi

20 	struct mipi_dsi_device *dsi;  member
48 struct mipi_dsi_device *dsi = ctx->dsi; in visionox_vtdr6130_on() local
49 struct mipi_dsi_multi_context dsi_ctx = { .dsi = dsi }; in visionox_vtdr6130_on()
51 dsi->mode_flags |= MIPI_DSI_MODE_LPM; in visionox_vtdr6130_on()
131 struct mipi_dsi_device *dsi = ctx->dsi; in visionox_vtdr6130_off() local
132 struct mipi_dsi_multi_context dsi_ctx = { .dsi = dsi }; in visionox_vtdr6130_off()
134 dsi->mode_flags &= ~MIPI_DSI_MODE_LPM; in visionox_vtdr6130_off()
221 struct mipi_dsi_device *dsi = bl_get_data(bl); in visionox_vtdr6130_bl_update_status() local
224 return mipi_dsi_dcs_set_display_brightness_large(dsi, brightness); in visionox_vtdr6130_bl_update_status()
232 visionox_vtdr6130_create_backlight(struct mipi_dsi_device *dsi) in visionox_vtdr6130_create_backlight() argument
234 struct device *dev = &dsi->dev; in visionox_vtdr6130_create_backlight()
241 return devm_backlight_device_register(dev, dev_name(dev), dev, dsi, in visionox_vtdr6130_create_backlight()
245 static int visionox_vtdr6130_probe(struct mipi_dsi_device *dsi) in visionox_vtdr6130_probe() argument
247 struct device *dev = &dsi->dev; in visionox_vtdr6130_probe()
255 ret = devm_regulator_bulk_get_const(&dsi->dev, in visionox_vtdr6130_probe()
267 ctx->dsi = dsi; in visionox_vtdr6130_probe()
268 mipi_dsi_set_drvdata(dsi, ctx); in visionox_vtdr6130_probe()
270 dsi->lanes = 4; in visionox_vtdr6130_probe()
271 dsi->format = MIPI_DSI_FMT_RGB888; in visionox_vtdr6130_probe()
272 dsi->mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_NO_EOT_PACKET | in visionox_vtdr6130_probe()
279 ctx->panel.backlight = visionox_vtdr6130_create_backlight(dsi); in visionox_vtdr6130_probe()
286 ret = mipi_dsi_attach(dsi); in visionox_vtdr6130_probe()
288 dev_err(dev, "Failed to attach to DSI host: %d\n", ret); in visionox_vtdr6130_probe()
296 static void visionox_vtdr6130_remove(struct mipi_dsi_device *dsi) in visionox_vtdr6130_remove() argument
298 struct visionox_vtdr6130 *ctx = mipi_dsi_get_drvdata(dsi); in visionox_vtdr6130_remove()
301 ret = mipi_dsi_detach(dsi); in visionox_vtdr6130_remove()
303 dev_err(&dsi->dev, "Failed to detach from DSI host: %d\n", ret); in visionox_vtdr6130_remove()
325 MODULE_DESCRIPTION("Panel driver for the Visionox VTDR6130 AMOLED DSI panel");