Lines Matching refs:ads7846
94 struct ads7846 { struct
219 static int get_pendown_state(struct ads7846 *ts) in get_pendown_state()
227 static void ads7846_report_pen_up(struct ads7846 *ts) in ads7846_report_pen_up()
240 static void ads7846_stop(struct ads7846 *ts) in ads7846_stop()
252 static void ads7846_restart(struct ads7846 *ts) in ads7846_restart()
267 static void __ads7846_disable(struct ads7846 *ts) in __ads7846_disable()
279 static void __ads7846_enable(struct ads7846 *ts) in __ads7846_enable()
290 static void ads7846_disable(struct ads7846 *ts) in ads7846_disable()
305 static void ads7846_enable(struct ads7846 *ts) in ads7846_enable()
356 struct ads7846 *ts = dev_get_drvdata(dev); in ads7846_read12_ser()
441 struct ads7846 *ts = dev_get_drvdata(dev); in ads7845_read12_ser()
479 struct ads7846 *ts = dev_get_drvdata(dev); \
494 static inline unsigned null_adjust(struct ads7846 *ts, ssize_t v) in null_adjust()
507 static inline unsigned vaux_adjust(struct ads7846 *ts, ssize_t v) in SHOW()
518 static inline unsigned vbatt_adjust(struct ads7846 *ts, ssize_t v) in vbatt_adjust()
536 struct ads7846 *ts = dev_get_drvdata(dev); in SHOW()
560 static int ads784x_hwmon_register(struct spi_device *spi, struct ads7846 *ts) in ads784x_hwmon_register()
593 struct ads7846 *ts) in ads784x_hwmon_register()
602 struct ads7846 *ts = dev_get_drvdata(dev); in ads7846_pen_down_show()
612 struct ads7846 *ts = dev_get_drvdata(dev); in ads7846_disable_show()
621 struct ads7846 *ts = dev_get_drvdata(dev); in ads7846_disable_store()
650 struct ads7846 *ts = ads; in ads7846_debounce_filter()
705 static void ads7846_set_cmd_val(struct ads7846 *ts, enum ads7846_cmds cmd_idx, in ads7846_set_cmd_val()
767 static int ads7846_filter(struct ads7846 *ts) in ads7846_filter()
800 static void ads7846_wait_for_hsync(struct ads7846 *ts) in ads7846_wait_for_hsync()
822 static void ads7846_read_state(struct ads7846 *ts) in ads7846_read_state()
850 static void ads7846_report_state(struct ads7846 *ts) in ads7846_report_state()
934 struct ads7846 *ts = handle; in ads7846_hard_irq()
942 struct ads7846 *ts = handle; in ads7846_irq()
967 struct ads7846 *ts = dev_get_drvdata(dev); in ads7846_suspend()
989 struct ads7846 *ts = dev_get_drvdata(dev); in ads7846_resume()
1012 struct ads7846 *ts, in ads7846_setup_pendown()
1041 static int ads7846_setup_spi_msg(struct ads7846 *ts, in ads7846_setup_spi_msg()
1216 struct ads7846 *ts; in ads7846_probe()
1247 ts = devm_kzalloc(dev, sizeof(struct ads7846), GFP_KERNEL); in ads7846_probe()
1418 struct ads7846 *ts = spi_get_drvdata(spi); in ads7846_remove()