Lines Matching refs:ld9040
90 struct ld9040 { struct
113 static inline struct ld9040 *panel_to_ld9040(struct drm_panel *panel) in panel_to_ld9040() argument
115 return container_of(panel, struct ld9040, panel); in panel_to_ld9040()
118 static int ld9040_clear_error(struct ld9040 *ctx) in ld9040_clear_error()
126 static int ld9040_spi_write_word(struct ld9040 *ctx, u16 data) in ld9040_spi_write_word()
141 static void ld9040_dcs_write(struct ld9040 *ctx, const u8 *data, size_t len) in ld9040_dcs_write()
171 static void ld9040_brightness_set(struct ld9040 *ctx) in ld9040_brightness_set()
179 static void ld9040_init(struct ld9040 *ctx) in ld9040_init()
198 static int ld9040_power_on(struct ld9040 *ctx) in ld9040_power_on()
215 static int ld9040_power_off(struct ld9040 *ctx) in ld9040_power_off()
227 struct ld9040 *ctx = panel_to_ld9040(panel); in ld9040_unprepare()
241 struct ld9040 *ctx = panel_to_ld9040(panel); in ld9040_prepare()
266 struct ld9040 *ctx = panel_to_ld9040(panel); in ld9040_get_modes()
295 static int ld9040_parse_dt(struct ld9040 *ctx) in ld9040_parse_dt()
316 struct ld9040 *ctx; in ld9040_probe()
319 ctx = devm_kzalloc(dev, sizeof(struct ld9040), GFP_KERNEL); in ld9040_probe()
363 struct ld9040 *ctx = spi_get_drvdata(spi); in ld9040_remove()