rpi_touchscreen
static struct rpi_touchscreen *panel_to_ts(struct drm_panel *panel)
return container_of(panel, struct rpi_touchscreen, base);
static int rpi_touchscreen_i2c_read(struct rpi_touchscreen *ts, u8 reg)
static void rpi_touchscreen_i2c_write(struct rpi_touchscreen *ts,
static int rpi_touchscreen_write(struct rpi_touchscreen *ts, u16 reg, u32 val)
struct rpi_touchscreen *ts = panel_to_ts(panel);
struct rpi_touchscreen *ts = panel_to_ts(panel);
struct rpi_touchscreen *ts = panel_to_ts(panel);
struct rpi_touchscreen *ts;
struct rpi_touchscreen *ts = i2c_get_clientdata(i2c);