Lines Matching full:panel
3 * Generic LVDS panel driver
26 struct drm_panel panel; member
44 static inline struct panel_lvds *to_panel_lvds(struct drm_panel *panel) in to_panel_lvds() argument
46 return container_of(panel, struct panel_lvds, panel); in to_panel_lvds()
49 static int panel_lvds_unprepare(struct drm_panel *panel) in panel_lvds_unprepare() argument
51 struct panel_lvds *lvds = to_panel_lvds(panel); in panel_lvds_unprepare()
62 static int panel_lvds_prepare(struct drm_panel *panel) in panel_lvds_prepare() argument
64 struct panel_lvds *lvds = to_panel_lvds(panel); in panel_lvds_prepare()
83 static int panel_lvds_get_modes(struct drm_panel *panel, in panel_lvds_get_modes() argument
86 struct panel_lvds *lvds = to_panel_lvds(panel); in panel_lvds_get_modes()
128 ret = of_get_display_timing(np, "panel-timing", &timing); in panel_lvds_parse_dt()
130 dev_err(lvds->dev, "%pOF: problems parsing panel-timing (%d)\n", in panel_lvds_parse_dt()
231 /* Register the panel. */ in panel_lvds_probe()
232 drm_panel_init(&lvds->panel, lvds->dev, &panel_lvds_funcs, in panel_lvds_probe()
235 ret = drm_panel_of_backlight(&lvds->panel); in panel_lvds_probe()
239 drm_panel_add(&lvds->panel); in panel_lvds_probe()
249 drm_panel_remove(&lvds->panel); in panel_lvds_remove()
251 drm_panel_disable(&lvds->panel); in panel_lvds_remove()
257 { .compatible = "panel-lvds", },
267 .name = "panel-lvds",
275 MODULE_DESCRIPTION("LVDS Panel Driver");