Home
last modified time | relevance | path

Searched refs:MAX_L2CAP_LINKS (Results 1 – 14 of 14) sorted by relevance

/system/bt/stack/btm/
Dbtm_pm.c200 if(acl_ind == MAX_L2CAP_LINKS) in BTM_SetPowerMode()
233 || ((pm_id == BTM_PM_SET_ONLY_ID) && (btm_cb.pm_pend_link != MAX_L2CAP_LINKS)) ) in BTM_SetPowerMode()
250 (btm_cb.pm_pend_link != MAX_L2CAP_LINKS) ) /* command pending */ in BTM_SetPowerMode()
288 if( (acl_ind = btm_pm_find_acl_ind(remote_bda)) == MAX_L2CAP_LINKS) in BTM_ReadPowerMode()
320 if( acl_ind == MAX_L2CAP_LINKS) in btm_read_power_mode_state()
352 if( (acl_ind = btm_pm_find_acl_ind(remote_bda)) == MAX_L2CAP_LINKS) in BTM_SetSsrParams()
401 if(cb != NULL && btm_cb.pm_pend_link < MAX_L2CAP_LINKS) in btm_pm_reset()
405 btm_cb.pm_pend_link = MAX_L2CAP_LINKS; in btm_pm_reset()
443 for (xx = 0; xx < MAX_L2CAP_LINKS; xx++, p++) in btm_pm_find_acl_ind()
646 btm_cb.pm_pend_link = MAX_L2CAP_LINKS; in btm_pm_snd_md_req()
[all …]
Dbtm_acl.c104 for (xx = 0; xx < MAX_L2CAP_LINKS; xx++, p++) in btm_bda_to_acl()
136 for (xx = 0; xx < MAX_L2CAP_LINKS; xx++, p++) in btm_handle_to_acl_index()
238 for (xx = 0, p = &btm_cb.acl_db[0]; xx < MAX_L2CAP_LINKS; xx++, p++) in btm_acl_created()
478 for (xx = 0; xx < MAX_L2CAP_LINKS; xx++, p++) in btm_acl_device_down()
738 if (xx < MAX_L2CAP_LINKS) in btm_acl_encrypt_change()
923 for (xx = 0; xx < MAX_L2CAP_LINKS; xx++, p_acl_cb++) in btm_read_remote_version_complete()
1015 if ((acl_idx = btm_handle_to_acl_index(handle)) >= MAX_L2CAP_LINKS) in btm_read_remote_features()
1076 if ((acl_idx = btm_handle_to_acl_index(handle)) >= MAX_L2CAP_LINKS) in btm_read_remote_features_complete()
1132 if ((acl_idx = btm_handle_to_acl_index(handle)) >= MAX_L2CAP_LINKS) in btm_read_remote_ext_features_complete()
1187 if ((acl_idx = btm_handle_to_acl_index(handle)) >= MAX_L2CAP_LINKS) in btm_read_remote_ext_features_failed()
[all …]
Dbtm_int.h790 tACL_CONN acl_db[MAX_L2CAP_LINKS];
801 tBTM_PM_MCB pm_mode_db[MAX_L2CAP_LINKS]; /* per ACL link */
Dbtm_ble_multi_adv.c771 if ((idx = btm_handle_to_acl_index(conn_handle)) != MAX_L2CAP_LINKS) in btm_ble_multi_adv_vse_cback()
Dbtm_sco.c423 if ((xx = btm_handle_to_acl_index(acl_handle)) < MAX_L2CAP_LINKS)
Dbtm_ble.c306 if (xx >= MAX_L2CAP_LINKS) in BTM_IsBleConnection()
Dbtm_ble_gap.c3216 for (xx = 0; xx < MAX_L2CAP_LINKS; xx++, p_acl_cb++) in btm_ble_read_remote_features_complete()
Dbtm_sec.c4240 if (acl_idx != MAX_L2CAP_LINKS) in btm_sec_encrypt_change()
/system/bt/stack/l2cap/
Dl2c_link.c84 for (xx = 0, p_lcb_cur = &l2cb.lcb_pool[0]; xx < MAX_L2CAP_LINKS; xx++, p_lcb_cur++) in l2c_link_hci_conn_req()
762 for (yy = 0, p_lcb = &l2cb.lcb_pool[0]; yy < MAX_L2CAP_LINKS; yy++, p_lcb++) in l2c_link_adjust_allocation()
811 for (yy = 0, p_lcb = &l2cb.lcb_pool[0]; yy < MAX_L2CAP_LINKS; yy++, p_lcb++) in l2c_link_adjust_allocation()
966 for (xx = 0, p_lcb = &l2cb.lcb_pool[0]; xx < MAX_L2CAP_LINKS; xx++, p_lcb++) in l2c_link_role_changed()
1111 for (xx = 0; xx < MAX_L2CAP_LINKS; xx++, p_lcb++) in l2c_link_check_send_pkts()
1129 if (p_lcb == &l2cb.lcb_pool[MAX_L2CAP_LINKS]) in l2c_link_check_send_pkts()
Dl2c_utils.c59 for (xx = 0; xx < MAX_L2CAP_LINKS; xx++, p_lcb++) in l2cu_allocate_lcb()
287 for (xx = 0; xx < MAX_L2CAP_LINKS; xx++, p_lcb++) in l2cu_find_lcb_by_bd_addr()
2259 for (xx = 0; xx < MAX_L2CAP_LINKS; xx++, p_lcb++) in l2cu_device_reset()
2309 for (xx = 0, p_lcb_cur = &l2cb.lcb_pool[0]; xx < MAX_L2CAP_LINKS; xx++, p_lcb_cur++) in l2cu_create_conn()
2371 for (xx = 0; xx < MAX_L2CAP_LINKS; xx++, p_lcb++) in l2cu_get_num_hi_priority()
2477 for (i = 0; i < MAX_L2CAP_LINKS; i++, p_lcb++) in l2cu_find_lcb_by_state()
2511 for (i = 0; i < MAX_L2CAP_LINKS; i++, p_lcb++) in l2cu_lcb_disconnecting()
2656 for (xx = 0, p_lcb = &l2cb.lcb_pool[0]; xx < MAX_L2CAP_LINKS; xx++, p_lcb++) in l2cu_resubmit_pending_sec_req()
3294 for (xx = 0; xx < MAX_L2CAP_LINKS; xx++, p_lcb++) in l2cu_find_lcb_by_handle()
Dl2c_api.c139 for (ii = 0; ii < MAX_L2CAP_LINKS; ii++, p_lcb++) in L2CA_Deregister()
430 for (int i = 0; i < MAX_L2CAP_LINKS; i++, p_lcb++) in L2CA_DeregisterLECoc()
1150 for (xx = 0; xx < MAX_L2CAP_LINKS; xx++, p_lcb++) in L2CA_SetIdleTimeoutByBdAddr()
1529 for (xx = 0; xx < MAX_L2CAP_LINKS; xx++, p_lcb++) in L2CA_SetFlushTimeout()
Dl2c_ble.c1049 for (yy = 0, p_lcb = &l2cb.lcb_pool[0]; yy < MAX_L2CAP_LINKS; yy++, p_lcb++) in l2c_ble_link_adjust_allocation()
1098 for (yy = 0, p_lcb = &l2cb.lcb_pool[0]; yy < MAX_L2CAP_LINKS; yy++, p_lcb++) in l2c_ble_link_adjust_allocation()
Dl2c_int.h468 tL2C_LCB lcb_pool[MAX_L2CAP_LINKS]; /* Link Control Block pool */
/system/bt/include/
Dbt_target.h536 #define MAX_L2CAP_LINKS 7 macro
538 #define MAX_L2CAP_LINKS MAX_ACL_CONNECTIONS macro