Lines Matching refs:panel
45 * @name: the name of this panel
53 * @mode: the DRM display mode for this panel
57 * @bus_flags: the DRM bus flags for this panel e.g. inverted clock
63 * struct tpg110 - state container for the TPG110 panel
75 * @panel: the DRM panel instance for this device
77 struct drm_panel panel;
79 * @panel_mode: the panel mode as detected
83 * @width: the width of this panel in mm
87 * @height: the height of this panel in mm
184 to_tpg110(struct drm_panel *panel)
186 return container_of(panel, struct tpg110, panel);
336 static int tpg110_disable(struct drm_panel *panel)
338 struct tpg110 *tpg = to_tpg110(panel);
349 static int tpg110_enable(struct drm_panel *panel)
351 struct tpg110 *tpg = to_tpg110(panel);
364 * @panel: the panel to get the mode for
371 static int tpg110_get_modes(struct drm_panel *panel,
374 struct tpg110 *tpg = to_tpg110(panel);
416 dev_err(dev, "no panel width specified\n");
419 dev_err(dev, "no panel height specified\n");
441 drm_panel_init(&tpg->panel, dev, &tpg110_drm_funcs,
444 ret = drm_panel_of_backlight(&tpg->panel);
450 drm_panel_add(&tpg->panel);
459 drm_panel_remove(&tpg->panel);
479 .name = "tpo-tpg110-panel",
486 MODULE_DESCRIPTION("TPO TPG110 panel driver");