Lines Matching refs:panel
5 * Generated using linux-mdss-dsi-panel-driver-generator from Lineage OS device tree:
21 struct drm_panel panel;
27 static inline struct jdi_fhd_r63452 *to_jdi_fhd_r63452(struct drm_panel *panel)
29 return container_of(panel, struct jdi_fhd_r63452, panel);
154 static int jdi_fhd_r63452_prepare(struct drm_panel *panel)
156 struct jdi_fhd_r63452 *ctx = to_jdi_fhd_r63452(panel);
167 dev_err(dev, "Failed to initialize panel: %d\n", ret);
176 static int jdi_fhd_r63452_unprepare(struct drm_panel *panel)
178 struct jdi_fhd_r63452 *ctx = to_jdi_fhd_r63452(panel);
187 dev_err(dev, "Failed to un-initialize panel: %d\n", ret);
209 static int jdi_fhd_r63452_get_modes(struct drm_panel *panel,
257 drm_panel_init(&ctx->panel, dev, &jdi_fhd_r63452_panel_funcs,
260 ret = drm_panel_of_backlight(&ctx->panel);
264 drm_panel_add(&ctx->panel);
284 drm_panel_remove(&ctx->panel);
297 .name = "panel-jdi-fhd-r63452",
304 MODULE_DESCRIPTION("DRM driver for JDI FHD R63452 DSI panel, command mode");