Home
last modified time | relevance | path

Searched refs:nfa_dm_cb (Results 1 – 6 of 6) sorted by relevance

/external/libnfc-nci/src/nfa/dm/
Dnfa_dm_act.c76 nfa_dm_cb.flags &= ~NFA_DM_FLAGS_ENABLE_EVT_PEND; in nfa_dm_module_init_cback()
80 (*nfa_dm_cb.p_dm_cback) (NFA_DM_ENABLE_EVT, &dm_cback_data); in nfa_dm_module_init_cback()
98 nfa_dm_cb.nfcc_pwr_mode); in nfa_dm_nfcc_power_mode_proc_complete_cback()
101 if (nfa_dm_cb.nfcc_pwr_mode != NFA_DM_PWR_MODE_OFF_SLEEP) in nfa_dm_nfcc_power_mode_proc_complete_cback()
103 nfa_dm_cb.flags &= ~NFA_DM_FLAGS_NFCC_IS_RESTORING; in nfa_dm_nfcc_power_mode_proc_complete_cback()
109 nfa_dm_cb.flags &= ~NFA_DM_FLAGS_SETTING_PWR_MODE; in nfa_dm_nfcc_power_mode_proc_complete_cback()
112 power_mode_change.power_mode = nfa_dm_cb.nfcc_pwr_mode; in nfa_dm_nfcc_power_mode_proc_complete_cback()
113 (*nfa_dm_cb.p_dm_cback) (NFA_DM_PWR_MODE_CHANGE_EVT, (tNFA_DM_CBACK_DATA*) &power_mode_change); in nfa_dm_nfcc_power_mode_proc_complete_cback()
147 nfa_dm_cb.params.lf_t3t_id[xx][0] = 0xFF; in nfa_dm_set_init_nci_params()
148 nfa_dm_cb.params.lf_t3t_id[xx][1] = 0xFF; in nfa_dm_set_init_nci_params()
[all …]
Dnfa_dm_discover.c77 if (nfa_dm_cb.flags & NFA_DM_FLAGS_LISTEN_DISABLED) in nfa_dm_get_rf_discover_config()
320 if (nfa_dm_cb.disc_cb.listen_RT[NFA_DM_DISC_LRT_NFC_A] == NFA_DM_DISC_HOST_ID_DH) in nfa_dm_set_rf_listen_mode_config()
347 if (nfa_dm_cb.disc_cb.listen_RT[NFA_DM_DISC_LRT_NFC_B] == NFA_DM_DISC_HOST_ID_DH) in nfa_dm_set_rf_listen_mode_config()
416 UINT16_TO_STREAM (p, nfa_dm_cb.disc_cb.disc_duration); in nfa_dm_set_total_duration()
436 tNFA_LISTEN_CFG *p_cfg = &nfa_dm_cb.disc_cb.excl_listen_config; in nfa_dm_set_rf_listen_mode_raw_config()
444 if ( (nfa_dm_cb.disc_cb.listen_RT[NFA_DM_DISC_LRT_NFC_A] == NFA_DM_DISC_HOST_ID_DH) in nfa_dm_set_rf_listen_mode_raw_config()
495 if ( (nfa_dm_cb.disc_cb.listen_RT[NFA_DM_DISC_LRT_NFC_B] == NFA_DM_DISC_HOST_ID_DH) in nfa_dm_set_rf_listen_mode_raw_config()
531 if ( (nfa_dm_cb.disc_cb.listen_RT[NFA_DM_DISC_LRT_NFC_F] == NFA_DM_DISC_HOST_ID_DH) in nfa_dm_set_rf_listen_mode_raw_config()
774 nfa_dm_cb.flags &= ~NFA_DM_FLAGS_RAW_FRAME; in nfa_dm_disc_discovery_cback()
802 if (nfa_dm_cb.disc_cb.disc_flags & NFA_DM_DISC_FLAGS_NOTIFY) in nfa_dm_disc_notify_started()
[all …]
Dnfa_dm_main.c45 tNFA_DM_CB nfa_dm_cb = {FALSE}; variable
103 memset (&nfa_dm_cb, 0, sizeof (tNFA_DM_CB)); in nfa_dm_init()
104 nfa_dm_cb.poll_disc_handle = NFA_HANDLE_INVALID; in nfa_dm_init()
105 nfa_dm_cb.disc_cb.disc_duration = NFA_DM_DISC_DURATION_POLL; in nfa_dm_init()
106 nfa_dm_cb.nfcc_pwr_mode = NFA_DM_PWR_MODE_FULL; in nfa_dm_init()
158 if ( (nfa_dm_cb.disc_cb.disc_state == NFA_DM_RFST_IDLE) in nfa_dm_sys_disable()
159 &&((nfa_dm_cb.disc_cb.disc_flags & NFA_DM_DISC_FLAGS_DISABLING) == 0) ) in nfa_dm_sys_disable()
167 …CE_WARNING2 ("DM disc_state state = %d disc_flags:0x%x", nfa_dm_cb.disc_cb.disc_state, nfa_dm_cb.d… in nfa_dm_sys_disable()
207 NFA_TRACE_DEBUG1 ("nfa_dm_is_active () flags:0x%x", nfa_dm_cb.flags); in nfa_dm_is_active()
208 if ( (nfa_dm_cb.flags & NFA_DM_FLAGS_DM_IS_ACTIVE) in nfa_dm_is_active()
[all …]
Dnfa_dm_ndef.c87 tNFA_DM_CB *p_cb = &nfa_dm_cb; in nfa_dm_ndef_dereg_hdlr_by_handle()
110 tNFA_DM_CB *p_cb = &nfa_dm_cb; in nfa_dm_ndef_dereg_all()
136 tNFA_DM_CB *p_cb = &nfa_dm_cb; in nfa_dm_ndef_reg_hdlr()
243 tNFA_DM_CB *p_cb = &nfa_dm_cb; in nfa_dm_ndef_find_next_handler()
342 tNFA_DM_CB *p_cb = &nfa_dm_cb; in nfa_dm_ndef_clear_notified_flag()
367 tNFA_DM_CB *p_cb = &nfa_dm_cb; in nfa_dm_ndef_handle_message()
Dnfa_dm_api.c67 nfa_dm_cb.get_max_ee = p_hal_entry_tbl->get_max_ee; in NFA_Init()
332 if (!nfa_dm_cb.p_excl_conn_cback) in NFA_ReleaseExclusiveRfControl()
1074 if (nfa_dm_cb.flags & NFA_DM_FLAGS_SETTING_PWR_MODE) in NFA_PowerOffSleepMode()
1081 nfa_dm_cb.flags |= NFA_DM_FLAGS_SETTING_PWR_MODE; in NFA_PowerOffSleepMode()
/external/libnfc-nci/src/nfa/int/
Dnfa_dm_int.h545 extern tNFA_DM_CB nfa_dm_cb;
548 #define nfa_dm_cb (*nfa_dm_cb_ptr) macro