Lines Matching refs:panel
109 /* TFT matrix driver configuration, panel specific. */
131 struct drm_panel panel;
141 static inline struct st7701 *panel_to_st7701(struct drm_panel *panel)
143 return container_of(panel, struct st7701, panel);
426 static int st7701_prepare(struct drm_panel *panel)
428 struct st7701 *st7701 = panel_to_st7701(panel);
453 static int st7701_enable(struct drm_panel *panel)
455 struct st7701 *st7701 = panel_to_st7701(panel);
462 static int st7701_disable(struct drm_panel *panel)
464 struct st7701 *st7701 = panel_to_st7701(panel);
471 static int st7701_unprepare(struct drm_panel *panel)
473 struct st7701 *st7701 = panel_to_st7701(panel);
497 static int st7701_get_modes(struct drm_panel *panel,
500 struct st7701 *st7701 = panel_to_st7701(panel);
527 static enum drm_panel_orientation st7701_get_orientation(struct drm_panel *panel)
529 struct st7701 *st7701 = panel_to_st7701(panel);
566 .panel_sleep_delay = 80, /* panel need extra 80ms for sleep out cmd */
667 .panel_sleep_delay = 5, /* panel need extra 5ms for sleep out cmd */
876 drm_panel_init(&st7701->panel, &dsi->dev, &st7701_funcs,
884 * add panel specific delay for those cases. As now this panel specific
885 * delay information is referenced from those panel BSP driver, example
890 ret = drm_panel_of_backlight(&st7701->panel);
894 drm_panel_add(&st7701->panel);
907 drm_panel_remove(&st7701->panel);
916 drm_panel_remove(&st7701->panel);