/kernel/linux/linux-5.10/include/linux/ |
H A D | wm97xx.h | 160 * The wm97xx driver provides a private API for writing platform-specific 220 struct wm97xx; 234 int (*poll_sample) (struct wm97xx *, int adcsel, int *sample); 237 int (*poll_touch) (struct wm97xx *, struct wm97xx_data *); 239 int (*acc_enable) (struct wm97xx *, int enable); 240 void (*phy_init) (struct wm97xx *); 241 void (*dig_enable) (struct wm97xx *, int enable); 242 void (*dig_restore) (struct wm97xx *); 243 void (*aux_prepare) (struct wm97xx *); 252 void (*acc_pen_up) (struct wm97xx *); 268 struct wm97xx { global() struct [all...] |
/kernel/linux/linux-6.6/include/linux/ |
H A D | wm97xx.h | 160 * The wm97xx driver provides a private API for writing platform-specific 220 struct wm97xx; 234 int (*poll_sample) (struct wm97xx *, int adcsel, int *sample); 237 int (*poll_touch) (struct wm97xx *, struct wm97xx_data *); 239 int (*acc_enable) (struct wm97xx *, int enable); 240 void (*phy_init) (struct wm97xx *); 241 void (*dig_enable) (struct wm97xx *, int enable); 242 void (*dig_restore) (struct wm97xx *); 243 void (*aux_prepare) (struct wm97xx *); 252 void (*acc_pen_up) (struct wm97xx *); 265 struct wm97xx { global() struct [all...] |
/kernel/linux/linux-5.10/drivers/mfd/ |
H A D | wm97xx-core.c | 15 #include <linux/mfd/wm97xx.h> 19 #include <linux/wm97xx.h> 109 { .name = "wm97xx-ts", }, 177 { .name = "wm97xx-ts", }, 248 { .name = "wm97xx-ts", }, 253 struct wm97xx_priv *wm97xx; in wm97xx_ac97_probe() local 260 wm97xx = devm_kzalloc(ac97_codec_dev2dev(adev), in wm97xx_ac97_probe() 261 sizeof(*wm97xx), GFP_KERNEL); in wm97xx_ac97_probe() 262 if (!wm97xx) in wm97xx_ac97_probe() 265 wm97xx in wm97xx_ac97_probe() 324 struct wm97xx_priv *wm97xx = ac97_get_drvdata(adev); wm97xx_ac97_remove() local [all...] |
/kernel/linux/linux-6.6/drivers/mfd/ |
H A D | wm97xx-core.c | 15 #include <linux/mfd/wm97xx.h> 19 #include <linux/wm97xx.h> 109 { .name = "wm97xx-ts", }, 177 { .name = "wm97xx-ts", }, 248 { .name = "wm97xx-ts", }, 253 struct wm97xx_priv *wm97xx; in wm97xx_ac97_probe() local 260 wm97xx = devm_kzalloc(ac97_codec_dev2dev(adev), in wm97xx_ac97_probe() 261 sizeof(*wm97xx), GFP_KERNEL); in wm97xx_ac97_probe() 262 if (!wm97xx) in wm97xx_ac97_probe() 265 wm97xx in wm97xx_ac97_probe() 324 struct wm97xx_priv *wm97xx = ac97_get_drvdata(adev); wm97xx_ac97_remove() local [all...] |
/kernel/linux/linux-5.10/drivers/input/touchscreen/ |
H A D | wm97xx-core.c | 3 * wm97xx-core.c -- Touch screen driver core for Wolfson WM9705, WM9712 42 #include <linux/mfd/wm97xx.h> 44 #include <linux/wm97xx.h> 49 #define TS_NAME "wm97xx" 82 * wm97xx IO access, all IO locking done by AC97 layer 84 int wm97xx_reg_read(struct wm97xx *wm, u16 reg) in wm97xx_reg_read() 93 void wm97xx_reg_write(struct wm97xx *wm, u16 reg, u16 val) in wm97xx_reg_write() 114 * @wm: wm97xx device. 120 int wm97xx_read_aux_adc(struct wm97xx *wm, u16 adcsel) in wm97xx_read_aux_adc() 169 * @wm: wm97xx devic [all...] |
H A D | mainstone-wm97xx.c | 3 * mainstone-wm97xx.c -- Mainstone Continuous Touch screen driver for 12 * This is a wm97xx extended touch driver to capture touch 26 #include <linux/wm97xx.h> 101 static void wm97xx_acc_pen_up(struct wm97xx *wm) in wm97xx_acc_pen_up() 109 static void wm97xx_acc_pen_up(struct wm97xx *wm) in wm97xx_acc_pen_up() 120 static int wm97xx_acc_pen_down(struct wm97xx *wm) in wm97xx_acc_pen_down() 172 static int wm97xx_acc_startup(struct wm97xx *wm) in wm97xx_acc_startup() 249 static void wm97xx_acc_shutdown(struct wm97xx *wm) in wm97xx_acc_shutdown() 259 static void wm97xx_irq_enable(struct wm97xx *wm, int enable) in wm97xx_irq_enable() 279 struct wm97xx *w in mainstone_wm97xx_probe() [all...] |
H A D | wm9705.c | 18 #include <linux/wm97xx.h> 20 #define TS_NAME "wm97xx" 133 static void wm9705_phy_init(struct wm97xx *wm) in wm9705_phy_init() 178 static void wm9705_dig_enable(struct wm97xx *wm, int enable) in wm9705_dig_enable() 189 static void wm9705_aux_prepare(struct wm97xx *wm) in wm9705_aux_prepare() 196 static void wm9705_dig_restore(struct wm97xx *wm) in wm9705_dig_restore() 202 static inline int is_pden(struct wm97xx *wm) in is_pden() 210 static int wm9705_poll_sample(struct wm97xx *wm, int adcsel, int *sample) in wm9705_poll_sample() 270 static int wm9705_poll_touch(struct wm97xx *wm, struct wm97xx_data *data) in wm9705_poll_touch() 294 static int wm9705_acc_enable(struct wm97xx *w [all...] |
H A D | zylonite-wm97xx.c | 3 * zylonite-wm97xx.c -- Zylonite Continuous Touch screen driver 11 * This is a wm97xx extended touch driver supporting interrupt driven 24 #include <linux/wm97xx.h> 76 static void wm97xx_acc_pen_up(struct wm97xx *wm) in wm97xx_acc_pen_up() 86 static int wm97xx_acc_pen_down(struct wm97xx *wm) in wm97xx_acc_pen_down() 139 static int wm97xx_acc_startup(struct wm97xx *wm) in wm97xx_acc_startup() 164 static void wm97xx_irq_enable(struct wm97xx *wm, int enable) in wm97xx_irq_enable() 183 struct wm97xx *wm = platform_get_drvdata(pdev); in zylonite_wm97xx_probe() 208 struct wm97xx *wm = platform_get_drvdata(pdev); in zylonite_wm97xx_remove() 219 .name = "wm97xx [all...] |
H A D | wm9713.c | 18 #include <linux/wm97xx.h> 20 #define TS_NAME "wm97xx" 151 static void wm9713_phy_init(struct wm97xx *wm) in wm9713_phy_init() 214 static void wm9713_dig_enable(struct wm97xx *wm, int enable) in wm9713_dig_enable() 232 static void wm9713_dig_restore(struct wm97xx *wm) in wm9713_dig_restore() 239 static void wm9713_aux_prepare(struct wm97xx *wm) in wm9713_aux_prepare() 247 static inline int is_pden(struct wm97xx *wm) in is_pden() 255 static int wm9713_poll_sample(struct wm97xx *wm, int adcsel, int *sample) in wm9713_poll_sample() 320 static int wm9713_poll_coord(struct wm97xx *wm, struct wm97xx_data *data) in wm9713_poll_coord() 390 static int wm9713_poll_touch(struct wm97xx *w [all...] |
H A D | wm9712.c | 18 #include <linux/wm97xx.h> 20 #define TS_NAME "wm97xx" 151 static void wm9712_phy_init(struct wm97xx *wm) in wm9712_phy_init() 216 static void wm9712_dig_enable(struct wm97xx *wm, int enable) in wm9712_dig_enable() 229 static void wm9712_aux_prepare(struct wm97xx *wm) in wm9712_aux_prepare() 236 static void wm9712_dig_restore(struct wm97xx *wm) in wm9712_dig_restore() 242 static inline int is_pden(struct wm97xx *wm) in is_pden() 250 static int wm9712_poll_sample(struct wm97xx *wm, int adcsel, int *sample) in wm9712_poll_sample() 314 static int wm9712_poll_coord(struct wm97xx *wm, struct wm97xx_data *data) in wm9712_poll_coord() 379 static int wm9712_poll_touch(struct wm97xx *w [all...] |
H A D | Makefile | 8 wm97xx-ts-y := wm97xx-core.o 100 obj-$(CONFIG_TOUCHSCREEN_WM97XX) += wm97xx-ts.o 101 wm97xx-ts-$(CONFIG_TOUCHSCREEN_WM9705) += wm9705.o 102 wm97xx-ts-$(CONFIG_TOUCHSCREEN_WM9712) += wm9712.o 103 wm97xx-ts-$(CONFIG_TOUCHSCREEN_WM9713) += wm9713.o 104 obj-$(CONFIG_TOUCHSCREEN_WM97XX_MAINSTONE) += mainstone-wm97xx.o 105 obj-$(CONFIG_TOUCHSCREEN_WM97XX_ZYLONITE) += zylonite-wm97xx.o
|
/kernel/linux/linux-6.6/drivers/input/touchscreen/ |
H A D | wm97xx-core.c | 3 * wm97xx-core.c -- Touch screen driver core for Wolfson WM9705, WM9712 42 #include <linux/mfd/wm97xx.h> 44 #include <linux/wm97xx.h> 49 #define TS_NAME "wm97xx" 82 * wm97xx IO access, all IO locking done by AC97 layer 84 int wm97xx_reg_read(struct wm97xx *wm, u16 reg) in wm97xx_reg_read() 93 void wm97xx_reg_write(struct wm97xx *wm, u16 reg, u16 val) in wm97xx_reg_write() 114 * @wm: wm97xx device. 120 int wm97xx_read_aux_adc(struct wm97xx *wm, u16 adcsel) in wm97xx_read_aux_adc() 169 * @wm: wm97xx devic [all...] |
H A D | wm9705.c | 18 #include <linux/wm97xx.h> 20 #define TS_NAME "wm97xx" 133 static void wm9705_phy_init(struct wm97xx *wm) in wm9705_phy_init() 178 static void wm9705_dig_enable(struct wm97xx *wm, int enable) in wm9705_dig_enable() 189 static void wm9705_aux_prepare(struct wm97xx *wm) in wm9705_aux_prepare() 196 static void wm9705_dig_restore(struct wm97xx *wm) in wm9705_dig_restore() 202 static inline int is_pden(struct wm97xx *wm) in is_pden() 210 static int wm9705_poll_sample(struct wm97xx *wm, int adcsel, int *sample) in wm9705_poll_sample() 270 static int wm9705_poll_touch(struct wm97xx *wm, struct wm97xx_data *data) in wm9705_poll_touch() 294 static int wm9705_acc_enable(struct wm97xx *w [all...] |
H A D | wm9713.c | 18 #include <linux/wm97xx.h> 20 #define TS_NAME "wm97xx" 151 static void wm9713_phy_init(struct wm97xx *wm) in wm9713_phy_init() 214 static void wm9713_dig_enable(struct wm97xx *wm, int enable) in wm9713_dig_enable() 232 static void wm9713_dig_restore(struct wm97xx *wm) in wm9713_dig_restore() 239 static void wm9713_aux_prepare(struct wm97xx *wm) in wm9713_aux_prepare() 247 static inline int is_pden(struct wm97xx *wm) in is_pden() 255 static int wm9713_poll_sample(struct wm97xx *wm, int adcsel, int *sample) in wm9713_poll_sample() 320 static int wm9713_poll_coord(struct wm97xx *wm, struct wm97xx_data *data) in wm9713_poll_coord() 390 static int wm9713_poll_touch(struct wm97xx *w [all...] |
H A D | wm9712.c | 18 #include <linux/wm97xx.h> 20 #define TS_NAME "wm97xx" 151 static void wm9712_phy_init(struct wm97xx *wm) in wm9712_phy_init() 216 static void wm9712_dig_enable(struct wm97xx *wm, int enable) in wm9712_dig_enable() 229 static void wm9712_aux_prepare(struct wm97xx *wm) in wm9712_aux_prepare() 236 static void wm9712_dig_restore(struct wm97xx *wm) in wm9712_dig_restore() 242 static inline int is_pden(struct wm97xx *wm) in is_pden() 250 static int wm9712_poll_sample(struct wm97xx *wm, int adcsel, int *sample) in wm9712_poll_sample() 314 static int wm9712_poll_coord(struct wm97xx *wm, struct wm97xx_data *data) in wm9712_poll_coord() 379 static int wm9712_poll_touch(struct wm97xx *w [all...] |
H A D | mainstone-wm97xx.c | 3 * mainstone-wm97xx.c -- Mainstone Continuous Touch screen driver for 12 * This is a wm97xx extended touch driver to capture touch 29 #include <linux/wm97xx.h> 100 static void wm97xx_acc_pen_up(struct wm97xx *wm) in wm97xx_acc_pen_up() 115 static int wm97xx_acc_pen_down(struct wm97xx *wm) in wm97xx_acc_pen_down() 168 static int wm97xx_acc_startup(struct wm97xx *wm) in wm97xx_acc_startup() 229 static void wm97xx_acc_shutdown(struct wm97xx *wm) in wm97xx_acc_shutdown() 250 struct wm97xx *wm = platform_get_drvdata(pdev); in mainstone_wm97xx_probe() 257 struct wm97xx *wm = platform_get_drvdata(pdev); in mainstone_wm97xx_remove() 268 .name = "wm97xx [all...] |
H A D | Makefile | 8 wm97xx-ts-y := wm97xx-core.o 105 obj-$(CONFIG_TOUCHSCREEN_WM97XX) += wm97xx-ts.o 106 wm97xx-ts-$(CONFIG_TOUCHSCREEN_WM9705) += wm9705.o 107 wm97xx-ts-$(CONFIG_TOUCHSCREEN_WM9712) += wm9712.o 108 wm97xx-ts-$(CONFIG_TOUCHSCREEN_WM9713) += wm9713.o 109 obj-$(CONFIG_TOUCHSCREEN_WM97XX_MAINSTONE) += mainstone-wm97xx.o
|
/kernel/linux/linux-5.10/arch/arm/mach-pxa/ |
H A D | palmt5.c | 24 #include <linux/wm97xx.h>
|
H A D | palmz72.c | 26 #include <linux/wm97xx.h>
|
H A D | palmtx.c | 24 #include <linux/wm97xx.h>
|
H A D | palmte2.c | 24 #include <linux/wm97xx.h>
|
H A D | palmld.c | 21 #include <linux/wm97xx.h>
|
/kernel/linux/linux-5.10/arch/mips/alchemy/devboards/ |
H A D | db1300.c | 24 #include <linux/wm97xx.h> 729 static void db1300_wm97xx_irqen(struct wm97xx *wm, int enable) in db1300_wm97xx_irqen() 744 struct wm97xx *wm = platform_get_drvdata(pdev); in db1300_wm97xx_probe() 768 .driver.name = "wm97xx-touch",
|
/kernel/linux/linux-5.10/drivers/power/supply/ |
H A D | wm97xx_battery.c | 15 #include <linux/wm97xx.h> 225 "back to name \"wm97xx-batt\"\n"); in wm97xx_bat_probe() 226 bat_psy_desc.name = "wm97xx-batt"; in wm97xx_bat_probe() 270 .name = "wm97xx-battery",
|
/kernel/linux/linux-6.6/drivers/power/supply/ |
H A D | wm97xx_battery.c | 15 #include <linux/wm97xx.h> 226 "back to name \"wm97xx-batt\"\n"); in wm97xx_bat_probe() 227 bat_psy_desc.name = "wm97xx-batt"; in wm97xx_bat_probe() 263 .name = "wm97xx-battery",
|