Lines Matching full:panel
7 * This file based on panel-ilitek-ili9881c.c
30 struct drm_panel panel; member
43 static inline struct rb070d30_panel *panel_to_rb070d30_panel(struct drm_panel *panel) in panel_to_rb070d30_panel() argument
45 return container_of(panel, struct rb070d30_panel, panel); in panel_to_rb070d30_panel()
48 static int rb070d30_panel_prepare(struct drm_panel *panel) in rb070d30_panel_prepare() argument
50 struct rb070d30_panel *ctx = panel_to_rb070d30_panel(panel); in rb070d30_panel_prepare()
67 static int rb070d30_panel_unprepare(struct drm_panel *panel) in rb070d30_panel_unprepare() argument
69 struct rb070d30_panel *ctx = panel_to_rb070d30_panel(panel); in rb070d30_panel_unprepare()
78 static int rb070d30_panel_enable(struct drm_panel *panel) in rb070d30_panel_enable() argument
80 struct rb070d30_panel *ctx = panel_to_rb070d30_panel(panel); in rb070d30_panel_enable()
98 static int rb070d30_panel_disable(struct drm_panel *panel) in rb070d30_panel_disable() argument
100 struct rb070d30_panel *ctx = panel_to_rb070d30_panel(panel); in rb070d30_panel_disable()
123 static int rb070d30_panel_get_modes(struct drm_panel *panel) in rb070d30_panel_get_modes() argument
125 struct drm_connector *connector = panel->connector; in rb070d30_panel_get_modes()
126 struct rb070d30_panel *ctx = panel_to_rb070d30_panel(panel); in rb070d30_panel_get_modes()
130 mode = drm_mode_duplicate(panel->drm, &default_mode); in rb070d30_panel_get_modes()
143 panel->connector->display_info.bpc = 8; in rb070d30_panel_get_modes()
144 panel->connector->display_info.width_mm = mode->width_mm; in rb070d30_panel_get_modes()
145 panel->connector->display_info.height_mm = mode->height_mm; in rb070d30_panel_get_modes()
176 drm_panel_init(&ctx->panel); in rb070d30_panel_dsi_probe()
177 ctx->panel.dev = &dsi->dev; in rb070d30_panel_dsi_probe()
178 ctx->panel.funcs = &rb070d30_panel_funcs; in rb070d30_panel_dsi_probe()
218 ret = drm_panel_add(&ctx->panel); in rb070d30_panel_dsi_probe()
234 drm_panel_remove(&ctx->panel); in rb070d30_panel_dsi_remove()
249 .name = "panel-ronbo-rb070d30",
257 MODULE_DESCRIPTION("Ronbo RB070D30 Panel Driver");