Home
last modified time | relevance | path

Searched refs:nfa_rw_cb (Results 1 – 4 of 4) sorted by relevance

/external/libnfc-nci/src/nfa/rw/
Dnfa_rw_act.c51 if (nfa_rw_cb.p_ndef_buf) in nfa_rw_free_ndef_rx_buf()
53 nfa_mem_co_free(nfa_rw_cb.p_ndef_buf); in nfa_rw_free_ndef_rx_buf()
54 nfa_rw_cb.p_ndef_buf = NULL; in nfa_rw_free_ndef_rx_buf()
74 memcpy(&nfa_rw_cb.p_ndef_buf[nfa_rw_cb.ndef_rd_offset], p, p_rw_data->data.p_data->len); in nfa_rw_store_ndef_rx_buf()
75 nfa_rw_cb.ndef_rd_offset += p_rw_data->data.p_data->len; in nfa_rw_store_ndef_rx_buf()
140 if (nfa_rw_cb.flags & NFA_RW_FL_NOT_EXCL_RF_MODE) in nfa_rw_check_start_presence_check_timer()
143 …nfa_sys_start_timer(&nfa_rw_cb.tle, NFA_RW_PRESENCE_CHECK_TICK_EVT, NFA_RW_PRESENCE_CHECK_INTERVAL… in nfa_rw_check_start_presence_check_timer()
159 nfa_sys_stop_timer(&nfa_rw_cb.tle); in nfa_rw_stop_presence_check_timer()
183 nfa_rw_cb.ndef_st = NFA_RW_NDEF_ST_TRUE; in nfa_rw_handle_ndef_detect()
188 conn_evt_data.ndef_detect.cur_size = nfa_rw_cb.ndef_cur_size = p_rw_data->ndef.cur_size; in nfa_rw_handle_ndef_detect()
[all …]
Dnfa_rw_main.c32 tNFA_RW_CB nfa_rw_cb; variable
76 memset (&nfa_rw_cb, 0, sizeof (tNFA_RW_CB)); in nfa_rw_init()
104 if (nfa_rw_cb.p_pending_msg) in nfa_rw_sys_disable()
106 GKI_freebuf (nfa_rw_cb.p_pending_msg); in nfa_rw_sys_disable()
107 nfa_rw_cb.p_pending_msg = NULL; in nfa_rw_sys_disable()
183 … event: %s (0x%02x), flags: %08x", nfa_rw_evt_2_str (p_msg->event), p_msg->event, nfa_rw_cb.flags); in nfa_rw_handle_event()
185 NFA_TRACE_EVENT2 ("nfa_rw_handle_event event: 0x%x, flags: %08x",p_msg->event, nfa_rw_cb.flags); in nfa_rw_handle_event()
Dnfa_rw_api.c258 tNFC_PROTOCOL protocol = nfa_rw_cb.protocol; in NFA_RwSetTagReadOnly()
826 if (nfa_rw_cb.protocol != NFC_PROTOCOL_15693) in NFA_RwI93Inventory()
879 if (nfa_rw_cb.protocol != NFC_PROTOCOL_15693) in NFA_RwI93StayQuiet()
921 if (nfa_rw_cb.protocol != NFC_PROTOCOL_15693) in NFA_RwI93ReadSingleBlock()
965 if (nfa_rw_cb.protocol != NFC_PROTOCOL_15693) in NFA_RwI93WriteSingleBlock()
971 if ( (nfa_rw_cb.i93_block_size == 0) in NFA_RwI93WriteSingleBlock()
972 ||(nfa_rw_cb.i93_num_block == 0) ) in NFA_RwI93WriteSingleBlock()
977 …if ((p_msg = (tNFA_RW_OPERATION *) GKI_getbuf ((UINT16) (sizeof (tNFA_RW_OPERATION) + nfa_rw_cb.i9… in NFA_RwI93WriteSingleBlock()
986 memcpy (p_msg->params.i93_cmd.p_data, p_data, nfa_rw_cb.i93_block_size); in NFA_RwI93WriteSingleBlock()
1018 if (nfa_rw_cb.protocol != NFC_PROTOCOL_15693) in NFA_RwI93LockBlock()
[all …]
/external/libnfc-nci/src/nfa/int/
Dnfa_rw_int.h314 extern tNFA_RW_CB nfa_rw_cb;