Searched refs:mach_ops (Results 1 – 6 of 6) sorted by relevance
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 …]
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 …]
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()
332 if (!wm->mach_ops->acc_enabled || wm->mach_ops->acc_pen_down) { in wm97xx_pen_irq_worker()343 if (!wm->pen_is_down && wm->mach_ops->acc_enabled) in wm97xx_pen_irq_worker()344 wm->mach_ops->acc_pen_up(wm); in wm97xx_pen_irq_worker()346 wm->mach_ops->irq_enable(wm, 1); in wm97xx_pen_irq_worker()363 wm->mach_ops->irq_enable(wm, 0); in wm97xx_pen_interrupt()379 BUG_ON(!wm->mach_ops->irq_enable); in wm97xx_init_pen_irq()391 BUG_ON(!wm->mach_ops->irq_gpio); in wm97xx_init_pen_irq()394 reg & ~(wm->mach_ops->irq_gpio)); in wm97xx_init_pen_irq()409 if (wm->mach_ops && wm->mach_ops->acc_enabled) in wm97xx_read_samples()410 rc = wm->mach_ops->acc_pen_down(wm); in wm97xx_read_samples()[all …]
475 const struct sof_ops_table mach_ops[], int asize) in sof_get_ops() argument480 if (d == mach_ops[i].desc) in sof_get_ops()481 return mach_ops[i].ops; in sof_get_ops()
277 struct wm97xx_mach_ops *mach_ops; member