Lines Matching refs:mach_ops
333 if (!wm->mach_ops->acc_enabled || wm->mach_ops->acc_pen_down) { in wm97xx_pen_interrupt()
344 if (!wm->pen_is_down && wm->mach_ops->acc_enabled) in wm97xx_pen_interrupt()
345 wm->mach_ops->acc_pen_up(wm); in wm97xx_pen_interrupt()
368 BUG_ON(!wm->mach_ops->irq_gpio); in wm97xx_init_pen_irq()
371 reg & ~(wm->mach_ops->irq_gpio)); in wm97xx_init_pen_irq()
386 if (wm->mach_ops && wm->mach_ops->acc_enabled) in wm97xx_read_samples()
387 rc = wm->mach_ops->acc_pen_down(wm); in wm97xx_read_samples()
484 if (wm->mach_ops && wm->mach_ops->acc_enabled) in wm97xx_ts_input_open()
528 BUG_ON(!wm->mach_ops->irq_gpio); in wm97xx_ts_input_close()
531 reg | wm->mach_ops->irq_gpio); in wm97xx_ts_input_close()
548 if (wm->mach_ops && wm->mach_ops->acc_enabled) in wm97xx_ts_input_close()
842 struct wm97xx_mach_ops *mach_ops) in wm97xx_register_mach_ops() argument
845 if (wm->mach_ops) { in wm97xx_register_mach_ops()
849 wm->mach_ops = mach_ops; in wm97xx_register_mach_ops()
859 wm->mach_ops = NULL; in wm97xx_unregister_mach_ops()