Lines Matching refs:acl_ind
150 int ind, acl_ind; in BTM_SetPowerMode() local
171 acl_ind = btm_pm_find_acl_ind(remote_bda); in BTM_SetPowerMode()
172 if (acl_ind == MAX_L2CAP_LINKS) return (BTM_UNKNOWN_ADDR); in BTM_SetPowerMode()
174 p_cb = &(btm_cb.pm_mode_db[acl_ind]); in BTM_SetPowerMode()
214 acl_ind, temp_pm_id); in BTM_SetPowerMode()
230 if (acl_ind != btm_cb.pm_pend_link) { in BTM_SetPowerMode()
233 BTM_TRACE_DEBUG("%s: btm_pm state stored:%d", __func__, acl_ind); in BTM_SetPowerMode()
238 return btm_pm_snd_md_req(pm_id, acl_ind, p_mode); in BTM_SetPowerMode()
263 int acl_ind; in BTM_ReadPowerMode() local
265 acl_ind = btm_pm_find_acl_ind(remote_bda); in BTM_ReadPowerMode()
266 if (acl_ind == MAX_L2CAP_LINKS) return (BTM_UNKNOWN_ADDR); in BTM_ReadPowerMode()
268 *p_mode = btm_cb.pm_mode_db[acl_ind].state; in BTM_ReadPowerMode()
295 int acl_ind = btm_pm_find_acl_ind(remote_bda); in btm_read_power_mode_state() local
297 if (acl_ind == MAX_L2CAP_LINKS) return (BTM_UNKNOWN_ADDR); in btm_read_power_mode_state()
299 *pmState = btm_cb.pm_mode_db[acl_ind].state; in btm_read_power_mode_state()
324 int acl_ind; in BTM_SetSsrParams() local
327 acl_ind = btm_pm_find_acl_ind(remote_bda); in BTM_SetSsrParams()
328 if (acl_ind == MAX_L2CAP_LINKS) return (BTM_UNKNOWN_ADDR); in BTM_SetSsrParams()
330 if (BTM_PM_STS_ACTIVE == btm_cb.pm_mode_db[acl_ind].state || in BTM_SetSsrParams()
331 BTM_PM_STS_SNIFF == btm_cb.pm_mode_db[acl_ind].state) { in BTM_SetSsrParams()
332 btsnd_hcic_sniff_sub_rate(btm_cb.acl_db[acl_ind].hci_handle, max_lat, in BTM_SetSsrParams()
336 p_cb = &btm_cb.pm_mode_db[acl_ind]; in BTM_SetSsrParams()