Lines Matching refs:power_mode
211 uint8_t power_mode) { in bta_dm_pm_stop_timer_by_mode() argument
212 const uint8_t timer_idx = bta_pm_action_to_timer_idx(power_mode); in bta_dm_pm_stop_timer_by_mode()
226 bta_dm_cb.pm_timer[i].pm_action[timer_idx] = power_mode; in bta_dm_pm_stop_timer_by_mode()
383 .power_mode == BTA_DM_PM_NO_ACTION) { in bta_dm_pm_cback()
402 .power_mode == BTA_DM_PM_NO_PREF) { in bta_dm_pm_cback()
565 if (!(failed_pm & p_act0->power_mode)) { in bta_dm_pm_set_mode()
566 pref_modes |= p_act0->power_mode; in bta_dm_pm_set_mode()
568 if (p_act0->power_mode >= pm_action) { in bta_dm_pm_set_mode()
569 pm_action = p_act0->power_mode; in bta_dm_pm_set_mode()
578 else if (!(failed_pm & p_act1->power_mode)) { in bta_dm_pm_set_mode()
579 pref_modes |= p_act1->power_mode; in bta_dm_pm_set_mode()
581 if (p_act1->power_mode > pm_action) { in bta_dm_pm_set_mode()
582 pm_action = p_act1->power_mode; in bta_dm_pm_set_mode()