Home
last modified time | relevance | path

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

/hal_nxp-latest/mcux/mcux-sdk/components/codec/tfa9xxx/vas_tfa_drv/
Dtfa2_haptic.c312 int rc, loop = 50, ready = 0, sampcnt0; in tfa2_haptic_obj0_wait_finish() local
316 rc = tfa2_haptic_read_sampcnt0(client, &sampcnt0); in tfa2_haptic_obj0_wait_finish()
319 ready = sampcnt0 <= 0; in tfa2_haptic_obj0_wait_finish()
325 if (sampcnt0 > 0) in tfa2_haptic_obj0_wait_finish()
332 int loop = 50, ready = 0, sampcnt0; in tfa2_haptic_calibrate_wait() local
337 tfa2_haptic_read_sampcnt0(client, &sampcnt0); in tfa2_haptic_calibrate_wait()
339 ready = (sampcnt0 <= 0) && (f0 != 0); in tfa2_haptic_calibrate_wait()
345 if (sampcnt0 > 0) in tfa2_haptic_calibrate_wait()
353 int loop, ready = 0, sampcnt0 = 0; in tfa2_haptic_recalculate_wait() local
383 tfa2_haptic_read_sampcnt0(tfa->i2c, &sampcnt0); in tfa2_haptic_recalculate_wait()
[all …]