Home
last modified time | relevance | path

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

/hal_nxp-latest/mcux/mcux-sdk/components/codec/tfa9xxx/vas_tfa_drv/
Dtfa2_haptic.c667 int rc, ret, current_profile; in tfa2_hap_calibrate() local
704 current_profile = tfa2_dev_get_swprofile(tfa); in tfa2_hap_calibrate()
705 if (current_profile < 0) in tfa2_hap_calibrate()
708 current_profile = 0; in tfa2_hap_calibrate()
809 ret = tfa2_dev_start(tfa, current_profile, 0); in tfa2_hap_calibrate()
812 dev_err(&tfa->i2c->dev, "%s: Cannot reload profile %d\n", __func__, current_profile); in tfa2_hap_calibrate()
Dtfa2_dev.c2195 int sbcal_profile, current_profile, always; in tfa2_sb_calibrate() local
2213 current_profile = tfa2_dev_get_swprofile(tfa); in tfa2_sb_calibrate()
2214 if (current_profile < 0) in tfa2_sb_calibrate()
2217 current_profile = 0; in tfa2_sb_calibrate()
2281 rc = tfa2_dev_start(tfa, current_profile, 0); in tfa2_sb_calibrate()