Home
last modified time | relevance | path

Searched refs:mach_ops (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/input/touchscreen/
H A Dwm9712.c263 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()
423 if (wm->mach_ops->acc_startup) { in wm9712_acc_enable()
424 ret = wm->mach_ops->acc_startup(wm); in wm9712_acc_enable()
440 if (wm->mach_ops->acc_shutdown) in wm9712_acc_enable()
[all …]
H A Dwm9713.c274 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()
431 if (wm->mach_ops->acc_startup && in wm9713_acc_enable()
432 (ret = wm->mach_ops->acc_startup(wm)) < 0) in wm9713_acc_enable()
449 if (wm->mach_ops->acc_shutdown) in wm9713_acc_enable()
[all …]
H A Dwm9705.c223 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()
H A Dwm97xx-core.c333 if (!wm->mach_ops->acc_enabled || wm->mach_ops->acc_pen_down) { 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()
386 if (wm->mach_ops && wm->mach_ops->acc_enabled) 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()
845 if (wm->mach_ops) { in wm97xx_register_mach_ops()
849 wm->mach_ops = mach_ops; in wm97xx_register_mach_ops()
[all …]
/openbmc/linux/include/linux/
H A Dwm97xx.h274 struct wm97xx_mach_ops *mach_ops; member