Lines Matching refs:ad7877
156 struct ad7877 { struct
256 struct ad7877 *ts = spi_get_drvdata(spi); in ad7877_read_adc()
319 static int ad7877_process_data(struct ad7877 *ts) in ad7877_process_data()
367 static inline void ad7877_ts_event_release(struct ad7877 *ts) in ad7877_ts_event_release()
378 struct ad7877 *ts = from_timer(ts, t, timer); in ad7877_timer()
388 struct ad7877 *ts = handle; in ad7877_irq()
410 struct ad7877 *ts = data; in ad7877_disable()
430 static void ad7877_enable(struct ad7877 *ts) in ad7877_enable()
445 struct ad7877 *ts = dev_get_drvdata(dev); \
465 struct ad7877 *ts = dev_get_drvdata(dev); in SHOW()
474 struct ad7877 *ts = dev_get_drvdata(dev); in ad7877_disable_store()
495 struct ad7877 *ts = dev_get_drvdata(dev); in ad7877_dac_show()
504 struct ad7877 *ts = dev_get_drvdata(dev); in ad7877_dac_store()
525 struct ad7877 *ts = dev_get_drvdata(dev); in ad7877_gpio3_show()
534 struct ad7877 *ts = dev_get_drvdata(dev); in ad7877_gpio3_store()
556 struct ad7877 *ts = dev_get_drvdata(dev); in ad7877_gpio4_show()
565 struct ad7877 *ts = dev_get_drvdata(dev); in ad7877_gpio4_store()
620 static void ad7877_setup_ts_def_msg(struct spi_device *spi, struct ad7877 *ts) in ad7877_setup_ts_def_msg()
671 struct ad7877 *ts; in ad7877_probe()
700 ts = devm_kzalloc(&spi->dev, sizeof(struct ad7877), GFP_KERNEL); in ad7877_probe()
793 struct ad7877 *ts = dev_get_drvdata(dev); in ad7877_suspend()
802 struct ad7877 *ts = dev_get_drvdata(dev); in ad7877_resume()