Lines Matching full:panel
24 struct drm_panel panel; member
30 static inline struct lg_ld070wx3 *to_lg_ld070wx3(struct drm_panel *panel) in to_lg_ld070wx3() argument
32 return container_of(panel, struct lg_ld070wx3, panel); in to_lg_ld070wx3()
35 static int lg_ld070wx3_prepare(struct drm_panel *panel) in lg_ld070wx3_prepare() argument
37 struct lg_ld070wx3 *priv = to_lg_ld070wx3(panel); in lg_ld070wx3_prepare()
39 struct device *dev = panel->dev; in lg_ld070wx3_prepare()
76 static int lg_ld070wx3_unprepare(struct drm_panel *panel) in lg_ld070wx3_unprepare() argument
78 struct lg_ld070wx3 *priv = to_lg_ld070wx3(panel); in lg_ld070wx3_unprepare()
87 /* power supply must be off for at least 1s after panel disable */ in lg_ld070wx3_unprepare()
108 static int lg_ld070wx3_get_modes(struct drm_panel *panel, in lg_ld070wx3_get_modes() argument
126 priv = devm_drm_panel_alloc(dev, struct lg_ld070wx3, panel, in lg_ld070wx3_probe()
144 ret = drm_panel_of_backlight(&priv->panel); in lg_ld070wx3_probe()
148 drm_panel_add(&priv->panel); in lg_ld070wx3_probe()
152 drm_panel_remove(&priv->panel); in lg_ld070wx3_probe()
163 drm_panel_remove(&priv->panel); in lg_ld070wx3_remove()
174 .name = "panel-lg-ld070wx3",
183 MODULE_DESCRIPTION("LG LD070WX3-SL01 DSI panel driver");