Lines Matching refs:power_mode
218 static void bta_dm_pm_stop_timer_by_mode(BD_ADDR peer_addr, UINT8 power_mode) in bta_dm_pm_stop_timer_by_mode() argument
220 const UINT8 timer_idx = bta_pm_action_to_timer_idx(power_mode); in bta_dm_pm_stop_timer_by_mode()
237 bta_dm_cb.pm_timer[i].pm_action[timer_idx] = power_mode; in bta_dm_pm_stop_timer_by_mode()
384 …if(p_bta_dm_pm_spec[p_bta_dm_pm_cfg[i].spec_idx].actn_tbl[status][0].power_mode == BTA_DM_PM_NO_AC… in bta_dm_pm_cback()
407 …if(p_bta_dm_pm_spec[p_bta_dm_pm_cfg[i].spec_idx].actn_tbl[status][0].power_mode == BTA_DM_PM_NO_PR… in bta_dm_pm_cback()
586 if(!(failed_pm & p_act0->power_mode)) in bta_dm_pm_set_mode()
588 pref_modes |= p_act0->power_mode; in bta_dm_pm_set_mode()
590 if(p_act0->power_mode >= pm_action) in bta_dm_pm_set_mode()
592 pm_action = p_act0->power_mode; in bta_dm_pm_set_mode()
602 else if(!(failed_pm & p_act1->power_mode)) in bta_dm_pm_set_mode()
604 pref_modes |= p_act1->power_mode; in bta_dm_pm_set_mode()
606 if(p_act1->power_mode > pm_action) in bta_dm_pm_set_mode()
608 pm_action = p_act1->power_mode; in bta_dm_pm_set_mode()