Lines Matching refs:ads7846
96 struct ads7846 { struct
220 static int get_pendown_state(struct ads7846 *ts) in get_pendown_state()
228 static void ads7846_report_pen_up(struct ads7846 *ts) in ads7846_report_pen_up()
241 static void ads7846_stop(struct ads7846 *ts) in ads7846_stop()
253 static void ads7846_restart(struct ads7846 *ts) in ads7846_restart()
268 static void __ads7846_disable(struct ads7846 *ts) in __ads7846_disable()
280 static void __ads7846_enable(struct ads7846 *ts) in __ads7846_enable()
291 static void ads7846_disable(struct ads7846 *ts) in ads7846_disable()
306 static void ads7846_enable(struct ads7846 *ts) in ads7846_enable()
357 struct ads7846 *ts = dev_get_drvdata(dev); in ads7846_read12_ser()
432 struct ads7846 *ts = dev_get_drvdata(dev); in ads7845_read12_ser()
470 struct ads7846 *ts = dev_get_drvdata(dev); \
485 static inline unsigned null_adjust(struct ads7846 *ts, ssize_t v) in null_adjust()
498 static inline unsigned vaux_adjust(struct ads7846 *ts, ssize_t v) in SHOW()
509 static inline unsigned vbatt_adjust(struct ads7846 *ts, ssize_t v) in vbatt_adjust()
527 struct ads7846 *ts = dev_get_drvdata(dev); in SHOW()
551 static int ads784x_hwmon_register(struct spi_device *spi, struct ads7846 *ts) in ads784x_hwmon_register()
584 struct ads7846 *ts) in ads784x_hwmon_register()
593 struct ads7846 *ts = dev_get_drvdata(dev); in ads7846_pen_down_show()
603 struct ads7846 *ts = dev_get_drvdata(dev); in ads7846_disable_show()
612 struct ads7846 *ts = dev_get_drvdata(dev); in ads7846_disable_store()
648 struct ads7846 *ts = ads; in ads7846_debounce_filter()
703 static void ads7846_set_cmd_val(struct ads7846 *ts, enum ads7846_cmds cmd_idx, in ads7846_set_cmd_val()
765 static int ads7846_filter(struct ads7846 *ts) in ads7846_filter()
798 static void ads7846_read_state(struct ads7846 *ts) in ads7846_read_state()
826 static void ads7846_report_state(struct ads7846 *ts) in ads7846_report_state()
916 struct ads7846 *ts = handle; in ads7846_hard_irq()
924 struct ads7846 *ts = handle; in ads7846_irq()
949 struct ads7846 *ts = dev_get_drvdata(dev); in ads7846_suspend()
971 struct ads7846 *ts = dev_get_drvdata(dev); in ads7846_resume()
994 struct ads7846 *ts, in ads7846_setup_pendown()
1035 static int ads7846_setup_spi_msg(struct ads7846 *ts, in ads7846_setup_spi_msg()
1215 struct ads7846 *ts; in ads7846_probe()
1246 ts = devm_kzalloc(dev, sizeof(struct ads7846), GFP_KERNEL); in ads7846_probe()
1416 struct ads7846 *ts = spi_get_drvdata(spi); in ads7846_remove()