Lines Matching defs:ld9040
3 * ld9040 AMOLED LCD drm_panel driver.
6 * Derived from drivers/video/backlight/ld9040.c
91 struct ld9040 {
114 static inline struct ld9040 *panel_to_ld9040(struct drm_panel *panel)
116 return container_of(panel, struct ld9040, panel);
119 static int ld9040_clear_error(struct ld9040 *ctx)
127 static int ld9040_spi_write_word(struct ld9040 *ctx, u16 data)
142 static void ld9040_dcs_write(struct ld9040 *ctx, const u8 *data, size_t len)
172 static void ld9040_brightness_set(struct ld9040 *ctx)
180 static void ld9040_init(struct ld9040 *ctx)
199 static int ld9040_power_on(struct ld9040 *ctx)
216 static int ld9040_power_off(struct ld9040 *ctx)
228 struct ld9040 *ctx = panel_to_ld9040(panel);
242 struct ld9040 *ctx = panel_to_ld9040(panel);
267 struct ld9040 *ctx = panel_to_ld9040(panel);
296 static int ld9040_parse_dt(struct ld9040 *ctx)
316 struct ld9040 *ctx = bl_get_data(dev);
339 struct ld9040 *ctx;
342 ctx = devm_kzalloc(dev, sizeof(struct ld9040), GFP_KERNEL);
392 struct ld9040 *ctx = spi_get_drvdata(spi);
399 { .compatible = "samsung,ld9040" },
405 { "ld9040", },
415 .name = "panel-samsung-ld9040",
422 MODULE_DESCRIPTION("ld9040 LCD Driver");