ld9040
static inline struct ld9040 *panel_to_ld9040(struct drm_panel *panel)
return container_of(panel, struct ld9040, panel);
static int ld9040_clear_error(struct ld9040 *ctx)
static int ld9040_spi_write_word(struct ld9040 *ctx, u16 data)
static void ld9040_dcs_write(struct ld9040 *ctx, const u8 *data, size_t len)
static void ld9040_brightness_set(struct ld9040 *ctx)
static void ld9040_init(struct ld9040 *ctx)
static int ld9040_power_on(struct ld9040 *ctx)
static int ld9040_power_off(struct ld9040 *ctx)
struct ld9040 *ctx = panel_to_ld9040(panel);
struct ld9040 *ctx = panel_to_ld9040(panel);
struct ld9040 *ctx = panel_to_ld9040(panel);
static int ld9040_parse_dt(struct ld9040 *ctx)
struct ld9040 *ctx = bl_get_data(dev);
struct ld9040 *ctx;
ctx = devm_drm_panel_alloc(dev, struct ld9040, panel,
struct ld9040 *ctx = spi_get_drvdata(spi);