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()
539 struct ads7846 *ts) in ads784x_hwmon_unregister()
547 struct ads7846 *ts) in ads784x_hwmon_register()
553 struct ads7846 *ts) in ads784x_hwmon_unregister()
561 struct ads7846 *ts = dev_get_drvdata(dev); in ads7846_pen_down_show()
571 struct ads7846 *ts = dev_get_drvdata(dev); in ads7846_disable_show()
580 struct ads7846 *ts = dev_get_drvdata(dev); in ads7846_disable_store()
610 static int get_pendown_state(struct ads7846 *ts) in get_pendown_state()
624 struct ads7846 *ts = ads; in ads7846_debounce_filter()
669 static int ads7846_get_value(struct ads7846 *ts, struct spi_message *m) in ads7846_get_value()
693 static void ads7846_read_state(struct ads7846 *ts) in ads7846_read_state()
747 static void ads7846_report_state(struct ads7846 *ts) in ads7846_report_state()
847 struct ads7846 *ts = handle; in ads7846_hard_irq()
855 struct ads7846 *ts = handle; in ads7846_irq()
888 struct ads7846 *ts = dev_get_drvdata(dev); in ads7846_suspend()
910 struct ads7846 *ts = dev_get_drvdata(dev); in ads7846_resume()
933 struct ads7846 *ts, in ads7846_setup_pendown()
974 static void ads7846_setup_spi_msg(struct ads7846 *ts, in ads7846_setup_spi_msg()
1254 struct ads7846 *ts; in ads7846_probe()
1283 ts = kzalloc(sizeof(struct ads7846), GFP_KERNEL); in ads7846_probe()
1460 struct ads7846 *ts = spi_get_drvdata(spi); in ads7846_remove()