Lines Matching refs:acl_ind
182 int ind, acl_ind; in BTM_SetPowerMode() local
199 acl_ind = btm_pm_find_acl_ind(remote_bda); in BTM_SetPowerMode()
200 if(acl_ind == MAX_L2CAP_LINKS) in BTM_SetPowerMode()
203 p_cb = &(btm_cb.pm_mode_db[acl_ind]); in BTM_SetPowerMode()
236 BTM_TRACE_DEBUG( "BTM_SetPowerMode: Saving cmd acl_ind %d temp_pm_id %d", acl_ind,temp_pm_id); in BTM_SetPowerMode()
252 if(acl_ind != btm_cb.pm_pend_link) in BTM_SetPowerMode()
256 BTM_TRACE_DEBUG( "btm_pm state stored:%d",acl_ind); in BTM_SetPowerMode()
261 return btm_pm_snd_md_req(pm_id, acl_ind, p_mode); in BTM_SetPowerMode()
286 int acl_ind; in BTM_ReadPowerMode() local
288 if( (acl_ind = btm_pm_find_acl_ind(remote_bda)) == MAX_L2CAP_LINKS) in BTM_ReadPowerMode()
291 *p_mode = btm_cb.pm_mode_db[acl_ind].state; in BTM_ReadPowerMode()
318 int acl_ind = btm_pm_find_acl_ind(remote_bda); in btm_read_power_mode_state() local
320 if( acl_ind == MAX_L2CAP_LINKS) in btm_read_power_mode_state()
323 *pmState = btm_cb.pm_mode_db[acl_ind].state; in btm_read_power_mode_state()
349 int acl_ind; in BTM_SetSsrParams() local
352 if( (acl_ind = btm_pm_find_acl_ind(remote_bda)) == MAX_L2CAP_LINKS) in BTM_SetSsrParams()
355 if(BTM_PM_STS_ACTIVE == btm_cb.pm_mode_db[acl_ind].state || in BTM_SetSsrParams()
356 BTM_PM_STS_SNIFF == btm_cb.pm_mode_db[acl_ind].state) in BTM_SetSsrParams()
358 if (btsnd_hcic_sniff_sub_rate(btm_cb.acl_db[acl_ind].hci_handle, max_lat, in BTM_SetSsrParams()
364 p_cb = &btm_cb.pm_mode_db[acl_ind]; in BTM_SetSsrParams()