Lines Matching refs:panel
33 struct drm_panel panel;
241 struct ltk050h3146w *panel_to_ltk050h3146w(struct drm_panel *panel)
243 return container_of(panel, struct ltk050h3146w, panel);
252 * Init sequence was supplied by the panel vendor without much
374 * Init sequence was supplied by the panel vendor without much
429 static int ltk050h3146w_unprepare(struct drm_panel *panel)
431 struct ltk050h3146w *ctx = panel_to_ltk050h3146w(panel);
458 static int ltk050h3146w_prepare(struct drm_panel *panel)
460 struct ltk050h3146w *ctx = panel_to_ltk050h3146w(panel);
467 dev_dbg(ctx->dev, "Resetting the panel\n");
518 static int ltk050h3146w_get_modes(struct drm_panel *panel,
521 struct ltk050h3146w *ctx = panel_to_ltk050h3146w(panel);
589 drm_panel_init(&ctx->panel, &dsi->dev, <k050h3146w_funcs,
592 ret = drm_panel_of_backlight(&ctx->panel);
596 drm_panel_add(&ctx->panel);
601 drm_panel_remove(&ctx->panel);
613 ret = drm_panel_unprepare(&ctx->panel);
615 dev_err(&dsi->dev, "Failed to unprepare panel: %d\n", ret);
617 ret = drm_panel_disable(&ctx->panel);
619 dev_err(&dsi->dev, "Failed to disable panel: %d\n", ret);
633 drm_panel_remove(&ctx->panel);
651 .name = "panel-leadtek-ltk050h3146w",
661 MODULE_DESCRIPTION("DRM driver for Leadtek LTK050H3146W MIPI DSI panel");