Lines Matching refs:ad7879
107 struct ad7879 { struct
138 static int ad7879_read(struct ad7879 *ts, u8 reg) in ad7879_read() argument
143 static int ad7879_multi_read(struct ad7879 *ts, u8 first_reg, u8 count, u16 *buf) in ad7879_multi_read()
148 static int ad7879_write(struct ad7879 *ts, u8 reg, u16 val) in ad7879_write()
153 static int ad7879_report(struct ad7879 *ts) in ad7879_report()
217 static void ad7879_ts_event_release(struct ad7879 *ts) in ad7879_ts_event_release()
228 struct ad7879 *ts = (void *)handle; in ad7879_timer()
235 struct ad7879 *ts = handle; in ad7879_irq()
245 static void __ad7879_enable(struct ad7879 *ts) in __ad7879_enable()
254 static void __ad7879_disable(struct ad7879 *ts) in __ad7879_disable()
269 struct ad7879 *ts = input_get_drvdata(input); in ad7879_open()
280 struct ad7879 *ts = input_get_drvdata(input); in ad7879_close()
289 struct ad7879 *ts = dev_get_drvdata(dev); in ad7879_suspend()
305 struct ad7879 *ts = dev_get_drvdata(dev); in ad7879_resume()
322 static void ad7879_toggle(struct ad7879 *ts, bool disable) in ad7879_toggle()
345 struct ad7879 *ts = dev_get_drvdata(dev); in ad7879_disable_show()
354 struct ad7879 *ts = dev_get_drvdata(dev); in ad7879_disable_store()
382 struct ad7879 *ts = container_of(chip, struct ad7879, gc); in ad7879_gpio_direction_input()
396 struct ad7879 *ts = container_of(chip, struct ad7879, gc); in ad7879_gpio_direction_output()
415 struct ad7879 *ts = container_of(chip, struct ad7879, gc); in ad7879_gpio_get_value()
428 struct ad7879 *ts = container_of(chip, struct ad7879, gc); in ad7879_gpio_set_value()
440 static int ad7879_gpio_add(struct ad7879 *ts, in ad7879_gpio_add()
468 static void ad7879_gpio_remove(struct ad7879 *ts) in ad7879_gpio_remove()
477 static inline int ad7879_gpio_add(struct ad7879 *ts, in ad7879_gpio_add()
483 static inline void ad7879_gpio_remove(struct ad7879 *ts) in ad7879_gpio_remove()
488 struct ad7879 *ad7879_probe(struct device *dev, u8 devid, unsigned int irq, in ad7879_probe()
492 struct ad7879 *ts; in ad7879_probe()
635 void ad7879_remove(struct ad7879 *ts) in ad7879_remove()