Searched refs:ads7846 (Results 1 - 26 of 26) sorted by relevance

/linux-4.4.14/drivers/input/touchscreen/
H A Dads7846.c11 * - omap_ts.[hc], ads7846.h, ts_osk.c
34 #include <linux/spi/ads7846.h>
41 * tested on other ads7846 devices (OSK/Mistral, Lubbock, Spitz).
42 * TSC2046 is just newer ads7846 silicon.
95 struct ads7846 { struct
203 static void ads7846_stop(struct ads7846 *ts) ads7846_stop()
215 static void ads7846_restart(struct ads7846 *ts) ads7846_restart()
226 static void __ads7846_disable(struct ads7846 *ts) __ads7846_disable()
238 static void __ads7846_enable(struct ads7846 *ts) __ads7846_enable()
249 static void ads7846_disable(struct ads7846 *ts) ads7846_disable()
264 static void ads7846_enable(struct ads7846 *ts) ads7846_enable()
284 * ads7846 lets that pin be unconnected, to use internal vREF.
315 struct ads7846 *ts = dev_get_drvdata(dev); ads7846_read12_ser()
389 struct ads7846 *ts = dev_get_drvdata(dev); ads7845_read12_ser()
427 struct ads7846 *ts = dev_get_drvdata(dev); \
442 static inline unsigned null_adjust(struct ads7846 *ts, ssize_t v) null_adjust()
455 static inline unsigned vaux_adjust(struct ads7846 *ts, ssize_t v) vaux_adjust()
466 static inline unsigned vbatt_adjust(struct ads7846 *ts, ssize_t v) vbatt_adjust()
470 /* ads7846 has a resistor ladder to scale this signal down */ vbatt_adjust()
484 struct ads7846 *ts = dev_get_drvdata(dev); ads7846_is_visible()
508 static int ads784x_hwmon_register(struct spi_device *spi, struct ads7846 *ts) ads784x_hwmon_register()
537 struct ads7846 *ts) ads784x_hwmon_unregister()
545 struct ads7846 *ts) ads784x_hwmon_register()
551 struct ads7846 *ts) ads784x_hwmon_unregister()
559 struct ads7846 *ts = dev_get_drvdata(dev); ads7846_pen_down_show()
569 struct ads7846 *ts = dev_get_drvdata(dev); ads7846_disable_show()
578 struct ads7846 *ts = dev_get_drvdata(dev); ads7846_disable_store()
608 static int get_pendown_state(struct ads7846 *ts) get_pendown_state()
622 struct ads7846 *ts = ads; ads7846_debounce_filter()
667 static int ads7846_get_value(struct ads7846 *ts, struct spi_message *m) ads7846_get_value()
695 static void ads7846_read_state(struct ads7846 *ts) ads7846_read_state()
749 static void ads7846_report_state(struct ads7846 *ts) ads7846_report_state()
849 struct ads7846 *ts = handle; ads7846_hard_irq()
857 struct ads7846 *ts = handle; ads7846_irq()
890 struct ads7846 *ts = dev_get_drvdata(dev); ads7846_suspend()
912 struct ads7846 *ts = dev_get_drvdata(dev); ads7846_resume()
935 struct ads7846 *ts, ads7846_setup_pendown()
976 static void ads7846_setup_spi_msg(struct ads7846 *ts, ads7846_setup_spi_msg()
1180 { .compatible = "ti,ads7846", .data = (void *) 7846 },
1257 struct ads7846 *ts; ads7846_probe()
1286 ts = kzalloc(sizeof(struct ads7846), GFP_KERNEL); ads7846_probe()
1463 struct ads7846 *ts = spi_get_drvdata(spi); ads7846_remove()
1500 .name = "ads7846",
1512 MODULE_ALIAS("spi:ads7846");
H A DMakefile15 obj-$(CONFIG_TOUCHSCREEN_ADS7846) += ads7846.o
H A Dsx8654.c15 * - ads7846.c
20 * - omap_ts.[hc], ads7846.h, ts_osk.c
H A Dtsc2007.c8 * - ads7846.c
13 * - omap_ts.[hc], ads7846.h, ts_osk.c
H A Dad7877.c5 * Based on: ads7846.c
32 * - omap_ts.[hc], ads7846.h, ts_osk.c
H A Dad7879.c16 * - omap_ts.[hc], ads7846.h, ts_osk.c
/linux-4.4.14/arch/arm/mach-omap2/
H A Dcommon-board-devices.c25 #include <linux/spi/ads7846.h>
51 .modalias = "ads7846",
70 * the ads7846 driver will setup the pendown GPIO itself. omap_ads7846_init()
H A Dboard-ldp.c283 /* ads7846 on SPI */
/linux-4.4.14/include/linux/spi/
H A Dads7846.h1 /* linux/spi/ads7846.h */
18 * ads7846: if 0, use internal vref */
/linux-4.4.14/arch/powerpc/platforms/512x/
H A Dpdm360ng.c29 #include <linux/spi/ads7846.h>
84 of_device_is_compatible(dev->of_node, "ti,ads7846")) { pdm360ng_touchscreen_notifier_call()
/linux-4.4.14/arch/avr32/boards/merisc/
H A Dsetup.c21 #include <linux/spi/ads7846.h>
88 .modalias = "ads7846",
/linux-4.4.14/arch/arm/mach-omap1/
H A Dboard-nokia770.c21 #include <linux/spi/ads7846.h>
138 .modalias = "ads7846",
H A Dboard-palmtt.c29 #include <linux/spi/ads7846.h>
229 .modalias = "ads7846",
H A Dboard-palmz71.c32 #include <linux/spi/ads7846.h>
195 .modalias = "ads7846",
H A Dboard-innovator.c161 #include <linux/spi/ads7846.h>
230 .modalias = "ads7846",
H A Dboard-osk.c308 #include <linux/spi/ads7846.h>
436 .modalias = "ads7846",
455 * attached, e.g. by trying to read something from the ads7846. osk_mistral_init()
H A Dboard-htcherald.c38 #include <linux/spi/ads7846.h>
448 .modalias = "ads7846",
/linux-4.4.14/arch/avr32/boards/atngw100/
H A Dmrmt.c25 #include <linux/spi/ads7846.h>
211 .modalias = "ads7846",
/linux-4.4.14/arch/avr32/boards/favr-32/
H A Dsetup.c26 #include <linux/spi/ads7846.h>
89 .modalias = "ads7846",
/linux-4.4.14/arch/arm/mach-pxa/
H A Dpoodle.c30 #include <linux/spi/ads7846.h>
216 .modalias = "ads7846",
H A Dlubbock.c33 #include <linux/spi/ads7846.h>
204 .modalias = "ads7846",
H A Dcorgi.c31 #include <linux/spi/ads7846.h>
576 .modalias = "ads7846",
H A Dhx4700.c37 #include <linux/spi/ads7846.h>
620 .modalias = "ads7846",
H A Dspitz.c25 #include <linux/spi/ads7846.h>
551 .modalias = "ads7846",
/linux-4.4.14/arch/mips/alchemy/devboards/
H A Ddb1000.c34 #include <linux/spi/ads7846.h>
458 .modalias = "ads7846",
/linux-4.4.14/arch/blackfin/mach-bf537/boards/
H A Dstamp.c883 #include <linux/spi/ads7846.h> ads7873_get_pendown_state()
1181 .modalias = "ads7846",

Completed in 1050 milliseconds