Lines Matching refs:panel
29 struct drm_panel panel; member
39 static inline struct mantix *panel_to_mantix(struct drm_panel *panel) in panel_to_mantix() argument
41 return container_of(panel, struct mantix, panel); in panel_to_mantix()
78 static int mantix_enable(struct drm_panel *panel) in mantix_enable() argument
80 struct mantix *ctx = panel_to_mantix(panel); in mantix_enable()
112 static int mantix_disable(struct drm_panel *panel) in mantix_disable() argument
114 struct mantix *ctx = panel_to_mantix(panel); in mantix_disable()
130 static int mantix_unprepare(struct drm_panel *panel) in mantix_unprepare() argument
132 struct mantix *ctx = panel_to_mantix(panel); in mantix_unprepare()
149 static int mantix_prepare(struct drm_panel *panel) in mantix_prepare() argument
151 struct mantix *ctx = panel_to_mantix(panel); in mantix_prepare()
205 static int mantix_get_modes(struct drm_panel *panel, in mantix_get_modes() argument
208 struct mantix *ctx = panel_to_mantix(panel); in mantix_get_modes()
279 drm_panel_init(&ctx->panel, dev, &mantix_drm_funcs, in mantix_probe()
282 ret = drm_panel_of_backlight(&ctx->panel); in mantix_probe()
286 drm_panel_add(&ctx->panel); in mantix_probe()
291 drm_panel_remove(&ctx->panel); in mantix_probe()
307 drm_panel_unprepare(&ctx->panel); in mantix_shutdown()
308 drm_panel_disable(&ctx->panel); in mantix_shutdown()
318 drm_panel_remove(&ctx->panel); in mantix_remove()