Lines Matching refs:panel
31 struct drm_panel panel; member
41 static inline struct ej030na *to_ej030na(struct drm_panel *panel) in to_ej030na() argument
43 return container_of(panel, struct ej030na, panel); in to_ej030na()
86 static int ej030na_prepare(struct drm_panel *panel) in ej030na_prepare() argument
88 struct ej030na *priv = to_ej030na(panel); in ej030na_prepare()
118 static int ej030na_unprepare(struct drm_panel *panel) in ej030na_unprepare() argument
120 struct ej030na *priv = to_ej030na(panel); in ej030na_unprepare()
128 static int ej030na_enable(struct drm_panel *panel) in ej030na_enable() argument
130 struct ej030na *priv = to_ej030na(panel); in ej030na_enable()
135 if (panel->backlight) { in ej030na_enable()
143 static int ej030na_disable(struct drm_panel *panel) in ej030na_disable() argument
145 struct ej030na *priv = to_ej030na(panel); in ej030na_disable()
153 static int ej030na_get_modes(struct drm_panel *panel, in ej030na_get_modes() argument
156 struct ej030na *priv = to_ej030na(panel); in ej030na_get_modes()
234 drm_panel_init(&priv->panel, dev, &ej030na_funcs, in ej030na_probe()
237 err = drm_panel_of_backlight(&priv->panel); in ej030na_probe()
241 drm_panel_add(&priv->panel); in ej030na_probe()
250 drm_panel_remove(&priv->panel); in ej030na_remove()
251 drm_panel_disable(&priv->panel); in ej030na_remove()
252 drm_panel_unprepare(&priv->panel); in ej030na_remove()