Searched refs:manstate (Results 1 – 4 of 4) sorted by relevance
80 int manstate = tfa2_i2c_read_bf(tfa->i2c, tfa->bf_manstate); in tfa2_show_current_state() local81 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() local598 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 …]
355 int manstate = tfa2_i2c_read_bf(tfa->i2c, tfa->bf_manstate); in tfa2_haptic_recalculate_wait() local357 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()
658 int tfa2_init_fix_powerdown(struct tfa2_device *tfa, int manstate) in tfa2_init_fix_powerdown() argument663 if (tfa->rev == 0x1a13 && manstate == 1) in tfa2_init_fix_powerdown()
572 int tfa2_init_fix_powerdown(struct tfa2_device *tfa, int manstate);