Home
last modified time | relevance | path

Searched refs:conn_cb (Results 1 – 7 of 7) sorted by relevance

/external/libnfc-nci/src/nfc/nfc/
Dnfc_utils.c52 if (nfc_cb.conn_cb[xx].conn_id == NFC_ILLEGAL_CONN_ID) in nfc_alloc_conn_cb()
54 nfc_cb.conn_cb[xx].conn_id = NFC_PEND_CONN_ID; /* to indicate this cb is used */ in nfc_alloc_conn_cb()
55 p_conn_cb = &nfc_cb.conn_cb[xx]; in nfc_alloc_conn_cb()
81 handle = (UINT8) (p_cb - nfc_cb.conn_cb + 1); in nfc_set_conn_id()
103 if (nfc_cb.conn_cb[xx].id == id) in nfc_find_conn_cb_by_handle()
105 p_conn_cb = &nfc_cb.conn_cb[xx]; in nfc_find_conn_cb_by_handle()
133 if (nfc_cb.conn_cb[xx].conn_id == NFC_PEND_CONN_ID) in nfc_find_conn_cb_by_conn_id()
135 p_conn_cb = &nfc_cb.conn_cb[xx]; in nfc_find_conn_cb_by_conn_id()
147 p_conn_cb = &nfc_cb.conn_cb[handle - 1]; in nfc_find_conn_cb_by_conn_id()
195 tNFC_CONN_CB *p_conn_cb = &nfc_cb.conn_cb[0]; in nfc_reset_all_conn_cbs()
Dnfc_main.c214 tNFC_CONN_CB *p_cb = &nfc_cb.conn_cb[NFC_RF_CONN_ID]; in nfc_enabled()
736 nfc_cb.conn_cb[xx].conn_id = NFC_ILLEGAL_CONN_ID; in NFC_Init()
1046 tNFC_CONN_CB * p_cb = &nfc_cb.conn_cb[NFC_RF_CONN_ID]; in NFC_SetStaticRfCback()
1133 tNFC_CONN_CB * p_cb = &nfc_cb.conn_cb[NFC_RF_CONN_ID]; in NFC_Deactivate()
Dnfc_ncif.c754 tNFC_CONN_CB * p_cb = &nfc_cb.conn_cb[NFC_RF_CONN_ID]; in nfc_ncif_proc_activate()
955 tNFC_CONN_CB * p_cb = &nfc_cb.conn_cb[NFC_RF_CONN_ID]; in nfc_ncif_proc_deactivate()
1293 tNFC_CONN_CB * p_cb = &nfc_cb.conn_cb[NFC_RF_CONN_ID]; in nfc_ncif_proc_init_rsp()
/external/libnfc-nci/src/nfa/p2p/
Dnfa_p2p_act.c63 if (nfa_p2p_cb.conn_cb[xx].flags == 0) in nfa_p2p_allocate_conn_cb()
65 nfa_p2p_cb.conn_cb[xx].flags |= NFA_P2P_CONN_FLAG_IN_USE; in nfa_p2p_allocate_conn_cb()
66 nfa_p2p_cb.conn_cb[xx].local_sap = local_sap; in nfa_p2p_allocate_conn_cb()
91 nfa_p2p_cb.conn_cb[xx].flags = 0; in nfa_p2p_deallocate_conn_cb()
115 if ( (nfa_p2p_cb.conn_cb[xx].flags & NFA_P2P_CONN_FLAG_IN_USE) in nfa_p2p_find_conn_cb()
116 &&(nfa_p2p_cb.conn_cb[xx].local_sap == local_sap) in nfa_p2p_find_conn_cb()
117 &&(nfa_p2p_cb.conn_cb[xx].remote_sap == remote_sap) ) in nfa_p2p_find_conn_cb()
324 nfa_p2p_cb.conn_cb[xx].remote_sap = p_data->connect_ind.remote_sap; in nfa_p2p_proc_llcp_connect_ind()
325 nfa_p2p_cb.conn_cb[xx].remote_miu = p_data->connect_ind.miu; in nfa_p2p_proc_llcp_connect_ind()
329 nfa_p2p_cb.conn_cb[xx].flags |= NFA_P2P_CONN_FLAG_REMOTE_RW_ZERO; in nfa_p2p_proc_llcp_connect_ind()
[all …]
Dnfa_p2p_api.c227 ||(nfa_p2p_cb.conn_cb[xx].flags == 0) ) in NFA_P2pAcceptConn()
287 ||(nfa_p2p_cb.conn_cb[xx].flags == 0) ) in NFA_P2pRejectConn()
337 ||(nfa_p2p_cb.conn_cb[xx].flags == 0) ) in NFA_P2pDisconnect()
703 ||(nfa_p2p_cb.conn_cb[xx].flags == 0) ) in NFA_P2pSendData()
708 else if (nfa_p2p_cb.conn_cb[xx].flags & NFA_P2P_CONN_FLAG_REMOTE_RW_ZERO) in NFA_P2pSendData()
713 else if (nfa_p2p_cb.conn_cb[xx].remote_miu < length) in NFA_P2pSendData()
716 handle, nfa_p2p_cb.conn_cb[xx].remote_miu); in NFA_P2pSendData()
719 else if (nfa_p2p_cb.conn_cb[xx].flags & NFA_P2P_CONN_FLAG_CONGESTED) in NFA_P2pSendData()
725 else if (LLCP_IsDataLinkCongested (nfa_p2p_cb.conn_cb[xx].local_sap, in NFA_P2pSendData()
726 nfa_p2p_cb.conn_cb[xx].remote_sap, in NFA_P2pSendData()
[all …]
/external/libnfc-nci/src/nfa/int/
Dnfa_p2p_int.h258 tNFA_P2P_CONN_CB conn_cb[LLCP_MAX_DATA_LINK]; member
/external/libnfc-nci/src/nfc/int/
Dnfc_int.h149 tNFC_CONN_CB conn_cb[NCI_MAX_CONN_CBS]; member