Home
last modified time | relevance | path

Searched refs:nfa_cho_cb (Results 1 – 7 of 7) sorted by relevance

/external/libnfc-nci/src/nfa/cho/
Dnfa_cho_sm.c139 nfa_cho_cb.state = NFA_CHO_ST_IDLE; in nfa_cho_sm_disabled()
146 LLCP_GetLinkMIU (&nfa_cho_cb.local_link_miu, &remote_link_miu); in nfa_cho_sm_disabled()
148 if (nfa_cho_cb.local_link_miu > 0) in nfa_cho_sm_disabled()
150 nfa_cho_cb.flags |= NFA_CHO_FLAGS_LLCP_ACTIVATED; in nfa_cho_sm_disabled()
154 nfa_cho_cb.p_cback (NFA_CHO_ACTIVATED_EVT, &evt_data); in nfa_cho_sm_disabled()
189 nfa_cho_cb.state = NFA_CHO_ST_DISABLED; in nfa_cho_sm_idle()
194 if (nfa_cho_cb.flags & NFA_CHO_FLAGS_LLCP_ACTIVATED) in nfa_cho_sm_idle()
199 nfa_cho_cb.state = NFA_CHO_ST_W4_CC; in nfa_cho_sm_idle()
204 nfa_cho_cb.p_cback (NFA_CHO_DISCONNECTED_EVT, &evt_data); in nfa_cho_sm_idle()
210 nfa_cho_cb.p_cback (NFA_CHO_DISCONNECTED_EVT, &evt_data); in nfa_cho_sm_idle()
[all …]
Dnfa_cho_util.c103 if (p_data->ndef_data.ndef_type_handle == nfa_cho_cb.bt_ndef_type_handle ) in nfa_cho_ndef_cback()
114 else if (p_data->ndef_data.ndef_type_handle == nfa_cho_cb.wifi_ndef_type_handle ) in nfa_cho_ndef_cback()
169 if (nfa_cho_cb.hs_ndef_type_handle == NFA_HANDLE_INVALID) in nfa_cho_proc_ndef_type_handler_evt()
171nfa_cho_cb.hs_ndef_type_handle = p_evt_data->ndef_type_hdlr.data.ndef_reg.ndef_type_handle; in nfa_cho_proc_ndef_type_handler_evt()
173 else if (nfa_cho_cb.bt_ndef_type_handle == NFA_HANDLE_INVALID) in nfa_cho_proc_ndef_type_handler_evt()
175nfa_cho_cb.bt_ndef_type_handle = p_evt_data->ndef_type_hdlr.data.ndef_reg.ndef_type_handle; in nfa_cho_proc_ndef_type_handler_evt()
177 else if (nfa_cho_cb.wifi_ndef_type_handle == NFA_HANDLE_INVALID) in nfa_cho_proc_ndef_type_handler_evt()
179nfa_cho_cb.wifi_ndef_type_handle = p_evt_data->ndef_type_hdlr.data.ndef_reg.ndef_type_handle; in nfa_cho_proc_ndef_type_handler_evt()
186 if (nfa_cho_cb.state != NFA_CHO_ST_CONNECTED) in nfa_cho_proc_ndef_type_handler_evt()
236 nfa_cho_cb.server_sap = LLCP_RegisterServer (LLCP_INVALID_SAP, in nfa_cho_proc_api_reg()
[all …]
Dnfa_cho_main.c37 tNFA_CHO_CB nfa_cho_cb; variable
91 memset (&nfa_cho_cb, 0, sizeof (tNFA_CHO_CB)); in nfa_cho_init()
93 nfa_cho_cb.server_sap = LLCP_INVALID_SAP; in nfa_cho_init()
94 nfa_cho_cb.client_sap = LLCP_INVALID_SAP; in nfa_cho_init()
95 nfa_cho_cb.remote_sap = LLCP_INVALID_SAP; in nfa_cho_init()
97 nfa_cho_cb.hs_ndef_type_handle = NFA_HANDLE_INVALID; in nfa_cho_init()
98 nfa_cho_cb.bt_ndef_type_handle = NFA_HANDLE_INVALID; in nfa_cho_init()
99 nfa_cho_cb.wifi_ndef_type_handle = NFA_HANDLE_INVALID; in nfa_cho_init()
101 nfa_cho_cb.trace_level = APPL_INITIAL_TRACE_LEVEL; in nfa_cho_init()
107 nfa_cho_cb.timer.p_cback = nfa_cho_timer_cback; in nfa_cho_init()
[all …]
Dnfa_cho_api.c63 if ( (nfa_cho_cb.state != NFA_CHO_ST_DISABLED) in NFA_ChoRegister()
64 ||(nfa_cho_cb.p_cback != NULL) ) in NFA_ChoRegister()
109 if (nfa_cho_cb.state == NFA_CHO_ST_DISABLED) in NFA_ChoDeregister()
154 if (nfa_cho_cb.state == NFA_CHO_ST_DISABLED) in NFA_ChoConnect()
159 else if (nfa_cho_cb.state == NFA_CHO_ST_CONNECTED) in NFA_ChoConnect()
196 if (nfa_cho_cb.state == NFA_CHO_ST_DISABLED) in NFA_ChoDisconnect()
248 if (nfa_cho_cb.state != NFA_CHO_ST_CONNECTED) in NFA_ChoSendHr()
329 if (nfa_cho_cb.state != NFA_CHO_ST_CONNECTED) in NFA_ChoSendHs()
402 if (nfa_cho_cb.state == NFA_CHO_ST_DISABLED) in NFA_ChoSendSelectError()
436 nfa_cho_cb.trace_level = new_level; in NFA_ChoSetTraceLevel()
[all …]
/external/libnfc-nci/src/nfa/int/
Dnfa_cho_int.h251 extern tNFA_CHO_CB nfa_cho_cb;
254 #define nfa_cho_cb (*nfa_cho_cb_ptr) macro
/external/libnfc-nci/halimpl/bcm2079x/include/
Dbt_trace.h1628 #define CHO_TRACE_ERROR0(m) {if (nfa_cho_cb.trace_level >= BT_TRACE_LEVEL_ERROR…
1629 #define CHO_TRACE_ERROR1(m,p1) {if (nfa_cho_cb.trace_level >= BT_TRACE_LEVEL_ERROR…
1630 #define CHO_TRACE_ERROR2(m,p1,p2) {if (nfa_cho_cb.trace_level >= BT_TRACE_LEVEL_ERROR…
1631 #define CHO_TRACE_ERROR3(m,p1,p2,p3) {if (nfa_cho_cb.trace_level >= BT_TRACE_LEVEL_ERROR…
1632 #define CHO_TRACE_ERROR4(m,p1,p2,p3,p4) {if (nfa_cho_cb.trace_level >= BT_TRACE_LEVEL_ERROR…
1633 #define CHO_TRACE_ERROR5(m,p1,p2,p3,p4,p5) {if (nfa_cho_cb.trace_level >= BT_TRACE_LEVEL_ERROR…
1634 #define CHO_TRACE_ERROR6(m,p1,p2,p3,p4,p5,p6) {if (nfa_cho_cb.trace_level >= BT_TRACE_LEVEL_ERROR…
1636 #define CHO_TRACE_WARNING0(m) {if (nfa_cho_cb.trace_level >= BT_TRACE_LEVEL_WARNI…
1637 #define CHO_TRACE_WARNING1(m,p1) {if (nfa_cho_cb.trace_level >= BT_TRACE_LEVEL_WARNI…
1638 #define CHO_TRACE_WARNING2(m,p1,p2) {if (nfa_cho_cb.trace_level >= BT_TRACE_LEVEL_WARNI…
[all …]
/external/libnfc-nci/src/include/
Dbt_trace.h1628 #define CHO_TRACE_ERROR0(m) {if (nfa_cho_cb.trace_level >= BT_TRACE_LEVEL_ERROR…
1629 #define CHO_TRACE_ERROR1(m,p1) {if (nfa_cho_cb.trace_level >= BT_TRACE_LEVEL_ERROR…
1630 #define CHO_TRACE_ERROR2(m,p1,p2) {if (nfa_cho_cb.trace_level >= BT_TRACE_LEVEL_ERROR…
1631 #define CHO_TRACE_ERROR3(m,p1,p2,p3) {if (nfa_cho_cb.trace_level >= BT_TRACE_LEVEL_ERROR…
1632 #define CHO_TRACE_ERROR4(m,p1,p2,p3,p4) {if (nfa_cho_cb.trace_level >= BT_TRACE_LEVEL_ERROR…
1633 #define CHO_TRACE_ERROR5(m,p1,p2,p3,p4,p5) {if (nfa_cho_cb.trace_level >= BT_TRACE_LEVEL_ERROR…
1634 #define CHO_TRACE_ERROR6(m,p1,p2,p3,p4,p5,p6) {if (nfa_cho_cb.trace_level >= BT_TRACE_LEVEL_ERROR…
1636 #define CHO_TRACE_WARNING0(m) {if (nfa_cho_cb.trace_level >= BT_TRACE_LEVEL_WARNI…
1637 #define CHO_TRACE_WARNING1(m,p1) {if (nfa_cho_cb.trace_level >= BT_TRACE_LEVEL_WARNI…
1638 #define CHO_TRACE_WARNING2(m,p1,p2) {if (nfa_cho_cb.trace_level >= BT_TRACE_LEVEL_WARNI…
[all …]