Lines Matching defs:ld9040
3 * ld9040 AMOLED LCD drm_panel driver.
6 * Derived from drivers/video/backlight/ld9040.c
90 struct ld9040 {
113 static inline struct ld9040 *panel_to_ld9040(struct drm_panel *panel)
115 return container_of(panel, struct ld9040, panel);
118 static int ld9040_clear_error(struct ld9040 *ctx)
126 static int ld9040_spi_write_word(struct ld9040 *ctx, u16 data)
141 static void ld9040_dcs_write(struct ld9040 *ctx, const u8 *data, size_t len)
171 static void ld9040_brightness_set(struct ld9040 *ctx)
179 static void ld9040_init(struct ld9040 *ctx)
198 static int ld9040_power_on(struct ld9040 *ctx)
215 static int ld9040_power_off(struct ld9040 *ctx)
227 struct ld9040 *ctx = panel_to_ld9040(panel);
241 struct ld9040 *ctx = panel_to_ld9040(panel);
266 struct ld9040 *ctx = panel_to_ld9040(panel);
295 static int ld9040_parse_dt(struct ld9040 *ctx)
316 struct ld9040 *ctx;
319 ctx = devm_kzalloc(dev, sizeof(struct ld9040), GFP_KERNEL);
363 struct ld9040 *ctx = spi_get_drvdata(spi);
372 { .compatible = "samsung,ld9040" },
378 { "ld9040", },
387 .name = "panel-samsung-ld9040",
394 MODULE_DESCRIPTION("ld9040 LCD Driver");