Lines Matching refs:tcb
737 if (gatt_cb.tcb[i].in_use && gatt_cb.tcb[i].ch_state == GATT_CH_OPEN) in gatt_find_the_connected_bda()
739 memcpy( bda, gatt_cb.tcb[i].peer_bda, BD_ADDR_LEN); in gatt_find_the_connected_bda()
741 *p_transport = gatt_cb.tcb[i].transport; in gatt_find_the_connected_bda()
845 if (gatt_cb.tcb[i].in_use && in gatt_is_bda_connected()
846 !memcmp(gatt_cb.tcb[i].peer_bda, bda, BD_ADDR_LEN)) in gatt_is_bda_connected()
870 if (!memcmp(gatt_cb.tcb[i].peer_bda, bda, BD_ADDR_LEN) && in gatt_find_i_tcb_by_addr()
871 gatt_cb.tcb[i].transport == transport) in gatt_find_i_tcb_by_addr()
893 if ( (tcb_idx < GATT_MAX_PHY_CHANNEL) && gatt_cb.tcb[tcb_idx].in_use) in gatt_get_tcb_by_idx()
894 p_tcb = &gatt_cb.tcb[tcb_idx]; in gatt_get_tcb_by_idx()
914 p_tcb = &gatt_cb.tcb[i]; in gatt_find_tcb_by_addr()
933 if (!gatt_cb.tcb[i].in_use) in gatt_find_i_tcb_free()
966 p_tcb = &gatt_cb.tcb[i]; in gatt_allocate_tcb_by_bdaddr()
1736 if (gatt_cb.tcb[xx].in_use && gatt_cb.tcb[xx].att_lcid == lcid) in gatt_find_tcb_by_cid()
1738 p_tcb = &gatt_cb.tcb[xx]; in gatt_find_tcb_by_cid()