Lines Matching refs:power_mode
217 uint8_t power_mode) { in bta_dm_pm_stop_timer_by_mode() argument
218 const uint8_t timer_idx = bta_pm_action_to_timer_idx(power_mode); in bta_dm_pm_stop_timer_by_mode()
232 bta_dm_cb.pm_timer[i].pm_action[timer_idx] = power_mode; in bta_dm_pm_stop_timer_by_mode()
379 .power_mode == BTA_DM_PM_NO_ACTION) { in bta_dm_pm_cback()
400 .power_mode == BTA_DM_PM_NO_PREF) { in bta_dm_pm_cback()
558 if (!(failed_pm & p_act0->power_mode)) { in bta_dm_pm_set_mode()
559 pref_modes |= p_act0->power_mode; in bta_dm_pm_set_mode()
561 if (p_act0->power_mode >= pm_action) { in bta_dm_pm_set_mode()
562 pm_action = p_act0->power_mode; in bta_dm_pm_set_mode()
571 else if (!(failed_pm & p_act1->power_mode)) { in bta_dm_pm_set_mode()
572 pref_modes |= p_act1->power_mode; in bta_dm_pm_set_mode()
574 if (p_act1->power_mode > pm_action) { in bta_dm_pm_set_mode()
575 pm_action = p_act1->power_mode; in bta_dm_pm_set_mode()