Lines Matching full:panel

3  * Mantix MLAF057WE51 5.7" MIPI-DSI panel driver
20 #define DRV_NAME "panel-mantix-mlaf057we51"
28 struct drm_panel panel; member
38 static inline struct mantix *panel_to_mantix(struct drm_panel *panel) in panel_to_mantix() argument
40 return container_of(panel, struct mantix, panel); in panel_to_mantix()
57 * Init sequence was supplied by the panel vendor. in mantix_init_sequence()
69 dev_dbg(dev, "Panel init sequence done\n"); in mantix_init_sequence()
73 static int mantix_enable(struct drm_panel *panel) in mantix_enable() argument
75 struct mantix *ctx = panel_to_mantix(panel); in mantix_enable()
82 dev_err(ctx->dev, "Panel init sequence failed: %d\n", ret); in mantix_enable()
107 static int mantix_disable(struct drm_panel *panel) in mantix_disable() argument
109 struct mantix *ctx = panel_to_mantix(panel); in mantix_disable()
125 static int mantix_unprepare(struct drm_panel *panel) in mantix_unprepare() argument
127 struct mantix *ctx = panel_to_mantix(panel); in mantix_unprepare()
144 static int mantix_prepare(struct drm_panel *panel) in mantix_prepare() argument
146 struct mantix *ctx = panel_to_mantix(panel); in mantix_prepare()
150 dev_dbg(ctx->dev, "Resetting the panel\n"); in mantix_prepare()
200 static int mantix_get_modes(struct drm_panel *panel, in mantix_get_modes() argument
203 struct mantix *ctx = panel_to_mantix(panel); in mantix_get_modes()
274 drm_panel_init(&ctx->panel, dev, &mantix_drm_funcs, in mantix_probe()
277 ret = drm_panel_of_backlight(&ctx->panel); in mantix_probe()
281 drm_panel_add(&ctx->panel); in mantix_probe()
286 drm_panel_remove(&ctx->panel); in mantix_probe()
302 drm_panel_unprepare(&ctx->panel); in mantix_shutdown()
303 drm_panel_disable(&ctx->panel); in mantix_shutdown()
313 drm_panel_remove(&ctx->panel); in mantix_remove()
336 MODULE_DESCRIPTION("DRM driver for Mantix MLAF057WE51-X MIPI DSI panel");