• Home
  • Raw
  • Download

Lines Matching full:panel

3  * Mantix MLAF057WE51 5.7" MIPI-DSI panel driver
20 #define DRV_NAME "panel-mantix-mlaf057we51"
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()
58 * Init sequence was supplied by the panel vendor. in mantix_init_sequence()
74 dev_dbg(dev, "Panel init sequence done\n"); in mantix_init_sequence()
78 static int mantix_enable(struct drm_panel *panel) in mantix_enable() argument
80 struct mantix *ctx = panel_to_mantix(panel); in mantix_enable()
87 dev_err(ctx->dev, "Panel init sequence failed: %d\n", ret); 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()
155 dev_dbg(ctx->dev, "Resetting the panel\n"); 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()
341 MODULE_DESCRIPTION("DRM driver for Mantix MLAF057WE51-X MIPI DSI panel");