st7789v
static inline struct st7789v *panel_to_st7789v(struct drm_panel *panel)
return container_of(panel, struct st7789v, panel);
static int st7789v_spi_write(struct st7789v *ctx, enum st7789v_prefix prefix,
static int st7789v_write_command(struct st7789v *ctx, u8 cmd)
static int st7789v_write_data(struct st7789v *ctx, u8 cmd)
static int st7789v_read_data(struct st7789v *ctx, u8 cmd, u8 *buf,
struct st7789v *ctx = panel_to_st7789v(panel);
struct st7789v *ctx = panel_to_st7789v(panel);
struct st7789v *ctx = panel_to_st7789v(p);
struct st7789v *ctx = panel_to_st7789v(panel);
struct st7789v *ctx = panel_to_st7789v(panel);
struct st7789v *ctx = panel_to_st7789v(panel);
struct st7789v *ctx = panel_to_st7789v(panel);
struct st7789v *ctx;
ctx = devm_drm_panel_alloc(dev, struct st7789v, panel,
struct st7789v *ctx = spi_get_drvdata(spi);