Lines Matching refs:panel
5 * - HannStar HSD060BHW4 5.99" MIPI-DSI panel
9 * Based on drivers/gpu/drm/panel/panel-sitronix-st7703.c
27 #define DRV_NAME "panel-himax-hx8394"
67 struct drm_panel panel;
84 static inline struct hx8394 *panel_to_hx8394(struct drm_panel *panel)
86 return container_of(panel, struct hx8394, panel);
206 static int hx8394_enable(struct drm_panel *panel)
208 struct hx8394 *ctx = panel_to_hx8394(panel);
244 static int hx8394_disable(struct drm_panel *panel)
246 struct hx8394 *ctx = panel_to_hx8394(panel);
261 static int hx8394_unprepare(struct drm_panel *panel)
263 struct hx8394 *ctx = panel_to_hx8394(panel);
278 static int hx8394_prepare(struct drm_panel *panel)
280 struct hx8394 *ctx = panel_to_hx8394(panel);
314 static int hx8394_get_modes(struct drm_panel *panel,
317 struct hx8394 *ctx = panel_to_hx8394(panel);
380 drm_panel_init(&ctx->panel, dev, &hx8394_drm_funcs,
383 ret = drm_panel_of_backlight(&ctx->panel);
387 drm_panel_add(&ctx->panel);
392 drm_panel_remove(&ctx->panel);
409 ret = drm_panel_disable(&ctx->panel);
411 dev_err(&dsi->dev, "Failed to disable panel: %d\n", ret);
413 ret = drm_panel_unprepare(&ctx->panel);
415 dev_err(&dsi->dev, "Failed to unprepare panel: %d\n", ret);
429 drm_panel_remove(&ctx->panel);