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_type: 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
370 static int tpg110_get_modes(struct drm_panel *panel,
373 struct tpg110 *tpg = to_tpg110(panel);
415 dev_err(dev, "no panel width specified\n");
418 dev_err(dev, "no panel height specified\n");
440 drm_panel_init(&tpg->panel, dev, &tpg110_drm_funcs,
443 ret = drm_panel_of_backlight(&tpg->panel);
449 drm_panel_add(&tpg->panel);
458 drm_panel_remove(&tpg->panel);
472 .name = "tpo-tpg110-panel",
479 MODULE_DESCRIPTION("TPO TPG110 panel driver");