Home
last modified time | relevance | path

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

/external/libnfc-nci/src/nfa/ee/
Dnfa_ee_main.c39 tNFA_EE_CB nfa_ee_cb; variable
104 memset (&nfa_ee_cb, 0, sizeof (tNFA_EE_CB)); in nfa_ee_init()
107 nfa_ee_cb.ecb[xx].nfcee_id = NFA_EE_INVALID; in nfa_ee_init()
108 nfa_ee_cb.ecb[xx].ee_status = NFC_NFCEE_STATUS_INACTIVE; in nfa_ee_init()
111 nfa_ee_cb.ecb[NFA_EE_CB_4_DH].ee_status = NFC_NFCEE_STATUS_ACTIVE; in nfa_ee_init()
112 nfa_ee_cb.ecb[NFA_EE_CB_4_DH].nfcee_id = NFC_DH_ID; in nfa_ee_init()
133 … nfa_sys_start_timer (&nfa_ee_cb.discv_timer, NFA_EE_DISCV_TIMEOUT_EVT, NFA_EE_DISCV_TIMEOUT_VAL); in nfa_ee_sys_enable()
137 nfa_ee_cb.em_state = NFA_EE_EM_STATE_INIT_DONE; in nfa_ee_sys_enable()
170 if (nfa_ee_cb.ee_cfged & mask) in nfa_ee_restore_one_ecb()
188 if (nfa_ee_cb.ee_cfged & mask) in nfa_ee_restore_one_ecb()
[all …]
Dnfa_ee_act.c219 p_cb = &nfa_ee_cb.ecb[NFA_EE_CB_4_DH]; in nfa_ee_total_lmrt_size()
222 p_cb = &nfa_ee_cb.ecb[nfa_ee_cb.cur_ee - 1]; in nfa_ee_total_lmrt_size()
223 for (xx = 0; xx < nfa_ee_cb.cur_ee; xx++, p_cb--) in nfa_ee_total_lmrt_size()
307 p_ecb = &nfa_ee_cb.ecb[NFA_EE_CB_4_DH]; in nfa_ee_find_aid_offset()
309 for (yy = 0; yy < nfa_ee_cb.cur_ee; yy++, p_ecb++) in nfa_ee_find_aid_offset()
335 p_ecb = &nfa_ee_cb.ecb[yy]; in nfa_ee_find_aid_offset()
363 if (nfa_ee_cb.p_ee_cback[xx] != NULL) in nfa_ee_report_event()
365 (*nfa_ee_cb.p_ee_cback[xx])(event, p_data); in nfa_ee_report_event()
381 nfa_sys_start_timer(&nfa_ee_cb.timer, NFA_EE_ROUT_TIMEOUT_EVT, NFA_EE_ROUT_TIMEOUT_VAL); in nfa_ee_start_timer()
398 NFA_TRACE_DEBUG1 ("nfa_ee_api_discover() in_use:%d", nfa_ee_cb.discv_timer.in_use); in nfa_ee_api_discover()
[all …]
Dnfa_ee_api.c56 if (nfa_ee_cb.em_state != NFA_EE_EM_STATE_INIT_DONE) in NFA_EeDiscover()
58 NFA_TRACE_ERROR1 ("NFA_EeDiscover bad em state: %d", nfa_ee_cb.em_state); in NFA_EeDiscover()
61 else if ((nfa_ee_cb.p_ee_disc_cback != NULL) || (p_cback == NULL)) in NFA_EeDiscover()
95 int xx, ret = nfa_ee_cb.cur_ee; in NFA_EeGetInfo()
96 tNFA_EE_ECB *p_cb = nfa_ee_cb.ecb; in NFA_EeGetInfo()
100 NFA_TRACE_DEBUG2 ("NFA_EeGetInfo em_state:%d cur_ee:%d", nfa_ee_cb.em_state, nfa_ee_cb.cur_ee); in NFA_EeGetInfo()
109 if (nfa_ee_cb.em_state == NFA_EE_EM_STATE_INIT) in NFA_EeGetInfo()
111 NFA_TRACE_ERROR1 ("NFA_EeGetInfo bad em state: %d", nfa_ee_cb.em_state); in NFA_EeGetInfo()
194 if (nfa_ee_cb.p_ee_cback[xx] == p_cback) in NFA_EeDeregister()
240 p_cb = nfa_ee_cb.ecb; in NFA_EeModeSet()
[all …]
/external/libnfc-nci/src/nfa/int/
Dnfa_ee_int.h430 extern tNFA_EE_CB nfa_ee_cb;
433 #define nfa_ee_cb (*nfa_ee_cb_ptr) macro