Lines Matching defs:panel
36 static inline struct sw43408_panel *to_panel_info(struct drm_panel *panel)
38 return container_of(panel, struct sw43408_panel, base);
41 static int sw43408_unprepare(struct drm_panel *panel)
43 struct sw43408_panel *ctx = to_panel_info(panel);
48 dev_err(panel->dev, "set_display_off cmd failed ret = %d\n", ret);
52 dev_err(panel->dev, "enter_sleep cmd failed ret = %d\n", ret);
61 static int sw43408_program(struct drm_panel *panel)
63 struct sw43408_panel *ctx = to_panel_info(panel);
112 * This panel uses PPS selectors with offset:
122 static int sw43408_prepare(struct drm_panel *panel)
124 struct sw43408_panel *ctx = to_panel_info(panel);
140 ret = sw43408_program(panel);
171 static int sw43408_get_modes(struct drm_panel *panel,
275 /* The panel works only in the DSC mode. Set DSC params. */
299 dev_err(&dsi->dev, "failed to unprepare panel: %d\n", ret);
310 .name = "panel-lg-sw43408",
319 MODULE_DESCRIPTION("LG SW436408 MIPI-DSI LED panel");