Lines Matching refs:panel
53 struct drm_panel panel;
87 static inline struct nt35950 *to_nt35950(struct drm_panel *panel)
89 return container_of(panel, struct nt35950, panel);
205 * After IC setup, the attached panel may show random data
428 static int nt35950_prepare(struct drm_panel *panel)
430 struct nt35950 *nt = to_nt35950(panel);
460 dev_err(dev, "Failed to initialize panel: %d\n", ret);
474 static int nt35950_unprepare(struct drm_panel *panel)
476 struct nt35950 *nt = to_nt35950(panel);
485 dev_err(dev, "Failed to deinitialize panel: %d\n", ret);
494 static int nt35950_get_modes(struct drm_panel *panel,
497 struct nt35950 *nt = to_nt35950(panel);
558 /* If the panel is connected on two DSIs then DSI0 left, DSI1 right */
584 drm_panel_init(&nt->panel, dev, &nt35950_panel_funcs,
587 ret = drm_panel_of_backlight(&nt->panel);
595 drm_panel_add(&nt->panel);
641 drm_panel_remove(&nt->panel);
692 .name = "panel-novatek-nt35950",