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.c58 if (nfa_rw_cb.p_ndef_buf) in nfa_rw_free_ndef_rx_buf()
60 nfa_mem_co_free(nfa_rw_cb.p_ndef_buf); in nfa_rw_free_ndef_rx_buf()
61 nfa_rw_cb.p_ndef_buf = NULL; in nfa_rw_free_ndef_rx_buf()
81 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()
82 nfa_rw_cb.ndef_rd_offset += p_rw_data->data.p_data->len; in nfa_rw_store_ndef_rx_buf()
156 if (nfa_rw_cb.flags & NFA_RW_FL_NOT_EXCL_RF_MODE) in nfa_rw_check_start_presence_check_timer()
161 … nfa_sys_start_timer(&nfa_rw_cb.tle, NFA_RW_PRESENCE_CHECK_TICK_EVT, presence_check_start_delay); in nfa_rw_check_start_presence_check_timer()
182 nfa_sys_stop_timer(&nfa_rw_cb.tle); in nfa_rw_stop_presence_check_timer()
206 nfa_rw_cb.ndef_st = NFA_RW_NDEF_ST_TRUE; in nfa_rw_handle_ndef_detect()
207 nfa_rw_cb.flags |= NFA_RW_FL_NDEF_OK; in nfa_rw_handle_ndef_detect()
[all …]
Dnfa_rw_main.c33 tNFA_RW_CB nfa_rw_cb; variable
78 memset (&nfa_rw_cb, 0, sizeof (tNFA_RW_CB)); in nfa_rw_init()
106 if (nfa_rw_cb.p_pending_msg) in nfa_rw_sys_disable()
108 GKI_freebuf (nfa_rw_cb.p_pending_msg); in nfa_rw_sys_disable()
109 nfa_rw_cb.p_pending_msg = NULL; in nfa_rw_sys_disable()
191 … 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()
193 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.c262 tNFC_PROTOCOL protocol = nfa_rw_cb.protocol; in NFA_RwSetTagReadOnly()
833 if (nfa_rw_cb.protocol != NFC_PROTOCOL_15693) in NFA_RwI93Inventory()
887 if (nfa_rw_cb.protocol != NFC_PROTOCOL_15693) in NFA_RwI93StayQuiet()
929 if (nfa_rw_cb.protocol != NFC_PROTOCOL_15693) in NFA_RwI93ReadSingleBlock()
973 if (nfa_rw_cb.protocol != NFC_PROTOCOL_15693) in NFA_RwI93WriteSingleBlock()
979 if ( (nfa_rw_cb.i93_block_size == 0) in NFA_RwI93WriteSingleBlock()
980 ||(nfa_rw_cb.i93_num_block == 0) ) in NFA_RwI93WriteSingleBlock()
985 …if ((p_msg = (tNFA_RW_OPERATION *) GKI_getbuf ((UINT16) (sizeof (tNFA_RW_OPERATION) + nfa_rw_cb.i9… in NFA_RwI93WriteSingleBlock()
994 memcpy (p_msg->params.i93_cmd.p_data, p_data, nfa_rw_cb.i93_block_size); in NFA_RwI93WriteSingleBlock()
1026 if (nfa_rw_cb.protocol != NFC_PROTOCOL_15693) in NFA_RwI93LockBlock()
[all …]
/external/libnfc-nci/src/nfa/int/
Dnfa_rw_int.h329 extern tNFA_RW_CB nfa_rw_cb;