Lines Matching refs:MAX_L2CAP_LINKS
207 if(acl_ind == MAX_L2CAP_LINKS)
240 || ((pm_id == BTM_PM_SET_ONLY_ID) && (btm_cb.pm_pend_link != MAX_L2CAP_LINKS)) )
257 (btm_cb.pm_pend_link != MAX_L2CAP_LINKS) ) /* command pending */
297 if( (acl_ind = btm_pm_find_acl_ind(remote_bda)) == MAX_L2CAP_LINKS)
329 if( (acl_ind = btm_pm_find_acl_ind(remote_bda)) == MAX_L2CAP_LINKS)
373 btm_cb.pm_pend_link = MAX_L2CAP_LINKS;
420 for (xx = 0; xx < MAX_L2CAP_LINKS; xx++, p++)
619 btm_cb.pm_pend_link = MAX_L2CAP_LINKS;
645 /* Failure btm_cb.pm_pend_link = MAX_L2CAP_LINKS */
675 /* Failure btm_cb.pm_pend_link = MAX_L2CAP_LINKS */
679 if(btm_cb.pm_pend_link == MAX_L2CAP_LINKS)
705 for(xx=0; xx<MAX_L2CAP_LINKS; xx++)
735 if(btm_cb.pm_pend_link >= MAX_L2CAP_LINKS)
763 p_cb->state, btm_cb.pm_pend_link, MAX_L2CAP_LINKS);
765 btm_cb.pm_pend_link = MAX_L2CAP_LINKS;
793 if ((xx = btm_handle_to_acl_index(hci_handle)) >= MAX_L2CAP_LINKS)
879 for(zz=0; zz<MAX_L2CAP_LINKS; zz++)
930 if ((xx = btm_handle_to_acl_index(handle)) >= MAX_L2CAP_LINKS)