Lines Matching refs:panel
28 struct drm_panel panel; member
40 static inline struct rb070d30_panel *panel_to_rb070d30_panel(struct drm_panel *panel) in panel_to_rb070d30_panel() argument
42 return container_of(panel, struct rb070d30_panel, panel); in panel_to_rb070d30_panel()
45 static int rb070d30_panel_prepare(struct drm_panel *panel) in rb070d30_panel_prepare() argument
47 struct rb070d30_panel *ctx = panel_to_rb070d30_panel(panel); in rb070d30_panel_prepare()
64 static int rb070d30_panel_unprepare(struct drm_panel *panel) in rb070d30_panel_unprepare() argument
66 struct rb070d30_panel *ctx = panel_to_rb070d30_panel(panel); in rb070d30_panel_unprepare()
75 static int rb070d30_panel_enable(struct drm_panel *panel) in rb070d30_panel_enable() argument
77 struct rb070d30_panel *ctx = panel_to_rb070d30_panel(panel); in rb070d30_panel_enable()
82 static int rb070d30_panel_disable(struct drm_panel *panel) in rb070d30_panel_disable() argument
84 struct rb070d30_panel *ctx = panel_to_rb070d30_panel(panel); in rb070d30_panel_disable()
105 static int rb070d30_panel_get_modes(struct drm_panel *panel, in rb070d30_panel_get_modes() argument
108 struct rb070d30_panel *ctx = panel_to_rb070d30_panel(panel); in rb070d30_panel_get_modes()
157 drm_panel_init(&ctx->panel, &dsi->dev, &rb070d30_panel_funcs, in rb070d30_panel_dsi_probe()
192 ret = drm_panel_of_backlight(&ctx->panel); in rb070d30_panel_dsi_probe()
196 drm_panel_add(&ctx->panel); in rb070d30_panel_dsi_probe()
204 drm_panel_remove(&ctx->panel); in rb070d30_panel_dsi_probe()
216 drm_panel_remove(&ctx->panel); in rb070d30_panel_dsi_remove()