Lines Matching refs:tsc2007
69 struct tsc2007 { struct
93 static inline int tsc2007_xfer(struct tsc2007 *tsc, u8 cmd) in tsc2007_xfer() argument
115 static void tsc2007_read_values(struct tsc2007 *tsc, struct ts_event *tc) in tsc2007_read_values()
131 static u32 tsc2007_calculate_pressure(struct tsc2007 *tsc, struct ts_event *tc) in tsc2007_calculate_pressure()
151 static bool tsc2007_is_pen_down(struct tsc2007 *ts) in tsc2007_is_pen_down()
175 struct tsc2007 *ts = handle; in tsc2007_soft_irq()
234 struct tsc2007 *ts = handle; in tsc2007_hard_irq()
245 static void tsc2007_stop(struct tsc2007 *ts) in tsc2007_stop()
256 struct tsc2007 *ts = input_get_drvdata(input_dev); in tsc2007_open()
276 struct tsc2007 *ts = input_get_drvdata(input_dev); in tsc2007_close()
285 struct tsc2007 *ts = i2c_get_clientdata(client); in tsc2007_get_pendown_state_gpio()
290 static int tsc2007_probe_dt(struct i2c_client *client, struct tsc2007 *ts) in tsc2007_probe_dt()
338 static int tsc2007_probe_dt(struct i2c_client *client, struct tsc2007 *ts) in tsc2007_probe_dt()
345 static int tsc2007_probe_pdev(struct i2c_client *client, struct tsc2007 *ts, in tsc2007_probe_pdev()
379 struct tsc2007 *ts; in tsc2007_probe()
387 ts = devm_kzalloc(&client->dev, sizeof(struct tsc2007), GFP_KERNEL); in tsc2007_probe()