Home
last modified time | relevance | path

Searched refs:nfa_sys_cb (Results 1 – 3 of 3) sorted by relevance

/system/nfc/src/nfa/sys/
Dnfa_sys_cback.cc45 nfa_sys_cb.p_enable_cback = p_cback; in nfa_sys_cback_reg_enable_complete()
46 nfa_sys_cb.enable_cplt_flags = 0; in nfa_sys_cback_reg_enable_complete()
60 nfa_sys_cb.enable_cplt_flags |= (0x0001 << id); in nfa_sys_cback_notify_enable_complete()
64 nfa_sys_cb.enable_cplt_flags, nfa_sys_cb.enable_cplt_mask); in nfa_sys_cback_notify_enable_complete()
66 if ((nfa_sys_cb.enable_cplt_flags == nfa_sys_cb.enable_cplt_mask) && in nfa_sys_cback_notify_enable_complete()
67 (nfa_sys_cb.p_enable_cback)) { in nfa_sys_cback_notify_enable_complete()
68 nfa_sys_cb.p_enable_cback(); in nfa_sys_cback_notify_enable_complete()
69 nfa_sys_cb.p_enable_cback = nullptr; in nfa_sys_cback_notify_enable_complete()
85 nfa_sys_cb.p_proc_nfcc_pwr_mode_cmpl_cback = p_cback; in nfa_sys_cback_reg_nfcc_power_mode_proc_complete()
86 nfa_sys_cb.proc_nfcc_pwr_mode_cplt_flags = 0; in nfa_sys_cback_reg_nfcc_power_mode_proc_complete()
[all …]
Dnfa_sys_main.cc43 tNFA_SYS_CB nfa_sys_cb = {}; variable
57 memset(&nfa_sys_cb, 0, sizeof(tNFA_SYS_CB)); in nfa_sys_init()
58 nfa_sys_cb.flags |= NFA_SYS_FL_INITIALIZED; in nfa_sys_init()
59 nfa_sys_ptim_init(&nfa_sys_cb.ptim_cb, NFA_SYS_TIMER_PERIOD, in nfa_sys_init()
84 if ((id < NFA_ID_MAX) && (nfa_sys_cb.is_reg[id])) { in nfa_sys_event()
85 freebuf = (*nfa_sys_cb.reg[id]->evt_hdlr)(p_msg); in nfa_sys_event()
105 if (!nfa_sys_cb.timers_disabled) { in nfa_sys_timer_update()
106 nfa_sys_ptim_timer_update(&nfa_sys_cb.ptim_cb); in nfa_sys_timer_update()
122 nfa_sys_cb.reg[id] = (tNFA_SYS_REG*)p_reg; in nfa_sys_register()
123 nfa_sys_cb.is_reg[id] = true; in nfa_sys_register()
[all …]
/system/nfc/src/nfa/include/
Dnfa_sys_int.h63 extern tNFA_SYS_CB nfa_sys_cb;