Searched refs:mach_ops (Results 1 – 5 of 5) sorted by relevance
263 if (wm->mach_ops && wm->mach_ops->pre_sample) in wm9712_poll_sample()264 wm->mach_ops->pre_sample(adcsel); in wm9712_poll_sample()288 if (wm->mach_ops && wm->mach_ops->post_sample) in wm9712_poll_sample()289 wm->mach_ops->post_sample(adcsel); in wm9712_poll_sample()326 if (wm->mach_ops && wm->mach_ops->pre_sample) in wm9712_poll_coord()327 wm->mach_ops->pre_sample(WM97XX_ADCSEL_X | WM97XX_ADCSEL_Y); in wm9712_poll_coord()358 if (wm->mach_ops && wm->mach_ops->post_sample) in wm9712_poll_coord()359 wm->mach_ops->post_sample(WM97XX_ADCSEL_X | WM97XX_ADCSEL_Y); in wm9712_poll_coord()423 if (wm->mach_ops->acc_startup) { in wm9712_acc_enable()424 ret = wm->mach_ops->acc_startup(wm); in wm9712_acc_enable()[all …]
274 if (wm->mach_ops && wm->mach_ops->pre_sample) in wm9713_poll_sample()275 wm->mach_ops->pre_sample(adcsel); in wm9713_poll_sample()298 if (wm->mach_ops && wm->mach_ops->post_sample) in wm9713_poll_sample()299 wm->mach_ops->post_sample(adcsel); in wm9713_poll_sample()338 if (wm->mach_ops && wm->mach_ops->pre_sample) in wm9713_poll_coord()339 wm->mach_ops->pre_sample(WM97XX_ADCSEL_X | WM97XX_ADCSEL_Y); in wm9713_poll_coord()369 if (wm->mach_ops && wm->mach_ops->post_sample) in wm9713_poll_coord()370 wm->mach_ops->post_sample(WM97XX_ADCSEL_X | WM97XX_ADCSEL_Y); in wm9713_poll_coord()431 if (wm->mach_ops->acc_startup && in wm9713_acc_enable()432 (ret = wm->mach_ops->acc_startup(wm)) < 0) in wm9713_acc_enable()[all …]
223 if (wm->mach_ops && wm->mach_ops->pre_sample) in wm9705_poll_sample()224 wm->mach_ops->pre_sample(adcsel); in wm9705_poll_sample()248 if (wm->mach_ops && wm->mach_ops->post_sample) in wm9705_poll_sample()249 wm->mach_ops->post_sample(adcsel); in wm9705_poll_sample()304 if (wm->mach_ops->acc_startup && in wm9705_acc_enable()305 (ret = wm->mach_ops->acc_startup(wm)) < 0) in wm9705_acc_enable()319 if (wm->mach_ops->acc_shutdown) in wm9705_acc_enable()320 wm->mach_ops->acc_shutdown(wm); in wm9705_acc_enable()
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()[all …]
274 struct wm97xx_mach_ops *mach_ops; member