Home
last modified time | relevance | path

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

/system/nfc/src/nfa/dm/
Dnfa_dm_act.cc76 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()
97 << StringPrintf("nfcc_pwr_mode = 0x%x", nfa_dm_cb.nfcc_pwr_mode); in nfa_dm_nfcc_power_mode_proc_complete_cback()
100 if (nfa_dm_cb.nfcc_pwr_mode != NFA_DM_PWR_MODE_OFF_SLEEP) { in nfa_dm_nfcc_power_mode_proc_complete_cback()
101 nfa_dm_cb.flags &= ~NFA_DM_FLAGS_NFCC_IS_RESTORING; in nfa_dm_nfcc_power_mode_proc_complete_cback()
107 nfa_dm_cb.flags &= ~NFA_DM_FLAGS_SETTING_PWR_MODE; in nfa_dm_nfcc_power_mode_proc_complete_cback()
110 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, &nfa_dm_cback_data); in nfa_dm_nfcc_power_mode_proc_complete_cback()
148 nfa_dm_cb.params.lf_t3t_id[xx][0] = 0xFF; in nfa_dm_set_init_nci_params()
149 nfa_dm_cb.params.lf_t3t_id[xx][1] = 0xFF; in nfa_dm_set_init_nci_params()
[all …]
Dnfa_dm_main.cc43 tNFA_DM_CB nfa_dm_cb = {}; variable
98 memset(&nfa_dm_cb, 0, sizeof(tNFA_DM_CB)); in nfa_dm_init()
99 nfa_dm_cb.poll_disc_handle = NFA_HANDLE_INVALID; in nfa_dm_init()
100 nfa_dm_cb.disc_cb.disc_duration = NFA_DM_DISC_DURATION_POLL; in nfa_dm_init()
101 nfa_dm_cb.nfcc_pwr_mode = NFA_DM_PWR_MODE_FULL; in nfa_dm_init()
102 nfa_dm_cb.pending_power_state = SCREEN_STATE_INVALID; in nfa_dm_init()
148 if ((nfa_dm_cb.disc_cb.disc_state == NFA_DM_RFST_IDLE) && in nfa_dm_sys_disable()
149 ((nfa_dm_cb.disc_cb.disc_flags & NFA_DM_DISC_FLAGS_DISABLING) == 0)) { in nfa_dm_sys_disable()
155 nfa_dm_cb.disc_cb.disc_state, in nfa_dm_sys_disable()
156 nfa_dm_cb.disc_cb.disc_flags); in nfa_dm_sys_disable()
[all …]
Dnfa_dm_discover.cc95 if (nfa_dm_cb.flags & NFA_DM_FLAGS_LISTEN_DISABLED) { in nfa_dm_get_rf_discover_config()
377 UINT16_TO_STREAM(p, nfa_dm_cb.disc_cb.disc_duration); in nfa_dm_set_total_duration()
396 tNFA_LISTEN_CFG* p_cfg = &nfa_dm_cb.disc_cb.excl_listen_config; in nfa_dm_set_rf_listen_mode_raw_config()
404 if ((nfa_dm_cb.disc_cb.listen_RT[NFA_DM_DISC_LRT_NFC_A] == in nfa_dm_set_rf_listen_mode_raw_config()
449 if ((nfa_dm_cb.disc_cb.listen_RT[NFA_DM_DISC_LRT_NFC_B] == in nfa_dm_set_rf_listen_mode_raw_config()
484 if ((nfa_dm_cb.disc_cb.listen_RT[NFA_DM_DISC_LRT_NFC_F] == in nfa_dm_set_rf_listen_mode_raw_config()
715 nfa_dm_cb.flags &= ~NFA_DM_FLAGS_RAW_FRAME; in nfa_dm_disc_discovery_cback()
743 if (nfa_dm_cb.disc_cb.disc_flags & NFA_DM_DISC_FLAGS_NOTIFY) { in nfa_dm_disc_notify_started()
744 nfa_dm_cb.disc_cb.disc_flags &= ~NFA_DM_DISC_FLAGS_NOTIFY; in nfa_dm_disc_notify_started()
748 if (nfa_dm_cb.disc_cb.excl_disc_entry.in_use) in nfa_dm_disc_notify_started()
[all …]
Dnfa_dm_ndef.cc91 tNFA_DM_CB* p_cb = &nfa_dm_cb; in nfa_dm_ndef_dereg_hdlr_by_handle()
112 tNFA_DM_CB* p_cb = &nfa_dm_cb; in nfa_dm_ndef_dereg_all()
134 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()
350 tNFA_DM_CB* p_cb = &nfa_dm_cb; in nfa_dm_ndef_clear_notified_flag()
371 tNFA_DM_CB* p_cb = &nfa_dm_cb; in nfa_dm_ndef_handle_message()
Dnfa_dm_api.cc69 nfa_dm_cb.get_max_ee = p_hal_entry_tbl->get_max_ee; in NFA_Init()
388 if (!nfa_dm_cb.p_excl_conn_cback) { in NFA_ReleaseExclusiveRfControl()
1151 if (nfa_dm_cb.flags & NFA_DM_FLAGS_SETTING_PWR_MODE) { in NFA_PowerOffSleepMode()
1155 nfa_dm_cb.flags |= NFA_DM_FLAGS_SETTING_PWR_MODE; in NFA_PowerOffSleepMode()
1306 nfa_dm_cb.eDtaMode = eDtaMode; in NFA_EnableDtamode()
/system/nfc/src/nfa/p2p/
Dnfa_p2p_main.cc246 ((nfa_dm_cb.eDtaMode & 0x0F) == NFA_DTA_DEFAULT_MODE)) { in nfa_p2p_update_active_listen()
360 ((nfa_dm_cb.eDtaMode & 0x0F) == NFA_DTA_LLCP_MODE)) { in nfa_p2p_llcp_link_cback()
628 ((nfa_dm_cb.eDtaMode & 0x0F) == NFA_DTA_DEFAULT_MODE)) { in nfa_p2p_enable_listening()
/system/nfc/src/nfc/llcp/
Dllcp_sdp.cc430 ((nfa_dm_cb.eDtaMode & 0x0F) == NFA_DTA_LLCP_MODE)) { in llcp_sdp_proc_snl()
Dllcp_link.cc446 (nfa_dm_cb.eDtaMode & 0xF0) != NFA_DTA_CR8)) { in llcp_link_deactivate()
/system/nfc/src/nfa/include/
Dnfa_dm_int.h591 extern tNFA_DM_CB nfa_dm_cb;
/system/nfc/src/nfa/rw/
Dnfa_rw_act.cc2529 if (nfa_dm_cb.p_activate_ntf != nullptr) { in nfa_rw_activate_ntf()
2530 GKI_freebuf(nfa_dm_cb.p_activate_ntf); in nfa_rw_activate_ntf()
2531 nfa_dm_cb.p_activate_ntf = nullptr; in nfa_rw_activate_ntf()
/system/nfc/src/nfa/ce/
Dnfa_ce_act.cc385 nfa_dm_cb.eDtaMode |= NFA_DTA_HCEF_MODE; in nfc_ce_t3t_set_listen_params()