Home | History | Annotate | Download | only in gatt

Lines Matching refs:tcb

713         if (gatt_cb.tcb[i].in_use && gatt_cb.tcb[i].ch_state == GATT_CH_OPEN)
715 memcpy( bda, gatt_cb.tcb[i].peer_bda, BD_ADDR_LEN);
804 ** Returns GATT_INDEX_INVALID if not found. Otherwise index to the tcb.
814 if (gatt_cb.tcb[i].in_use &&
815 !memcmp(gatt_cb.tcb[i].peer_bda, bda, BD_ADDR_LEN))
828 ** Description The function searches for an empty tcb entry, and return the index.
830 ** Returns GATT_INDEX_INVALID if not found. Otherwise index to the tcb.
839 if (!memcmp(gatt_cb.tcb[i].peer_bda, bda, BD_ADDR_LEN))
853 ** Description The function get TCB using the TCB index
855 ** Returns NULL if not found. Otherwise index to the tcb.
862 if ( (tcb_idx < GATT_MAX_PHY_CHANNEL) && gatt_cb.tcb[tcb_idx].in_use)
863 p_tcb = &gatt_cb.tcb[tcb_idx];
872 ** Description The function searches for an empty tcb entry, and return pointer.
874 ** Returns NULL if not found. Otherwise index to the tcb.
883 p_tcb = &gatt_cb.tcb[i];
891 ** Description The function searches for an empty tcb entry, and return the index.
893 ** Returns GATT_INDEX_INVALID if not found. Otherwise index to the tcb.
902 if (!gatt_cb.tcb[i].in_use)
914 ** Description The function locate or allocate new tcb entry for matching bda.
916 ** Returns GATT_INDEX_INVALID if not found. Otherwise index to the tcb.
925 /* search for existing tcb with matching bda */
927 /* find free tcb */
935 p_tcb = &gatt_cb.tcb[i];
1583 if (gatt_cb.tcb[xx].in_use && gatt_cb.tcb[xx].att_lcid == lcid)
1585 p_tcb = &gatt_cb.tcb[xx];
1821 GATT_TRACE_DEBUG4("gatt_sr_update_prep_cnt tcb idx=%d gatt_if=%d is_inc=%d is_reset_first=%d",
2648 GATT_TRACE_EVENT0 ("GATTC_GetConnIfConnected - no TCB found");