Lines Matching full:panel

21 	struct drm_panel panel;  member
34 static inline struct novatek_nt37801 *to_novatek_nt37801(struct drm_panel *panel) in to_novatek_nt37801() argument
36 return container_of(panel, struct novatek_nt37801, panel); in to_novatek_nt37801()
128 static int novatek_nt37801_prepare(struct drm_panel *panel) in novatek_nt37801_prepare() argument
130 struct novatek_nt37801 *ctx = to_novatek_nt37801(panel); in novatek_nt37801_prepare()
150 dev_err(panel->dev, "failed to transmit PPS: %d\n", ret); in novatek_nt37801_prepare()
172 static int novatek_nt37801_unprepare(struct drm_panel *panel) in novatek_nt37801_unprepare() argument
174 struct novatek_nt37801 *ctx = to_novatek_nt37801(panel); in novatek_nt37801_unprepare()
180 dev_err(dev, "Failed to un-initialize panel: %d\n", ret); in novatek_nt37801_unprepare()
203 static int novatek_nt37801_get_modes(struct drm_panel *panel, in novatek_nt37801_get_modes() argument
257 ctx = devm_drm_panel_alloc(dev, struct novatek_nt37801, panel, in novatek_nt37801_probe()
282 ctx->panel.prepare_prev_first = true; in novatek_nt37801_probe()
283 ctx->panel.backlight = novatek_nt37801_create_backlight(dsi); in novatek_nt37801_probe()
284 if (IS_ERR(ctx->panel.backlight)) in novatek_nt37801_probe()
285 return dev_err_probe(dev, PTR_ERR(ctx->panel.backlight), in novatek_nt37801_probe()
288 drm_panel_add(&ctx->panel); in novatek_nt37801_probe()
290 /* This panel only supports DSC; unconditionally enable it */ in novatek_nt37801_probe()
303 drm_panel_remove(&ctx->panel); in novatek_nt37801_probe()
319 drm_panel_remove(&ctx->panel); in novatek_nt37801_remove()
332 .name = "panel-novatek-nt37801",
339 MODULE_DESCRIPTION("Panel driver for the Novatek NT37801/NT37810 AMOLED DSI panel");