Lines Matching defs:ads7846

12  *  - omap_ts.[hc], ads7846.h, ts_osk.c
30 #include <linux/spi/ads7846.h>
37 * tested on other ads7846 devices (OSK/Mistral, Lubbock, Spitz).
38 * TSC2046 is just newer ads7846 silicon.
94 struct ads7846 {
218 static int get_pendown_state(struct ads7846 *ts)
226 static void ads7846_report_pen_up(struct ads7846 *ts)
239 static void ads7846_stop(struct ads7846 *ts)
251 static void ads7846_restart(struct ads7846 *ts)
266 static void __ads7846_disable(struct ads7846 *ts)
278 static void __ads7846_enable(struct ads7846 *ts)
289 static void ads7846_disable(struct ads7846 *ts)
304 static void ads7846_enable(struct ads7846 *ts)
324 * ads7846 lets that pin be unconnected, to use internal vREF.
355 struct ads7846 *ts = dev_get_drvdata(dev);
430 struct ads7846 *ts = dev_get_drvdata(dev);
468 struct ads7846 *ts = dev_get_drvdata(dev); \
483 static inline unsigned null_adjust(struct ads7846 *ts, ssize_t v)
496 static inline unsigned vaux_adjust(struct ads7846 *ts, ssize_t v)
507 static inline unsigned vbatt_adjust(struct ads7846 *ts, ssize_t v)
511 /* ads7846 has a resistor ladder to scale this signal down */
525 struct ads7846 *ts = dev_get_drvdata(dev);
549 static int ads784x_hwmon_register(struct spi_device *spi, struct ads7846 *ts)
582 struct ads7846 *ts)
591 struct ads7846 *ts = dev_get_drvdata(dev);
601 struct ads7846 *ts = dev_get_drvdata(dev);
610 struct ads7846 *ts = dev_get_drvdata(dev);
646 struct ads7846 *ts = ads;
701 static void ads7846_set_cmd_val(struct ads7846 *ts, enum ads7846_cmds cmd_idx,
763 static int ads7846_filter(struct ads7846 *ts)
796 static void ads7846_read_state(struct ads7846 *ts)
824 static void ads7846_report_state(struct ads7846 *ts)
908 struct ads7846 *ts = handle;
916 struct ads7846 *ts = handle;
941 struct ads7846 *ts = dev_get_drvdata(dev);
963 struct ads7846 *ts = dev_get_drvdata(dev);
986 struct ads7846 *ts,
1015 static int ads7846_setup_spi_msg(struct ads7846 *ts,
1111 { .compatible = "ti,ads7846", .data = (void *) 7846 },
1180 struct ads7846 *ts;
1211 ts = devm_kzalloc(dev, sizeof(struct ads7846), GFP_KERNEL);
1382 struct ads7846 *ts = spi_get_drvdata(spi);
1389 .name = "ads7846",
1401 MODULE_ALIAS("spi:ads7846");