Lines Matching +defs:val +defs:ts

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() local
441 struct ads7846 *ts = dev_get_drvdata(dev); in ads7845_read12_ser() local
494 static inline unsigned null_adjust(struct ads7846 *ts, ssize_t v) in null_adjust()
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() local
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() local
612 struct ads7846 *ts = dev_get_drvdata(dev); in ads7846_disable_show() local
621 struct ads7846 *ts = dev_get_drvdata(dev); in ads7846_disable_store() local
648 static int ads7846_debounce_filter(void *ads, int data_idx, int *val) in ads7846_debounce_filter()
650 struct ads7846 *ts = ads; in ads7846_debounce_filter() local
690 static int ads7846_no_filter(void *ads, int data_idx, int *val) in ads7846_no_filter()
705 static void ads7846_set_cmd_val(struct ads7846 *ts, enum ads7846_cmds cmd_idx, in ads7846_set_cmd_val()
706 u16 val) in ads7846_set_cmd_val()
767 static int ads7846_filter(struct ads7846 *ts) in ads7846_filter()
771 int val; in ads7846_filter() local
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() local
942 struct ads7846 *ts = handle; in ads7846_irq() local
967 struct ads7846 *ts = dev_get_drvdata(dev); in ads7846_suspend() local
989 struct ads7846 *ts = dev_get_drvdata(dev); in ads7846_resume() local
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() local
1418 struct ads7846 *ts = spi_get_drvdata(spi); in ads7846_remove() local