Lines Matching refs:mach_ops
336 if (!wm->mach_ops->acc_enabled || wm->mach_ops->acc_pen_down) { in wm97xx_pen_irq_worker()
347 if (!wm->pen_is_down && wm->mach_ops->acc_enabled) in wm97xx_pen_irq_worker()
348 wm->mach_ops->acc_pen_up(wm); in wm97xx_pen_irq_worker()
350 wm->mach_ops->irq_enable(wm, 1); in wm97xx_pen_irq_worker()
367 wm->mach_ops->irq_enable(wm, 0); in wm97xx_pen_interrupt()
383 BUG_ON(!wm->mach_ops->irq_enable); in wm97xx_init_pen_irq()
395 BUG_ON(!wm->mach_ops->irq_gpio); in wm97xx_init_pen_irq()
398 reg & ~(wm->mach_ops->irq_gpio)); in wm97xx_init_pen_irq()
413 if (wm->mach_ops && wm->mach_ops->acc_enabled) in wm97xx_read_samples()
414 rc = wm->mach_ops->acc_pen_down(wm); in wm97xx_read_samples()
511 if (wm->mach_ops && wm->mach_ops->acc_enabled) in wm97xx_ts_input_open()
556 BUG_ON(!wm->mach_ops->irq_gpio); in wm97xx_ts_input_close()
559 reg | wm->mach_ops->irq_gpio); in wm97xx_ts_input_close()
569 wm->mach_ops->irq_enable(wm, 1); in wm97xx_ts_input_close()
580 if (wm->mach_ops && wm->mach_ops->acc_enabled) in wm97xx_ts_input_close()
807 struct wm97xx_mach_ops *mach_ops) in wm97xx_register_mach_ops() argument
810 if (wm->mach_ops) { in wm97xx_register_mach_ops()
814 wm->mach_ops = mach_ops; in wm97xx_register_mach_ops()
824 wm->mach_ops = NULL; in wm97xx_unregister_mach_ops()