Lines Matching refs:p_srvcs
538 tBTA_DM_SRVCS *p_srvcs = NULL; in bta_dm_pm_set_mode() local
557 p_srvcs = &bta_dm_conn_srvcs.conn_srvc[i]; in bta_dm_pm_set_mode()
558 if(!bdcmp(p_srvcs->peer_bdaddr, peer_addr)) in bta_dm_pm_set_mode()
564 if((p_bta_dm_pm_cfg[j].id == p_srvcs->id) in bta_dm_pm_set_mode()
566 (p_bta_dm_pm_cfg[j].app_id == p_srvcs->app_id))) in bta_dm_pm_set_mode()
572 p_act0 = &p_pm_spec->actn_tbl[p_srvcs->state][0]; in bta_dm_pm_set_mode()
573 p_act1 = &p_pm_spec->actn_tbl[p_srvcs->state][1]; in bta_dm_pm_set_mode()
575 …L_TRACE_DEBUG("bta_dm_pm_set_mode: srvcsid: %d, state: %d, j: %d", p_srvcs->id, p_srvcs->state, j); in bta_dm_pm_set_mode()
589 if (pm_req != BTA_DM_PM_NEW_REQ || p_srvcs->new_request) in bta_dm_pm_set_mode()
591 p_srvcs->new_request = FALSE; in bta_dm_pm_set_mode()
649 … bta_dm_pm_start_timer(&bta_dm_cb.pm_timer[i], timer_idx, timeout, p_srvcs->id, pm_action); in bta_dm_pm_set_mode()
670 …m_pm_start_timer(&bta_dm_cb.pm_timer[available_timer], timer_idx, timeout, p_srvcs->id, pm_action); in bta_dm_pm_set_mode()