Lines Matching full:panel

22 	struct drm_panel	panel;  member
31 static inline struct feiyang *panel_to_feiyang(struct drm_panel *panel) in panel_to_feiyang() argument
33 return container_of(panel, struct feiyang, panel); in panel_to_feiyang()
50 static int feiyang_prepare(struct drm_panel *panel) in feiyang_prepare() argument
52 struct feiyang *ctx = panel_to_feiyang(panel); in feiyang_prepare()
97 static int feiyang_enable(struct drm_panel *panel) in feiyang_enable() argument
99 struct feiyang *ctx = panel_to_feiyang(panel); in feiyang_enable()
110 static int feiyang_disable(struct drm_panel *panel) in feiyang_disable() argument
112 struct feiyang *ctx = panel_to_feiyang(panel); in feiyang_disable()
118 static int feiyang_unprepare(struct drm_panel *panel) in feiyang_unprepare() argument
120 struct feiyang *ctx = panel_to_feiyang(panel); in feiyang_unprepare()
125 DRM_DEV_ERROR(panel->dev, "failed to set display off: %d\n", in feiyang_unprepare()
130 DRM_DEV_ERROR(panel->dev, "failed to enter sleep mode: %d\n", in feiyang_unprepare()
165 static int feiyang_get_modes(struct drm_panel *panel) in feiyang_get_modes() argument
167 struct drm_connector *connector = panel->connector; in feiyang_get_modes()
168 struct feiyang *ctx = panel_to_feiyang(panel); in feiyang_get_modes()
171 mode = drm_mode_duplicate(panel->drm, &feiyang_default_mode); in feiyang_get_modes()
207 drm_panel_init(&ctx->panel); in feiyang_dsi_probe()
208 ctx->panel.dev = &dsi->dev; in feiyang_dsi_probe()
209 ctx->panel.funcs = &feiyang_funcs; in feiyang_dsi_probe()
233 ret = drm_panel_add(&ctx->panel); in feiyang_dsi_probe()
249 drm_panel_remove(&ctx->panel); in feiyang_dsi_remove()
271 MODULE_DESCRIPTION("Feiyang FY07024DI26A30-D MIPI-DSI LCD panel");