Searched refs:need_hb_config (Results 1 – 3 of 3) sorted by relevance
151 tfa->need_hb_config = tfa_hb_undetermined; in tfa2_set_query_info()302 if (tfa->need_hb_config && !(tfa->need_hb_config & tfa_hb_ready)) in tfa2_dev_start_cf()307 tfa->need_hb_config |= tfa_hb_ready; /* ready, don't do it again */ in tfa2_dev_start_cf()383 if (tfa->need_hb_config) in tfa2_dev_start()385 …dev_dbg(&tfa->i2c->dev, "HB:%s %s\n", (tfa->need_hb_config & TFA_HB_ROLE_MASK) == tfa_hb_lra ? "lr… in tfa2_dev_start()386 (tfa->need_hb_config & tfa_hb_ready) ? "warm" : "cold"); /* ready is warm */ in tfa2_dev_start()506 tfa->need_hb_config = tfa_hb_undetermined; in tfa2_dev_force_cold()953 if (tfa->need_hb_config == tfa_hb_undetermined) in tfa2_dev_update_config_init()957 tfa->need_hb_config = tfa_hb_lra; in tfa2_dev_update_config_init()959 tfa->need_hb_config = tfa_hb_ls; in tfa2_dev_update_config_init()[all …]
501 strcpy(profile_name, (tfa->need_hb_config & TFA_HB_ROLE_MASK) == tfa_hb_lra ? "lra" : "ls"); in tfa2_hap_load_data()576 if (tfa->need_hb_config != tfa_hb_lra) in tfa2_hap_recalculate()621 strcpy(profile_name, (tfa->need_hb_config & TFA_HB_ROLE_MASK) == tfa_hb_lra ? "lra" : "ls"); in tfa2_dev_start_hapticboost()635 if ((tfa->need_hb_config & TFA_HB_ROLE_MASK) == tfa_hb_lra) in tfa2_dev_start_hapticboost()673 if (!tfa->need_hb_config) in tfa2_hap_calibrate()
264 enum tfa_hb_role need_hb_config; /**< HB firmware parameters needed */ member