Lines Matching refs:ads7846

95 struct ads7846 {  struct
203 static void ads7846_stop(struct ads7846 *ts) in ads7846_stop()
215 static void ads7846_restart(struct ads7846 *ts) in ads7846_restart()
226 static void __ads7846_disable(struct ads7846 *ts) in __ads7846_disable()
238 static void __ads7846_enable(struct ads7846 *ts) in __ads7846_enable()
249 static void ads7846_disable(struct ads7846 *ts) in ads7846_disable()
264 static void ads7846_enable(struct ads7846 *ts) in ads7846_enable()
315 struct ads7846 *ts = dev_get_drvdata(dev); in ads7846_read12_ser()
389 struct ads7846 *ts = dev_get_drvdata(dev); in ads7845_read12_ser()
427 struct ads7846 *ts = dev_get_drvdata(dev); \
442 static inline unsigned null_adjust(struct ads7846 *ts, ssize_t v) in null_adjust()
455 static inline unsigned vaux_adjust(struct ads7846 *ts, ssize_t v) in SHOW()
466 static inline unsigned vbatt_adjust(struct ads7846 *ts, ssize_t v) in vbatt_adjust()
484 struct ads7846 *ts = dev_get_drvdata(dev); in SHOW()
508 static int ads784x_hwmon_register(struct spi_device *spi, struct ads7846 *ts) in ads784x_hwmon_register()
537 struct ads7846 *ts) in ads784x_hwmon_unregister()
545 struct ads7846 *ts) in ads784x_hwmon_register()
551 struct ads7846 *ts) in ads784x_hwmon_unregister()
559 struct ads7846 *ts = dev_get_drvdata(dev); in ads7846_pen_down_show()
569 struct ads7846 *ts = dev_get_drvdata(dev); in ads7846_disable_show()
578 struct ads7846 *ts = dev_get_drvdata(dev); in ads7846_disable_store()
608 static int get_pendown_state(struct ads7846 *ts) in get_pendown_state()
622 struct ads7846 *ts = ads; in ads7846_debounce_filter()
667 static int ads7846_get_value(struct ads7846 *ts, struct spi_message *m) in ads7846_get_value()
695 static void ads7846_read_state(struct ads7846 *ts) in ads7846_read_state()
749 static void ads7846_report_state(struct ads7846 *ts) in ads7846_report_state()
849 struct ads7846 *ts = handle; in ads7846_hard_irq()
857 struct ads7846 *ts = handle; in ads7846_irq()
890 struct ads7846 *ts = dev_get_drvdata(dev); in ads7846_suspend()
912 struct ads7846 *ts = dev_get_drvdata(dev); in ads7846_resume()
935 struct ads7846 *ts, in ads7846_setup_pendown()
976 static void ads7846_setup_spi_msg(struct ads7846 *ts, in ads7846_setup_spi_msg()
1257 struct ads7846 *ts; in ads7846_probe()
1286 ts = kzalloc(sizeof(struct ads7846), GFP_KERNEL); in ads7846_probe()
1463 struct ads7846 *ts = spi_get_drvdata(spi); in ads7846_remove()