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);
254 static int td028ttec1_disable(struct drm_panel *panel)
256 struct td028ttec1_panel *lcd = to_td028ttec1_device(panel);
263 static int td028ttec1_unprepare(struct drm_panel *panel)
265 struct td028ttec1_panel *lcd = to_td028ttec1_device(panel);
290 static int td028ttec1_get_modes(struct drm_panel *panel,
346 drm_panel_init(&lcd->panel, &lcd->spi->dev, &td028ttec1_funcs,
349 ret = drm_panel_of_backlight(&lcd->panel);
353 drm_panel_add(&lcd->panel);
362 drm_panel_remove(&lcd->panel);
363 drm_panel_disable(&lcd->panel);
364 drm_panel_unprepare(&lcd->panel);
390 .name = "panel-tpo-td028ttec1",
398 MODULE_DESCRIPTION("Toppoly TD028TTEC1 panel driver");