Lines Matching refs:panel
7 * Based on the omapdrm-specific panel-tpo-td028ttec1 driver
82 struct drm_panel panel;
87 #define to_td028ttec1_device(p) container_of(p, struct td028ttec1_panel, panel)
162 static int td028ttec1_prepare(struct drm_panel *panel)
164 struct td028ttec1_panel *lcd = to_td028ttec1_device(panel);
242 static int td028ttec1_enable(struct drm_panel *panel)
244 struct td028ttec1_panel *lcd = to_td028ttec1_device(panel);
249 static int td028ttec1_disable(struct drm_panel *panel)
251 struct td028ttec1_panel *lcd = to_td028ttec1_device(panel);
258 static int td028ttec1_unprepare(struct drm_panel *panel)
260 struct td028ttec1_panel *lcd = to_td028ttec1_device(panel);
285 static int td028ttec1_get_modes(struct drm_panel *panel,
341 drm_panel_init(&lcd->panel, &lcd->spi->dev, &td028ttec1_funcs,
344 ret = drm_panel_of_backlight(&lcd->panel);
348 drm_panel_add(&lcd->panel);
357 drm_panel_remove(&lcd->panel);
358 drm_panel_disable(&lcd->panel);
359 drm_panel_unprepare(&lcd->panel);
383 .name = "panel-tpo-td028ttec1",
391 MODULE_DESCRIPTION("Toppoly TD028TTEC1 panel driver");