Lines Matching refs:panel
92 struct drm_panel panel; member
113 static inline struct ld9040 *panel_to_ld9040(struct drm_panel *panel) in panel_to_ld9040() argument
115 return container_of(panel, struct ld9040, panel); in panel_to_ld9040()
220 static int ld9040_disable(struct drm_panel *panel) in ld9040_disable() argument
225 static int ld9040_unprepare(struct drm_panel *panel) in ld9040_unprepare() argument
227 struct ld9040 *ctx = panel_to_ld9040(panel); in ld9040_unprepare()
239 static int ld9040_prepare(struct drm_panel *panel) in ld9040_prepare() argument
241 struct ld9040 *ctx = panel_to_ld9040(panel); in ld9040_prepare()
253 ld9040_unprepare(panel); in ld9040_prepare()
258 static int ld9040_enable(struct drm_panel *panel) in ld9040_enable() argument
263 static int ld9040_get_modes(struct drm_panel *panel) in ld9040_get_modes() argument
265 struct drm_connector *connector = panel->connector; in ld9040_get_modes()
266 struct ld9040 *ctx = panel_to_ld9040(panel); in ld9040_get_modes()
353 drm_panel_init(&ctx->panel); in ld9040_probe()
354 ctx->panel.dev = dev; in ld9040_probe()
355 ctx->panel.funcs = &ld9040_drm_funcs; in ld9040_probe()
357 return drm_panel_add(&ctx->panel); in ld9040_probe()
365 drm_panel_remove(&ctx->panel); in ld9040_remove()