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.c53 if (nfc_cb.conn_cb[xx].conn_id == NFC_ILLEGAL_CONN_ID) in nfc_alloc_conn_cb()
55 nfc_cb.conn_cb[xx].conn_id = NFC_PEND_CONN_ID; /* to indicate this cb is used */ in nfc_alloc_conn_cb()
56 p_conn_cb = &nfc_cb.conn_cb[xx]; in nfc_alloc_conn_cb()
82 handle = (UINT8) (p_cb - nfc_cb.conn_cb + 1); in nfc_set_conn_id()
104 if (nfc_cb.conn_cb[xx].id == id) in nfc_find_conn_cb_by_handle()
106 p_conn_cb = &nfc_cb.conn_cb[xx]; in nfc_find_conn_cb_by_handle()
134 if (nfc_cb.conn_cb[xx].conn_id == NFC_PEND_CONN_ID) in nfc_find_conn_cb_by_conn_id()
136 p_conn_cb = &nfc_cb.conn_cb[xx]; in nfc_find_conn_cb_by_conn_id()
148 p_conn_cb = &nfc_cb.conn_cb[handle - 1]; in nfc_find_conn_cb_by_conn_id()
196 tNFC_CONN_CB *p_conn_cb = &nfc_cb.conn_cb[0]; in nfc_reset_all_conn_cbs()
Dnfc_main.c218 tNFC_CONN_CB *p_cb = &nfc_cb.conn_cb[NFC_RF_CONN_ID]; in nfc_enabled()
741 nfc_cb.conn_cb[xx].conn_id = NFC_ILLEGAL_CONN_ID; in NFC_Init()
1051 tNFC_CONN_CB * p_cb = &nfc_cb.conn_cb[NFC_RF_CONN_ID]; in NFC_SetStaticRfCback()
1138 tNFC_CONN_CB * p_cb = &nfc_cb.conn_cb[NFC_RF_CONN_ID]; in NFC_Deactivate()
Dnfc_ncif.c771 tNFC_CONN_CB * p_cb = &nfc_cb.conn_cb[NFC_RF_CONN_ID]; in nfc_ncif_proc_activate()
984 tNFC_CONN_CB * p_cb = &nfc_cb.conn_cb[NFC_RF_CONN_ID]; in nfc_ncif_proc_deactivate()
1322 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.c64 if (nfa_p2p_cb.conn_cb[xx].flags == 0) in nfa_p2p_allocate_conn_cb()
66 nfa_p2p_cb.conn_cb[xx].flags |= NFA_P2P_CONN_FLAG_IN_USE; in nfa_p2p_allocate_conn_cb()
67 nfa_p2p_cb.conn_cb[xx].local_sap = local_sap; in nfa_p2p_allocate_conn_cb()
92 nfa_p2p_cb.conn_cb[xx].flags = 0; in nfa_p2p_deallocate_conn_cb()
116 if ( (nfa_p2p_cb.conn_cb[xx].flags & NFA_P2P_CONN_FLAG_IN_USE) in nfa_p2p_find_conn_cb()
117 &&(nfa_p2p_cb.conn_cb[xx].local_sap == local_sap) in nfa_p2p_find_conn_cb()
118 &&(nfa_p2p_cb.conn_cb[xx].remote_sap == remote_sap) ) in nfa_p2p_find_conn_cb()
325 nfa_p2p_cb.conn_cb[xx].remote_sap = p_data->connect_ind.remote_sap; in nfa_p2p_proc_llcp_connect_ind()
326 nfa_p2p_cb.conn_cb[xx].remote_miu = p_data->connect_ind.miu; in nfa_p2p_proc_llcp_connect_ind()
330 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.c228 ||(nfa_p2p_cb.conn_cb[xx].flags == 0) ) in NFA_P2pAcceptConn()
288 ||(nfa_p2p_cb.conn_cb[xx].flags == 0) ) in NFA_P2pRejectConn()
338 ||(nfa_p2p_cb.conn_cb[xx].flags == 0) ) in NFA_P2pDisconnect()
704 ||(nfa_p2p_cb.conn_cb[xx].flags == 0) ) in NFA_P2pSendData()
709 else if (nfa_p2p_cb.conn_cb[xx].flags & NFA_P2P_CONN_FLAG_REMOTE_RW_ZERO) in NFA_P2pSendData()
714 else if (nfa_p2p_cb.conn_cb[xx].remote_miu < length) in NFA_P2pSendData()
717 handle, nfa_p2p_cb.conn_cb[xx].remote_miu); in NFA_P2pSendData()
720 else if (nfa_p2p_cb.conn_cb[xx].flags & NFA_P2P_CONN_FLAG_CONGESTED) in NFA_P2pSendData()
726 else if (LLCP_IsDataLinkCongested (nfa_p2p_cb.conn_cb[xx].local_sap, in NFA_P2pSendData()
727 nfa_p2p_cb.conn_cb[xx].remote_sap, in NFA_P2pSendData()
[all …]
/external/libnfc-nci/src/nfa/int/
Dnfa_p2p_int.h264 tNFA_P2P_CONN_CB conn_cb[LLCP_MAX_DATA_LINK]; member
/external/libnfc-nci/src/nfc/int/
Dnfc_int.h151 tNFC_CONN_CB conn_cb[NCI_MAX_CONN_CBS]; member