Lines Matching refs:panel
34 struct drm_panel panel;
242 struct ltk050h3146w *panel_to_ltk050h3146w(struct drm_panel *panel)
244 return container_of(panel, struct ltk050h3146w, panel);
261 * Init sequence was supplied by the panel vendor without much
383 * Init sequence was supplied by the panel vendor without much
438 static int ltk050h3146w_unprepare(struct drm_panel *panel)
440 struct ltk050h3146w *ctx = panel_to_ltk050h3146w(panel);
467 static int ltk050h3146w_prepare(struct drm_panel *panel)
469 struct ltk050h3146w *ctx = panel_to_ltk050h3146w(panel);
476 dev_dbg(ctx->dev, "Resetting the panel\n");
527 static int ltk050h3146w_get_modes(struct drm_panel *panel,
530 struct ltk050h3146w *ctx = panel_to_ltk050h3146w(panel);
598 drm_panel_init(&ctx->panel, &dsi->dev, <k050h3146w_funcs,
601 ret = drm_panel_of_backlight(&ctx->panel);
605 drm_panel_add(&ctx->panel);
610 drm_panel_remove(&ctx->panel);
622 ret = drm_panel_unprepare(&ctx->panel);
624 dev_err(&dsi->dev, "Failed to unprepare panel: %d\n", ret);
626 ret = drm_panel_disable(&ctx->panel);
628 dev_err(&dsi->dev, "Failed to disable panel: %d\n", ret);
642 drm_panel_remove(&ctx->panel);
662 .name = "panel-leadtek-ltk050h3146w",
672 MODULE_DESCRIPTION("DRM driver for Leadtek LTK050H3146W MIPI DSI panel");