Home
last modified time | relevance | path

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

/linux-6.1.9/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-6.1.9/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
/linux-6.1.9/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()
293 struct wm97xx *wm = dev_id; in wm97xx_pen_interrupt()
353 static int wm97xx_init_pen_irq(struct wm97xx *wm) in wm97xx_init_pen_irq()
379 static int wm97xx_read_samples(struct wm97xx *wm) in wm97xx_read_samples()
[all …]
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()
Dmainstone-wm97xx.c100 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()
239 static void wm97xx_acc_shutdown(struct wm97xx *wm) in wm97xx_acc_shutdown()
260 struct wm97xx *wm = platform_get_drvdata(pdev); in mainstone_wm97xx_probe()
267 struct wm97xx *wm = platform_get_drvdata(pdev); in mainstone_wm97xx_remove()
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()
DMakefile8 wm97xx-ts-y := wm97xx-core.o
104 obj-$(CONFIG_TOUCHSCREEN_WM97XX) += wm97xx-ts.o
105 wm97xx-ts-$(CONFIG_TOUCHSCREEN_WM9705) += wm9705.o
106 wm97xx-ts-$(CONFIG_TOUCHSCREEN_WM9712) += wm9712.o
107 wm97xx-ts-$(CONFIG_TOUCHSCREEN_WM9713) += wm9713.o
108 obj-$(CONFIG_TOUCHSCREEN_WM97XX_MAINSTONE) += mainstone-wm97xx.o
109 obj-$(CONFIG_TOUCHSCREEN_WM97XX_ZYLONITE) += zylonite-wm97xx.o
Dzylonite-wm97xx.c75 static void wm97xx_acc_pen_up(struct wm97xx *wm) in wm97xx_acc_pen_up()
85 static int wm97xx_acc_pen_down(struct wm97xx *wm) in wm97xx_acc_pen_down()
138 static int wm97xx_acc_startup(struct wm97xx *wm) in wm97xx_acc_startup()
173 struct wm97xx *wm = platform_get_drvdata(pdev); in zylonite_wm97xx_probe()
201 struct wm97xx *wm = platform_get_drvdata(pdev); in zylonite_wm97xx_remove()
DKconfig876 module will be called wm97xx-ts.
913 module will be called mainstone-wm97xx.
927 module will be called zylonite-wm97xx.
/linux-6.1.9/arch/mips/alchemy/devboards/
Ddb1300.c741 struct wm97xx *wm = platform_get_drvdata(pdev); in db1300_wm97xx_probe()
/linux-6.1.9/
DMAINTAINERS22241 F: include/linux/wm97xx.h