Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/mfd/
Dwm97xx-core.c253 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->dev = ac97_codec_dev2dev(adev); in wm97xx_ac97_probe()
266 wm97xx->ac97 = snd_ac97_compat_alloc(adev); in wm97xx_ac97_probe()
267 if (IS_ERR(wm97xx->ac97)) in wm97xx_ac97_probe()
268 return PTR_ERR(wm97xx->ac97); in wm97xx_ac97_probe()
271 ac97_set_drvdata(adev, wm97xx); in wm97xx_ac97_probe()
272 dev_info(wm97xx->dev, "wm97xx core found, id=0x%x\n", in wm97xx_ac97_probe()
[all …]
DMakefile76 obj-$(CONFIG_MFD_WM97xx) += wm97xx-core.o
/kernel/linux/linux-5.10/drivers/input/touchscreen/
Dwm97xx-core.c84 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()
120 int wm97xx_read_aux_adc(struct wm97xx *wm, u16 adcsel) in wm97xx_read_aux_adc()
175 enum wm97xx_gpio_status wm97xx_get_gpio(struct wm97xx *wm, u32 gpio) in wm97xx_get_gpio()
202 void wm97xx_set_gpio(struct wm97xx *wm, u32 gpio, in wm97xx_set_gpio()
227 void wm97xx_config_gpio(struct wm97xx *wm, u32 gpio, enum wm97xx_gpio_dir dir, in wm97xx_config_gpio()
280 void wm97xx_set_suspend_mode(struct wm97xx *wm, u16 mode) in wm97xx_set_suspend_mode()
292 struct wm97xx *wm = container_of(work, struct wm97xx, pen_event_work); in wm97xx_pen_irq_worker()
360 struct wm97xx *wm = dev_id; in wm97xx_pen_interrupt()
373 static int wm97xx_init_pen_irq(struct wm97xx *wm) in wm97xx_init_pen_irq()
[all …]
Dmainstone-wm97xx.c101 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 *wm = platform_get_drvdata(pdev); in mainstone_wm97xx_probe()
286 struct wm97xx *wm = platform_get_drvdata(pdev); in mainstone_wm97xx_remove()
Dwm9705.c133 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 *wm, int enable) in wm9705_acc_enable()
Dzylonite-wm97xx.c76 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()
DMakefile8 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
Dwm9713.c151 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 *wm, struct wm97xx_data *data) in wm9713_poll_touch()
420 static int wm9713_acc_enable(struct wm97xx *wm, int enable) in wm9713_acc_enable()
Dwm9712.c151 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 *wm, struct wm97xx_data *data) in wm9712_poll_touch()
413 static int wm9712_acc_enable(struct wm97xx *wm, int enable) in wm9712_acc_enable()
DKconfig834 module will be called wm97xx-ts.
870 module will be called mainstone-wm97xx.
883 module will be called zylonite-wm97xx.
/kernel/linux/linux-5.10/arch/mips/alchemy/devboards/
Ddb1300.c735 static void db1300_wm97xx_irqen(struct wm97xx *wm, int enable) in db1300_wm97xx_irqen()
750 struct wm97xx *wm = platform_get_drvdata(pdev); in db1300_wm97xx_probe()
/kernel/linux/linux-5.10/
DMAINTAINERS18986 F: include/linux/wm97xx.h