Lines Matching refs:panel
115 struct drm_panel panel;
126 static inline struct st7789v *panel_to_st7789v(struct drm_panel *panel)
128 return container_of(panel, struct st7789v, panel);
170 static int st7789v_get_modes(struct drm_panel *panel,
177 dev_err(panel->dev, "failed to add mode %ux%ux@%u\n",
194 static int st7789v_prepare(struct drm_panel *panel)
196 struct st7789v *ctx = panel_to_st7789v(panel);
319 static int st7789v_enable(struct drm_panel *panel)
321 struct st7789v *ctx = panel_to_st7789v(panel);
326 static int st7789v_disable(struct drm_panel *panel)
328 struct st7789v *ctx = panel_to_st7789v(panel);
336 static int st7789v_unprepare(struct drm_panel *panel)
338 struct st7789v *ctx = panel_to_st7789v(panel);
368 drm_panel_init(&ctx->panel, &spi->dev, &st7789v_drm_funcs,
381 ret = drm_panel_of_backlight(&ctx->panel);
385 drm_panel_add(&ctx->panel);
394 drm_panel_remove(&ctx->panel);