Lines Matching refs:panel
3 * Panel driver for the Samsung S6D27A1 480x800 DPI RGB panel.
26 #define S6D27A1_READID1 0xDA /* Read panel ID 1 */
27 #define S6D27A1_READID2 0xDB /* Read panel ID 2 */
28 #define S6D27A1_READID3 0xDC /* Read panel ID 3 */
45 struct drm_panel panel;
52 * The vendor driver states that the S6D27A1 panel
69 static inline struct s6d27a1 *to_s6d27a1(struct drm_panel *panel)
71 return container_of(panel, struct s6d27a1, panel);
171 static int s6d27a1_unprepare(struct drm_panel *panel)
173 struct s6d27a1 *ctx = to_s6d27a1(panel);
178 return s6d27a1_power_off(to_s6d27a1(panel));
181 static int s6d27a1_disable(struct drm_panel *panel)
183 struct s6d27a1 *ctx = to_s6d27a1(panel);
192 static int s6d27a1_prepare(struct drm_panel *panel)
194 return s6d27a1_power_on(to_s6d27a1(panel));
197 static int s6d27a1_enable(struct drm_panel *panel)
199 struct s6d27a1 *ctx = to_s6d27a1(panel);
207 static int s6d27a1_get_modes(struct drm_panel *panel,
210 struct s6d27a1 *ctx = to_s6d27a1(panel);
280 drm_panel_init(&ctx->panel, dev, &s6d27a1_drm_funcs,
283 ret = drm_panel_of_backlight(&ctx->panel);
289 drm_panel_add(&ctx->panel);
298 drm_panel_remove(&ctx->panel);
311 .name = "s6d27a1-panel",
318 MODULE_DESCRIPTION("Samsung S6D27A1 panel driver");