Lines Matching refs:wm97xx

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()
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()
452 struct wm97xx *wm = container_of(work, struct wm97xx, ts_reader.work); in wm97xx_ts_reader()
474 struct wm97xx *wm = input_get_drvdata(idev); in wm97xx_ts_input_open()
522 struct wm97xx *wm = input_get_drvdata(idev); in wm97xx_ts_input_close()
552 static int wm97xx_register_touch(struct wm97xx *wm) in wm97xx_register_touch()
607 static void wm97xx_unregister_touch(struct wm97xx *wm) in wm97xx_unregister_touch()
612 static int _wm97xx_probe(struct wm97xx *wm) in _wm97xx_probe()
669 static void wm97xx_remove_battery(struct wm97xx *wm) in wm97xx_remove_battery()
674 static int wm97xx_add_battery(struct wm97xx *wm, in wm97xx_add_battery()
695 struct wm97xx *wm; in wm97xx_probe()
699 wm = devm_kzalloc(dev, sizeof(struct wm97xx), GFP_KERNEL); in wm97xx_probe()
723 struct wm97xx *wm = dev_get_drvdata(dev); in wm97xx_remove()
733 struct wm97xx *wm; in wm97xx_mfd_probe()
737 wm = devm_kzalloc(&pdev->dev, sizeof(struct wm97xx), GFP_KERNEL); in wm97xx_mfd_probe()
768 struct wm97xx *wm = dev_get_drvdata(dev); in wm97xx_suspend()
802 struct wm97xx *wm = dev_get_drvdata(dev); in wm97xx_resume()
841 int wm97xx_register_mach_ops(struct wm97xx *wm, in wm97xx_register_mach_ops()
856 void wm97xx_unregister_mach_ops(struct wm97xx *wm) in wm97xx_unregister_mach_ops()