Home
last modified time | relevance | path

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

/hal_nxp-latest/mcux/mcux-sdk/components/codec/tfa9xxx/vas_tfa_drv/
Dtfa2_dev.c80 int manstate = tfa2_i2c_read_bf(tfa->i2c, tfa->bf_manstate); in tfa2_show_current_state() local
81 if (manstate < 0) in tfa2_show_current_state()
87 if (manstate > 12) in tfa2_show_current_state()
88 manstate = 12; /* Unable to find current state */ in tfa2_show_current_state()
90 dev_dbg(&tfa->i2c->dev, "Current HW manager state: %s \n", tfa2_manstate_string[manstate]); in tfa2_show_current_state()
580 int manstate; in tfa2_dev_set_state() local
598 manstate = rc; in tfa2_dev_set_state()
601 dev_dbg(&tfa->i2c->dev, "Current HW manager state: %s \n", tfa2_manstate_string[manstate]); in tfa2_dev_set_state()
606 if (manstate == 0) /* done if already there */ in tfa2_dev_set_state()
613 rc = tfa2_init_fix_powerdown(tfa, manstate); in tfa2_dev_set_state()
[all …]
Dtfa2_haptic.c355 int manstate = tfa2_i2c_read_bf(tfa->i2c, tfa->bf_manstate); in tfa2_haptic_recalculate_wait() local
357 loop = manstate == 6 ? 250 : 50; /* extend loop if in initcf */ in tfa2_haptic_recalculate_wait()
372 ms += manstate == 6 ? ms : 0; /* extend time if in initcf */ in tfa2_haptic_recalculate_wait()
Dtfa2_init.c658 int tfa2_init_fix_powerdown(struct tfa2_device *tfa, int manstate) in tfa2_init_fix_powerdown() argument
663 if (tfa->rev == 0x1a13 && manstate == 1) in tfa2_init_fix_powerdown()
Dtfa2_dev.h572 int tfa2_init_fix_powerdown(struct tfa2_device *tfa, int manstate);