Home
last modified time | relevance | path

Searched refs:wm97xx (Results 1 – 13 of 13) sorted by relevance

/Linux-v4.19/include/linux/
Dwm97xx.h220 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 *);
253 int (*acc_pen_down) (struct wm97xx *);
[all …]
/Linux-v4.19/drivers/mfd/
Dwm97xx-core.c257 struct wm97xx_priv *wm97xx; in wm97xx_ac97_probe() local
264 wm97xx = devm_kzalloc(ac97_codec_dev2dev(adev), in wm97xx_ac97_probe()
265 sizeof(*wm97xx), GFP_KERNEL); in wm97xx_ac97_probe()
266 if (!wm97xx) in wm97xx_ac97_probe()
269 wm97xx->dev = ac97_codec_dev2dev(adev); in wm97xx_ac97_probe()
270 wm97xx->ac97 = snd_ac97_compat_alloc(adev); in wm97xx_ac97_probe()
271 if (IS_ERR(wm97xx->ac97)) in wm97xx_ac97_probe()
272 return PTR_ERR(wm97xx->ac97); in wm97xx_ac97_probe()
275 ac97_set_drvdata(adev, wm97xx); in wm97xx_ac97_probe()
276 dev_info(wm97xx->dev, "wm97xx core found, id=0x%x\n", in wm97xx_ac97_probe()
[all …]
DMakefile71 obj-$(CONFIG_MFD_WM97xx) += wm97xx-core.o
/Linux-v4.19/drivers/input/touchscreen/
Dwm97xx-core.c89 int wm97xx_reg_read(struct wm97xx *wm, u16 reg) in wm97xx_reg_read()
98 void wm97xx_reg_write(struct wm97xx *wm, u16 reg, u16 val) in wm97xx_reg_write()
125 int wm97xx_read_aux_adc(struct wm97xx *wm, u16 adcsel) in wm97xx_read_aux_adc()
180 enum wm97xx_gpio_status wm97xx_get_gpio(struct wm97xx *wm, u32 gpio) in wm97xx_get_gpio()
207 void wm97xx_set_gpio(struct wm97xx *wm, u32 gpio, in wm97xx_set_gpio()
232 void wm97xx_config_gpio(struct wm97xx *wm, u32 gpio, enum wm97xx_gpio_dir dir, in wm97xx_config_gpio()
285 void wm97xx_set_suspend_mode(struct wm97xx *wm, u16 mode) in wm97xx_set_suspend_mode()
297 struct wm97xx *wm = container_of(work, struct wm97xx, pen_event_work); in wm97xx_pen_irq_worker()
365 struct wm97xx *wm = dev_id; in wm97xx_pen_interrupt()
378 static int wm97xx_init_pen_irq(struct wm97xx *wm) in wm97xx_init_pen_irq()
[all …]
Dmainstone-wm97xx.c106 static void wm97xx_acc_pen_up(struct wm97xx *wm) in wm97xx_acc_pen_up()
114 static void wm97xx_acc_pen_up(struct wm97xx *wm) in wm97xx_acc_pen_up()
125 static int wm97xx_acc_pen_down(struct wm97xx *wm) in wm97xx_acc_pen_down()
177 static int wm97xx_acc_startup(struct wm97xx *wm) in wm97xx_acc_startup()
254 static void wm97xx_acc_shutdown(struct wm97xx *wm) in wm97xx_acc_shutdown()
264 static void wm97xx_irq_enable(struct wm97xx *wm, int enable) in wm97xx_irq_enable()
284 struct wm97xx *wm = platform_get_drvdata(pdev); in mainstone_wm97xx_probe()
291 struct wm97xx *wm = platform_get_drvdata(pdev); in mainstone_wm97xx_remove()
Dwm9705.c138 static void wm9705_phy_init(struct wm97xx *wm) in wm9705_phy_init()
183 static void wm9705_dig_enable(struct wm97xx *wm, int enable) in wm9705_dig_enable()
194 static void wm9705_aux_prepare(struct wm97xx *wm) in wm9705_aux_prepare()
201 static void wm9705_dig_restore(struct wm97xx *wm) in wm9705_dig_restore()
207 static inline int is_pden(struct wm97xx *wm) in is_pden()
215 static int wm9705_poll_sample(struct wm97xx *wm, int adcsel, int *sample) in wm9705_poll_sample()
275 static int wm9705_poll_touch(struct wm97xx *wm, struct wm97xx_data *data) in wm9705_poll_touch()
299 static int wm9705_acc_enable(struct wm97xx *wm, int enable) in wm9705_acc_enable()
Dzylonite-wm97xx.c80 static void wm97xx_acc_pen_up(struct wm97xx *wm) in wm97xx_acc_pen_up()
90 static int wm97xx_acc_pen_down(struct wm97xx *wm) in wm97xx_acc_pen_down()
143 static int wm97xx_acc_startup(struct wm97xx *wm) in wm97xx_acc_startup()
168 static void wm97xx_irq_enable(struct wm97xx *wm, int enable) in wm97xx_irq_enable()
187 struct wm97xx *wm = platform_get_drvdata(pdev); in zylonite_wm97xx_probe()
212 struct wm97xx *wm = platform_get_drvdata(pdev); in zylonite_wm97xx_remove()
DMakefile8 wm97xx-ts-y := wm97xx-core.o
99 obj-$(CONFIG_TOUCHSCREEN_WM97XX) += wm97xx-ts.o
100 wm97xx-ts-$(CONFIG_TOUCHSCREEN_WM9705) += wm9705.o
101 wm97xx-ts-$(CONFIG_TOUCHSCREEN_WM9712) += wm9712.o
102 wm97xx-ts-$(CONFIG_TOUCHSCREEN_WM9713) += wm9713.o
103 obj-$(CONFIG_TOUCHSCREEN_WM97XX_MAINSTONE) += mainstone-wm97xx.o
104 obj-$(CONFIG_TOUCHSCREEN_WM97XX_ZYLONITE) += zylonite-wm97xx.o
Dwm9712.c156 static void wm9712_phy_init(struct wm97xx *wm) in wm9712_phy_init()
221 static void wm9712_dig_enable(struct wm97xx *wm, int enable) in wm9712_dig_enable()
234 static void wm9712_aux_prepare(struct wm97xx *wm) in wm9712_aux_prepare()
241 static void wm9712_dig_restore(struct wm97xx *wm) in wm9712_dig_restore()
247 static inline int is_pden(struct wm97xx *wm) in is_pden()
255 static int wm9712_poll_sample(struct wm97xx *wm, int adcsel, int *sample) in wm9712_poll_sample()
319 static int wm9712_poll_coord(struct wm97xx *wm, struct wm97xx_data *data) in wm9712_poll_coord()
384 static int wm9712_poll_touch(struct wm97xx *wm, struct wm97xx_data *data) in wm9712_poll_touch()
418 static int wm9712_acc_enable(struct wm97xx *wm, int enable) in wm9712_acc_enable()
Dwm9713.c156 static void wm9713_phy_init(struct wm97xx *wm) in wm9713_phy_init()
219 static void wm9713_dig_enable(struct wm97xx *wm, int enable) in wm9713_dig_enable()
237 static void wm9713_dig_restore(struct wm97xx *wm) in wm9713_dig_restore()
244 static void wm9713_aux_prepare(struct wm97xx *wm) in wm9713_aux_prepare()
252 static inline int is_pden(struct wm97xx *wm) in is_pden()
260 static int wm9713_poll_sample(struct wm97xx *wm, int adcsel, int *sample) in wm9713_poll_sample()
325 static int wm9713_poll_coord(struct wm97xx *wm, struct wm97xx_data *data) in wm9713_poll_coord()
395 static int wm9713_poll_touch(struct wm97xx *wm, struct wm97xx_data *data) in wm9713_poll_touch()
425 static int wm9713_acc_enable(struct wm97xx *wm, int enable) in wm9713_acc_enable()
DKconfig808 module will be called wm97xx-ts.
844 module will be called mainstone-wm97xx.
857 module will be called zylonite-wm97xx.
/Linux-v4.19/arch/mips/alchemy/devboards/
Ddb1300.c721 static void db1300_wm97xx_irqen(struct wm97xx *wm, int enable) in db1300_wm97xx_irqen()
736 struct wm97xx *wm = platform_get_drvdata(pdev); in db1300_wm97xx_probe()
/Linux-v4.19/
DMAINTAINERS15896 F: include/linux/wm97xx.h