Lines Matching refs:panel
3 * NV3051D MIPI-DSI panel driver for Anbernic RG353x
8 * Elida kd35t133 3.5" MIPI-DSI panel driver
35 struct drm_panel panel;
41 static inline struct panel_nv3051d *panel_to_panelnv3051d(struct drm_panel *panel)
43 return container_of(panel, struct panel_nv3051d, panel);
244 static int panel_nv3051d_unprepare(struct drm_panel *panel)
246 struct panel_nv3051d *ctx = panel_to_panelnv3051d(panel);
271 static int panel_nv3051d_prepare(struct drm_panel *panel)
273 struct panel_nv3051d *ctx = panel_to_panelnv3051d(panel);
277 dev_dbg(ctx->dev, "Resetting the panel\n");
319 static int panel_nv3051d_get_modes(struct drm_panel *panel,
322 struct panel_nv3051d *ctx = panel_to_panelnv3051d(panel);
393 drm_panel_init(&ctx->panel, &dsi->dev, &panel_nv3051d_funcs,
396 ret = drm_panel_of_backlight(&ctx->panel);
400 drm_panel_add(&ctx->panel);
405 drm_panel_remove(&ctx->panel);
417 ret = drm_panel_unprepare(&ctx->panel);
419 dev_err(&dsi->dev, "Failed to unprepare panel: %d\n", ret);
421 ret = drm_panel_disable(&ctx->panel);
423 dev_err(&dsi->dev, "Failed to disable panel: %d\n", ret);
437 drm_panel_remove(&ctx->panel);
495 .name = "panel-newvision-nv3051d",