Home
last modified time | relevance | path

Searched refs:p_lcb_cur (Results 1 – 2 of 2) sorted by relevance

/system/bt/stack/l2cap/
Dl2c_link.cc61 tL2C_LCB* p_lcb_cur; in l2c_link_hci_conn_req() local
80 for (xx = 0, p_lcb_cur = &l2cb.lcb_pool[0]; xx < MAX_L2CAP_LINKS; in l2c_link_hci_conn_req()
81 xx++, p_lcb_cur++) { in l2c_link_hci_conn_req()
82 if (p_lcb_cur == p_lcb) continue; in l2c_link_hci_conn_req()
84 if (p_lcb_cur->in_use) { in l2c_link_hci_conn_req()
Dl2c_utils.cc2137 tL2C_LCB* p_lcb_cur = &l2cb.lcb_pool[0]; in l2cu_create_conn_br_edr() local
2143 for (xx = 0, p_lcb_cur = &l2cb.lcb_pool[0]; xx < MAX_L2CAP_LINKS; in l2cu_create_conn_br_edr()
2144 xx++, p_lcb_cur++) { in l2cu_create_conn_br_edr()
2145 if (p_lcb_cur == p_lcb) continue; in l2cu_create_conn_br_edr()
2147 if ((p_lcb_cur->in_use) && (p_lcb_cur->link_role == HCI_ROLE_SLAVE)) { in l2cu_create_conn_br_edr()
2153 is_sco_active = btm_is_sco_active_by_bdaddr(p_lcb_cur->remote_bd_addr); in l2cu_create_conn_br_edr()
2168 if (BTM_SwitchRole(p_lcb_cur->remote_bd_addr, HCI_ROLE_MASTER, NULL) == in l2cu_create_conn_br_edr()