Lines Matching full:ld9040

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