Home
last modified time | relevance | path

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

/external/libnfc-nci/src/nfa/sys/
Dnfa_sys_main.c39 tNFA_SYS_CB nfa_sys_cb = {0}; /* nfa_sys control block. statically initialize 'flags' field to 0 … variable
54 memset (&nfa_sys_cb, 0, sizeof (tNFA_SYS_CB)); in nfa_sys_init()
55 nfa_sys_cb.flags |= NFA_SYS_FL_INITIALIZED; in nfa_sys_init()
56 nfa_sys_ptim_init (&nfa_sys_cb.ptim_cb, NFA_SYS_TIMER_PERIOD, p_nfa_sys_cfg->timer); in nfa_sys_init()
57 nfa_sys_cb.trace_level = p_nfa_sys_cfg->trace_level; in nfa_sys_init()
84 if ((id < NFA_ID_MAX) && (nfa_sys_cb.is_reg[id])) in nfa_sys_event()
86 freebuf = (*nfa_sys_cb.reg[id]->evt_hdlr) (p_msg); in nfa_sys_event()
110 if (!nfa_sys_cb.timers_disabled) in nfa_sys_timer_update()
112 nfa_sys_ptim_timer_update (&nfa_sys_cb.ptim_cb); in nfa_sys_timer_update()
129 nfa_sys_cb.reg[id] = (tNFA_SYS_REG *) p_reg; in nfa_sys_register()
[all …]
Dnfa_sys_cback.c42 nfa_sys_cb.p_enable_cback = p_cback; in nfa_sys_cback_reg_enable_complete()
43 nfa_sys_cb.enable_cplt_flags = 0; in nfa_sys_cback_reg_enable_complete()
58 nfa_sys_cb.enable_cplt_flags |= (0x0001 << id); in nfa_sys_cback_notify_enable_complete()
61 nfa_sys_cb.enable_cplt_flags, nfa_sys_cb.enable_cplt_mask); in nfa_sys_cback_notify_enable_complete()
63 if ( (nfa_sys_cb.enable_cplt_flags == nfa_sys_cb.enable_cplt_mask) in nfa_sys_cback_notify_enable_complete()
64 &&(nfa_sys_cb.p_enable_cback) ) in nfa_sys_cback_notify_enable_complete()
66 nfa_sys_cb.p_enable_cback (); in nfa_sys_cback_notify_enable_complete()
67 nfa_sys_cb.p_enable_cback = NULL; in nfa_sys_cback_notify_enable_complete()
83 nfa_sys_cb.p_proc_nfcc_pwr_mode_cmpl_cback = p_cback; in nfa_sys_cback_reg_nfcc_power_mode_proc_complete()
84 nfa_sys_cb.proc_nfcc_pwr_mode_cplt_flags = 0; in nfa_sys_cback_reg_nfcc_power_mode_proc_complete()
[all …]
/external/libnfc-nci/src/nfa/int/
Dnfa_sys_int.h70 extern tNFA_SYS_CB nfa_sys_cb;
73 #define nfa_sys_cb (*nfa_sys_cb_ptr) macro
/external/libnfc-nci/src/include/
Dbt_trace.h1544 #define NFA_TRACE_ERROR0(m) {if (nfa_sys_cb.trace_level >= BT_TRACE_LEVEL_ERROR…
1545 #define NFA_TRACE_ERROR1(m,p1) {if (nfa_sys_cb.trace_level >= BT_TRACE_LEVEL_ERROR…
1546 #define NFA_TRACE_ERROR2(m,p1,p2) {if (nfa_sys_cb.trace_level >= BT_TRACE_LEVEL_ERROR…
1547 #define NFA_TRACE_ERROR3(m,p1,p2,p3) {if (nfa_sys_cb.trace_level >= BT_TRACE_LEVEL_ERROR…
1548 #define NFA_TRACE_ERROR4(m,p1,p2,p3,p4) {if (nfa_sys_cb.trace_level >= BT_TRACE_LEVEL_ERROR…
1549 #define NFA_TRACE_ERROR5(m,p1,p2,p3,p4,p5) {if (nfa_sys_cb.trace_level >= BT_TRACE_LEVEL_ERROR…
1550 #define NFA_TRACE_ERROR6(m,p1,p2,p3,p4,p5,p6) {if (nfa_sys_cb.trace_level >= BT_TRACE_LEVEL_ERROR…
1552 #define NFA_TRACE_WARNING0(m) {if (nfa_sys_cb.trace_level >= BT_TRACE_LEVEL_WARNI…
1553 #define NFA_TRACE_WARNING1(m,p1) {if (nfa_sys_cb.trace_level >= BT_TRACE_LEVEL_WARNI…
1554 #define NFA_TRACE_WARNING2(m,p1,p2) {if (nfa_sys_cb.trace_level >= BT_TRACE_LEVEL_WARNI…
[all …]
/external/libnfc-nci/src/nfa/dm/
Dnfa_dm_api.c1203 return (nfa_sys_cb.trace_level); in NFA_SetTraceLevel()