Lines Matching refs:BTM_MAX_SCO_LINKS
83 #if (BTM_MAX_SCO_LINKS>0)
87 if (sco_inx < BTM_MAX_SCO_LINKS)
139 #if (BTM_MAX_SCO_LINKS>0)
144 if (sco_inx < BTM_MAX_SCO_LINKS)
291 if ((sco_inx = btm_find_scb_by_handle(handle)) != BTM_MAX_SCO_LINKS )
334 #if (BTM_SCO_HCI_INCLUDED == TRUE) && (BTM_MAX_SCO_LINKS>0)
339 if (sco_inx < BTM_MAX_SCO_LINKS && btm_cb.sco_cb.p_data_cb &&
389 #if (BTM_MAX_SCO_LINKS>0)
496 #if (BTM_MAX_SCO_LINKS>0)
499 if (sco_inx >= BTM_MAX_SCO_LINKS)
558 #if (BTM_MAX_SCO_LINKS > 0)
585 for (xx = 0; xx < BTM_MAX_SCO_LINKS; xx++, p++)
598 for (xx = 0; xx < BTM_MAX_SCO_LINKS; xx++, p++)
606 for (xx = 0, p = &btm_cb.sco_cb.sco_db[0]; xx < BTM_MAX_SCO_LINKS; xx++, p++)
728 #if (BTM_MAX_SCO_LINKS>0)
733 for (xx = 0; xx < BTM_MAX_SCO_LINKS; xx++, p++)
762 #if (BTM_MAX_SCO_LINKS>0)
767 for (xx = 0; xx < BTM_MAX_SCO_LINKS; xx++, p++)
794 #if (BTM_MAX_SCO_LINKS>0)
800 for (xx = 0; xx < BTM_MAX_SCO_LINKS; xx++, p++)
852 for (xx = 0, p = &btm_cb.sco_cb.sco_db[0]; xx < BTM_MAX_SCO_LINKS; xx++, p++)
865 if( xx < BTM_MAX_SCO_LINKS)
875 btm_esco_conn_rsp(BTM_MAX_SCO_LINKS, HCI_ERR_HOST_REJECT_RESOURCES, bda, NULL);
891 #if (BTM_MAX_SCO_LINKS>0)
900 #if (BTM_MAX_SCO_LINKS>0)
901 for (xx = 0; xx < BTM_MAX_SCO_LINKS; xx++, p++)
983 ** Returns index to matched SCO connection CB, or BTM_MAX_SCO_LINKS if
992 for (xx = 0; xx < BTM_MAX_SCO_LINKS; xx++, p++)
1015 #if (BTM_MAX_SCO_LINKS>0)
1020 if ((sco_inx >= BTM_MAX_SCO_LINKS) || (p->state == SCO_ST_UNUSED))
1058 #if (BTM_MAX_SCO_LINKS>0)
1062 for (xx = 0; xx < BTM_MAX_SCO_LINKS; xx++, p++)
1084 #if (BTM_MAX_SCO_LINKS>0)
1091 #if (BTM_MAX_SCO_LINKS>0)
1093 for (xx = 0; xx < BTM_MAX_SCO_LINKS; xx++, p++)
1127 #if (BTM_MAX_SCO_LINKS>0)
1131 for (xx = 0; xx < BTM_MAX_SCO_LINKS; xx++, p++)
1175 #if (BTM_MAX_SCO_LINKS>0)
1180 if (sco_inx >= BTM_MAX_SCO_LINKS)
1220 #if (BTM_MAX_SCO_LINKS>0)
1224 if ((sco_inx < BTM_MAX_SCO_LINKS) && (p->state == SCO_ST_CONNECTED))
1289 #if (BTM_MAX_SCO_LINKS>0)
1293 if ((sco_inx < BTM_MAX_SCO_LINKS) && (p->state == SCO_ST_CONNECTED))
1314 #if (BTM_MAX_SCO_LINKS>0)
1318 if ((sco_inx < BTM_MAX_SCO_LINKS) && (p->rem_bd_known))
1407 #if (BTM_MAX_SCO_LINKS>0)
1414 if (sco_inx < BTM_MAX_SCO_LINKS &&
1444 #if (BTM_MAX_SCO_LINKS>0)
1449 if (sco_inx < BTM_MAX_SCO_LINKS &&
1458 for (index = 0; index < BTM_MAX_SCO_LINKS; index++)
1497 #if (BTM_MAX_SCO_LINKS>0)
1503 if (sco_inx >= BTM_MAX_SCO_LINKS ||
1579 #if (BTM_MAX_SCO_LINKS>0)
1580 if (sco_inx < BTM_MAX_SCO_LINKS &&
1602 #if (BTM_MAX_SCO_LINKS>0)
1624 #if (BTM_MAX_SCO_LINKS>0)
1632 for (xx = 0; xx < BTM_MAX_SCO_LINKS; xx++, p++)
1668 #if (BTM_MAX_SCO_LINKS>0)
1672 for (xx = 0; xx < BTM_MAX_SCO_LINKS; xx++, p++)
1692 #if (BTM_MAX_SCO_LINKS>0)
1697 for (xx = 0; xx < BTM_MAX_SCO_LINKS; xx++, p++)
1727 #if (BTM_MAX_SCO_LINKS>0)
1732 for (xx = 0; xx < BTM_MAX_SCO_LINKS; xx++, p++)