Lines Matching refs:ads7846
94 struct ads7846 { struct
218 static int get_pendown_state(struct ads7846 *ts) in get_pendown_state()
226 static void ads7846_report_pen_up(struct ads7846 *ts) in ads7846_report_pen_up()
239 static void ads7846_stop(struct ads7846 *ts) in ads7846_stop()
251 static void ads7846_restart(struct ads7846 *ts) in ads7846_restart()
266 static void __ads7846_disable(struct ads7846 *ts) in __ads7846_disable()
278 static void __ads7846_enable(struct ads7846 *ts) in __ads7846_enable()
289 static void ads7846_disable(struct ads7846 *ts) in ads7846_disable()
304 static void ads7846_enable(struct ads7846 *ts) in ads7846_enable()
355 struct ads7846 *ts = dev_get_drvdata(dev); in ads7846_read12_ser()
430 struct ads7846 *ts = dev_get_drvdata(dev); in ads7845_read12_ser()
468 struct ads7846 *ts = dev_get_drvdata(dev); \
483 static inline unsigned null_adjust(struct ads7846 *ts, ssize_t v) in null_adjust()
496 static inline unsigned vaux_adjust(struct ads7846 *ts, ssize_t v) in SHOW()
507 static inline unsigned vbatt_adjust(struct ads7846 *ts, ssize_t v) in vbatt_adjust()
525 struct ads7846 *ts = dev_get_drvdata(dev); in SHOW()
549 static int ads784x_hwmon_register(struct spi_device *spi, struct ads7846 *ts) in ads784x_hwmon_register()
582 struct ads7846 *ts) in ads784x_hwmon_register()
591 struct ads7846 *ts = dev_get_drvdata(dev); in ads7846_pen_down_show()
601 struct ads7846 *ts = dev_get_drvdata(dev); in ads7846_disable_show()
610 struct ads7846 *ts = dev_get_drvdata(dev); in ads7846_disable_store()
646 struct ads7846 *ts = ads; in ads7846_debounce_filter()
701 static void ads7846_set_cmd_val(struct ads7846 *ts, enum ads7846_cmds cmd_idx, in ads7846_set_cmd_val()
763 static int ads7846_filter(struct ads7846 *ts) in ads7846_filter()
796 static void ads7846_read_state(struct ads7846 *ts) in ads7846_read_state()
824 static void ads7846_report_state(struct ads7846 *ts) in ads7846_report_state()
908 struct ads7846 *ts = handle; in ads7846_hard_irq()
916 struct ads7846 *ts = handle; in ads7846_irq()
941 struct ads7846 *ts = dev_get_drvdata(dev); in ads7846_suspend()
963 struct ads7846 *ts = dev_get_drvdata(dev); in ads7846_resume()
986 struct ads7846 *ts, in ads7846_setup_pendown()
1015 static int ads7846_setup_spi_msg(struct ads7846 *ts, in ads7846_setup_spi_msg()
1180 struct ads7846 *ts; in ads7846_probe()
1211 ts = devm_kzalloc(dev, sizeof(struct ads7846), GFP_KERNEL); in ads7846_probe()
1382 struct ads7846 *ts = spi_get_drvdata(spi); in ads7846_remove()