wm97xx 734 arch/mips/alchemy/devboards/db1300.c static void db1300_wm97xx_irqen(struct wm97xx *wm, int enable) wm97xx 749 arch/mips/alchemy/devboards/db1300.c struct wm97xx *wm = platform_get_drvdata(pdev); wm97xx 101 drivers/input/touchscreen/mainstone-wm97xx.c static void wm97xx_acc_pen_up(struct wm97xx *wm) wm97xx 109 drivers/input/touchscreen/mainstone-wm97xx.c static void wm97xx_acc_pen_up(struct wm97xx *wm) wm97xx 120 drivers/input/touchscreen/mainstone-wm97xx.c static int wm97xx_acc_pen_down(struct wm97xx *wm) wm97xx 172 drivers/input/touchscreen/mainstone-wm97xx.c static int wm97xx_acc_startup(struct wm97xx *wm) wm97xx 249 drivers/input/touchscreen/mainstone-wm97xx.c static void wm97xx_acc_shutdown(struct wm97xx *wm) wm97xx 259 drivers/input/touchscreen/mainstone-wm97xx.c static void wm97xx_irq_enable(struct wm97xx *wm, int enable) wm97xx 279 drivers/input/touchscreen/mainstone-wm97xx.c struct wm97xx *wm = platform_get_drvdata(pdev); wm97xx 286 drivers/input/touchscreen/mainstone-wm97xx.c struct wm97xx *wm = platform_get_drvdata(pdev); wm97xx 133 drivers/input/touchscreen/wm9705.c static void wm9705_phy_init(struct wm97xx *wm) wm97xx 178 drivers/input/touchscreen/wm9705.c static void wm9705_dig_enable(struct wm97xx *wm, int enable) wm97xx 189 drivers/input/touchscreen/wm9705.c static void wm9705_aux_prepare(struct wm97xx *wm) wm97xx 196 drivers/input/touchscreen/wm9705.c static void wm9705_dig_restore(struct wm97xx *wm) wm97xx 202 drivers/input/touchscreen/wm9705.c static inline int is_pden(struct wm97xx *wm) wm97xx 210 drivers/input/touchscreen/wm9705.c static int wm9705_poll_sample(struct wm97xx *wm, int adcsel, int *sample) wm97xx 270 drivers/input/touchscreen/wm9705.c static int wm9705_poll_touch(struct wm97xx *wm, struct wm97xx_data *data) wm97xx 294 drivers/input/touchscreen/wm9705.c static int wm9705_acc_enable(struct wm97xx *wm, int enable) wm97xx 151 drivers/input/touchscreen/wm9712.c static void wm9712_phy_init(struct wm97xx *wm) wm97xx 216 drivers/input/touchscreen/wm9712.c static void wm9712_dig_enable(struct wm97xx *wm, int enable) wm97xx 229 drivers/input/touchscreen/wm9712.c static void wm9712_aux_prepare(struct wm97xx *wm) wm97xx 236 drivers/input/touchscreen/wm9712.c static void wm9712_dig_restore(struct wm97xx *wm) wm97xx 242 drivers/input/touchscreen/wm9712.c static inline int is_pden(struct wm97xx *wm) wm97xx 250 drivers/input/touchscreen/wm9712.c static int wm9712_poll_sample(struct wm97xx *wm, int adcsel, int *sample) wm97xx 314 drivers/input/touchscreen/wm9712.c static int wm9712_poll_coord(struct wm97xx *wm, struct wm97xx_data *data) wm97xx 379 drivers/input/touchscreen/wm9712.c static int wm9712_poll_touch(struct wm97xx *wm, struct wm97xx_data *data) wm97xx 413 drivers/input/touchscreen/wm9712.c static int wm9712_acc_enable(struct wm97xx *wm, int enable) wm97xx 151 drivers/input/touchscreen/wm9713.c static void wm9713_phy_init(struct wm97xx *wm) wm97xx 214 drivers/input/touchscreen/wm9713.c static void wm9713_dig_enable(struct wm97xx *wm, int enable) wm97xx 232 drivers/input/touchscreen/wm9713.c static void wm9713_dig_restore(struct wm97xx *wm) wm97xx 239 drivers/input/touchscreen/wm9713.c static void wm9713_aux_prepare(struct wm97xx *wm) wm97xx 247 drivers/input/touchscreen/wm9713.c static inline int is_pden(struct wm97xx *wm) wm97xx 255 drivers/input/touchscreen/wm9713.c static int wm9713_poll_sample(struct wm97xx *wm, int adcsel, int *sample) wm97xx 320 drivers/input/touchscreen/wm9713.c static int wm9713_poll_coord(struct wm97xx *wm, struct wm97xx_data *data) wm97xx 390 drivers/input/touchscreen/wm9713.c static int wm9713_poll_touch(struct wm97xx *wm, struct wm97xx_data *data) wm97xx 420 drivers/input/touchscreen/wm9713.c static int wm9713_acc_enable(struct wm97xx *wm, int enable) wm97xx 84 drivers/input/touchscreen/wm97xx-core.c int wm97xx_reg_read(struct wm97xx *wm, u16 reg) wm97xx 93 drivers/input/touchscreen/wm97xx-core.c void wm97xx_reg_write(struct wm97xx *wm, u16 reg, u16 val) wm97xx 120 drivers/input/touchscreen/wm97xx-core.c int wm97xx_read_aux_adc(struct wm97xx *wm, u16 adcsel) wm97xx 175 drivers/input/touchscreen/wm97xx-core.c enum wm97xx_gpio_status wm97xx_get_gpio(struct wm97xx *wm, u32 gpio) wm97xx 202 drivers/input/touchscreen/wm97xx-core.c void wm97xx_set_gpio(struct wm97xx *wm, u32 gpio, wm97xx 227 drivers/input/touchscreen/wm97xx-core.c void wm97xx_config_gpio(struct wm97xx *wm, u32 gpio, enum wm97xx_gpio_dir dir, wm97xx 280 drivers/input/touchscreen/wm97xx-core.c void wm97xx_set_suspend_mode(struct wm97xx *wm, u16 mode) wm97xx 292 drivers/input/touchscreen/wm97xx-core.c struct wm97xx *wm = container_of(work, struct wm97xx, pen_event_work); wm97xx 360 drivers/input/touchscreen/wm97xx-core.c struct wm97xx *wm = dev_id; wm97xx 373 drivers/input/touchscreen/wm97xx-core.c static int wm97xx_init_pen_irq(struct wm97xx *wm) wm97xx 402 drivers/input/touchscreen/wm97xx-core.c static int wm97xx_read_samples(struct wm97xx *wm) wm97xx 475 drivers/input/touchscreen/wm97xx-core.c struct wm97xx *wm = container_of(work, struct wm97xx, ts_reader.work); wm97xx 497 drivers/input/touchscreen/wm97xx-core.c struct wm97xx *wm = input_get_drvdata(idev); wm97xx 546 drivers/input/touchscreen/wm97xx-core.c struct wm97xx *wm = input_get_drvdata(idev); wm97xx 580 drivers/input/touchscreen/wm97xx-core.c static int wm97xx_register_touch(struct wm97xx *wm) wm97xx 639 drivers/input/touchscreen/wm97xx-core.c static void wm97xx_unregister_touch(struct wm97xx *wm) wm97xx 646 drivers/input/touchscreen/wm97xx-core.c static int _wm97xx_probe(struct wm97xx *wm) wm97xx 703 drivers/input/touchscreen/wm97xx-core.c static void wm97xx_remove_battery(struct wm97xx *wm) wm97xx 708 drivers/input/touchscreen/wm97xx-core.c static int wm97xx_add_battery(struct wm97xx *wm, wm97xx 729 drivers/input/touchscreen/wm97xx-core.c struct wm97xx *wm; wm97xx 733 drivers/input/touchscreen/wm97xx-core.c wm = devm_kzalloc(dev, sizeof(struct wm97xx), GFP_KERNEL); wm97xx 757 drivers/input/touchscreen/wm97xx-core.c struct wm97xx *wm = dev_get_drvdata(dev); wm97xx 767 drivers/input/touchscreen/wm97xx-core.c struct wm97xx *wm; wm97xx 771 drivers/input/touchscreen/wm97xx-core.c wm = devm_kzalloc(&pdev->dev, sizeof(struct wm97xx), GFP_KERNEL); wm97xx 800 drivers/input/touchscreen/wm97xx-core.c struct wm97xx *wm = dev_get_drvdata(dev); wm97xx 832 drivers/input/touchscreen/wm97xx-core.c struct wm97xx *wm = dev_get_drvdata(dev); wm97xx 869 drivers/input/touchscreen/wm97xx-core.c int wm97xx_register_mach_ops(struct wm97xx *wm, wm97xx 884 drivers/input/touchscreen/wm97xx-core.c void wm97xx_unregister_mach_ops(struct wm97xx *wm) wm97xx 76 drivers/input/touchscreen/zylonite-wm97xx.c static void wm97xx_acc_pen_up(struct wm97xx *wm) wm97xx 86 drivers/input/touchscreen/zylonite-wm97xx.c static int wm97xx_acc_pen_down(struct wm97xx *wm) wm97xx 139 drivers/input/touchscreen/zylonite-wm97xx.c static int wm97xx_acc_startup(struct wm97xx *wm) wm97xx 164 drivers/input/touchscreen/zylonite-wm97xx.c static void wm97xx_irq_enable(struct wm97xx *wm, int enable) wm97xx 183 drivers/input/touchscreen/zylonite-wm97xx.c struct wm97xx *wm = platform_get_drvdata(pdev); wm97xx 208 drivers/input/touchscreen/zylonite-wm97xx.c struct wm97xx *wm = platform_get_drvdata(pdev); wm97xx 253 drivers/mfd/wm97xx-core.c struct wm97xx_priv *wm97xx; wm97xx 260 drivers/mfd/wm97xx-core.c wm97xx = devm_kzalloc(ac97_codec_dev2dev(adev), wm97xx 261 drivers/mfd/wm97xx-core.c sizeof(*wm97xx), GFP_KERNEL); wm97xx 262 drivers/mfd/wm97xx-core.c if (!wm97xx) wm97xx 265 drivers/mfd/wm97xx-core.c wm97xx->dev = ac97_codec_dev2dev(adev); wm97xx 266 drivers/mfd/wm97xx-core.c wm97xx->ac97 = snd_ac97_compat_alloc(adev); wm97xx 267 drivers/mfd/wm97xx-core.c if (IS_ERR(wm97xx->ac97)) wm97xx 268 drivers/mfd/wm97xx-core.c return PTR_ERR(wm97xx->ac97); wm97xx 271 drivers/mfd/wm97xx-core.c ac97_set_drvdata(adev, wm97xx); wm97xx 272 drivers/mfd/wm97xx-core.c dev_info(wm97xx->dev, "wm97xx core found, id=0x%x\n", wm97xx 275 drivers/mfd/wm97xx-core.c codec_pdata = &wm97xx->codec_pdata; wm97xx 276 drivers/mfd/wm97xx-core.c codec_pdata->ac97 = wm97xx->ac97; wm97xx 304 drivers/mfd/wm97xx-core.c codec_pdata->regmap = devm_regmap_init_ac97(wm97xx->ac97, config); wm97xx 310 drivers/mfd/wm97xx-core.c ret = devm_mfd_add_devices(wm97xx->dev, PLATFORM_DEVID_NONE, wm97xx 318 drivers/mfd/wm97xx-core.c snd_ac97_compat_release(wm97xx->ac97); wm97xx 324 drivers/mfd/wm97xx-core.c struct wm97xx_priv *wm97xx = ac97_get_drvdata(adev); wm97xx 326 drivers/mfd/wm97xx-core.c snd_ac97_compat_release(wm97xx->ac97); wm97xx 220 include/linux/wm97xx.h struct wm97xx; wm97xx 234 include/linux/wm97xx.h int (*poll_sample) (struct wm97xx *, int adcsel, int *sample); wm97xx 237 include/linux/wm97xx.h int (*poll_touch) (struct wm97xx *, struct wm97xx_data *); wm97xx 239 include/linux/wm97xx.h int (*acc_enable) (struct wm97xx *, int enable); wm97xx 240 include/linux/wm97xx.h void (*phy_init) (struct wm97xx *); wm97xx 241 include/linux/wm97xx.h void (*dig_enable) (struct wm97xx *, int enable); wm97xx 242 include/linux/wm97xx.h void (*dig_restore) (struct wm97xx *); wm97xx 243 include/linux/wm97xx.h void (*aux_prepare) (struct wm97xx *); wm97xx 252 include/linux/wm97xx.h void (*acc_pen_up) (struct wm97xx *); wm97xx 253 include/linux/wm97xx.h int (*acc_pen_down) (struct wm97xx *); wm97xx 254 include/linux/wm97xx.h int (*acc_startup) (struct wm97xx *); wm97xx 255 include/linux/wm97xx.h void (*acc_shutdown) (struct wm97xx *); wm97xx 258 include/linux/wm97xx.h void (*irq_enable) (struct wm97xx *, int enable); wm97xx 316 include/linux/wm97xx.h enum wm97xx_gpio_status wm97xx_get_gpio(struct wm97xx *wm, u32 gpio); wm97xx 317 include/linux/wm97xx.h void wm97xx_set_gpio(struct wm97xx *wm, u32 gpio, wm97xx 319 include/linux/wm97xx.h void wm97xx_config_gpio(struct wm97xx *wm, u32 gpio, wm97xx 325 include/linux/wm97xx.h void wm97xx_set_suspend_mode(struct wm97xx *wm, u16 mode); wm97xx 328 include/linux/wm97xx.h int wm97xx_reg_read(struct wm97xx *wm, u16 reg); wm97xx 329 include/linux/wm97xx.h void wm97xx_reg_write(struct wm97xx *wm, u16 reg, u16 val); wm97xx 332 include/linux/wm97xx.h int wm97xx_read_aux_adc(struct wm97xx *wm, u16 adcsel); wm97xx 335 include/linux/wm97xx.h int wm97xx_register_mach_ops(struct wm97xx *, struct wm97xx_mach_ops *); wm97xx 336 include/linux/wm97xx.h void wm97xx_unregister_mach_ops(struct wm97xx *);