Searched refs:nfc_cb (Results 1 – 10 of 10) sorted by relevance
46 { nfc_cb.max_conn = 1; }58 tNFC_CB nfc_cb; variable168 if (nfc_cb.p_resp_cback) { in nfc_main_notify_enable_status()170 if (nfc_cb.flags & (NFC_FL_RESTARTING | NFC_FL_POWER_CYCLE_NFCC)) { in nfc_main_notify_enable_status()171 nfc_cb.flags &= ~(NFC_FL_RESTARTING | NFC_FL_POWER_CYCLE_NFCC); in nfc_main_notify_enable_status()173 nfc_cb.flags |= NFC_FL_POWER_OFF_SLEEP; in nfc_main_notify_enable_status()175 (*nfc_cb.p_resp_cback)(NFC_NFCC_RESTART_REVT, &evt_data); in nfc_main_notify_enable_status()177 (*nfc_cb.p_resp_cback)(NFC_ENABLE_REVT, &evt_data); in nfc_main_notify_enable_status()193 tNFC_CONN_CB* p_cb = &nfc_cb.conn_cb[NFC_RF_CONN_ID]; in nfc_enabled()209 evt_data.enable.nci_version = nfc_cb.nci_version; in nfc_enabled()[all …]
59 if (nfc_cb.timer_queue.p_first == NULL) { in nfc_start_timer()74 GKI_remove_from_timer_list(&nfc_cb.timer_queue, p_tle); in nfc_start_timer()79 GKI_add_to_timer_list(&nfc_cb.timer_queue, p_tle); in nfc_start_timer()92 return (GKI_get_remaining_ticks(&nfc_cb.timer_queue, p_tle)); in nfc_remaining_time()107 GKI_update_timer_list(&nfc_cb.timer_queue, 1); in nfc_process_timer_evt()109 while ((nfc_cb.timer_queue.p_first) && (!nfc_cb.timer_queue.p_first->ticks)) { in nfc_process_timer_evt()110 p_tle = nfc_cb.timer_queue.p_first; in nfc_process_timer_evt()111 GKI_remove_from_timer_list(&nfc_cb.timer_queue, p_tle); in nfc_process_timer_evt()132 if (nfc_cb.timer_queue.p_first == NULL) { in nfc_process_timer_evt()147 GKI_remove_from_timer_list(&nfc_cb.timer_queue, p_tle); in nfc_stop_timer()[all …]
48 if (nfc_cb.conn_cb[xx].conn_id == NFC_ILLEGAL_CONN_ID) { in nfc_alloc_conn_cb()49 nfc_cb.conn_cb[xx].conn_id = in nfc_alloc_conn_cb()51 p_conn_cb = &nfc_cb.conn_cb[xx]; in nfc_alloc_conn_cb()75 handle = (uint8_t)(p_cb - nfc_cb.conn_cb + 1); in nfc_set_conn_id()76 nfc_cb.conn_id[conn_id] = handle; in nfc_set_conn_id()95 if (nfc_cb.conn_cb[xx].id == id) { in nfc_find_conn_cb_by_handle()96 p_conn_cb = &nfc_cb.conn_cb[xx]; in nfc_find_conn_cb_by_handle()121 if (nfc_cb.conn_cb[xx].conn_id == NFC_PEND_CONN_ID) { in nfc_find_conn_cb_by_conn_id()122 p_conn_cb = &nfc_cb.conn_cb[xx]; in nfc_find_conn_cb_by_conn_id()129 handle = nfc_cb.conn_id[id]; in nfc_find_conn_cb_by_conn_id()[all …]
64 if (nfc_cb.nci_cmd_window == NCI_MAX_CMD_WINDOW) { in nfc_ncif_update_window()65 if (nfc_cb.nfc_state != NFC_STATE_W4_HAL_CLOSE) { in nfc_ncif_update_window()72 nfc_stop_timer(&nfc_cb.nci_wait_rsp_timer); in nfc_ncif_update_window()74 nfc_cb.p_vsc_cback = NULL; in nfc_ncif_update_window()75 nfc_cb.nci_cmd_window++; in nfc_ncif_update_window()98 if (nfc_cb.nfc_state == NFC_STATE_CORE_INIT) { in nfc_ncif_cmd_timeout()117 nfc_cb.flags &= ~NFC_FL_DEACTIVATING; in nfc_wait_2_deactivate_timeout()118 nci_snd_deactivate_cmd((uint8_t)nfc_cb.deactivate_timer.param); in nfc_wait_2_deactivate_timeout()145 if (nfc_cb.nfc_state != NFC_STATE_OPEN) { in nfc_ncif_send_data()146 if (nfc_cb.nfc_state == NFC_STATE_CLOSING) { in nfc_ncif_send_data()[all …]
55 if (nfc_cb.p_vs_cb[i] == NULL) { in NFC_RegVSCback()56 nfc_cb.p_vs_cb[i] = p_cback; in NFC_RegVSCback()64 if (nfc_cb.p_vs_cb[i] == p_cback) { in NFC_RegVSCback()65 nfc_cb.p_vs_cb[i] = NULL; in NFC_RegVSCback()
48 uint8_t* p_old = nfc_cb.last_cmd; in nci_proc_core_rsp()155 uint8_t* p_old = nfc_cb.last_cmd; in nci_proc_rf_management_rsp()243 nfc_cb.deact_reason = *(pp + 1); in nci_proc_rf_management_ntf()303 tNFC_RESPONSE_CBACK* p_cback = nfc_cb.p_resp_cback; in nci_proc_ee_management_rsp()309 uint8_t* p_old = nfc_cb.last_cmd; in nci_proc_ee_management_rsp()359 tNFC_RESPONSE_CBACK* p_cback = nfc_cb.p_resp_cback; in nci_proc_ee_management_ntf()435 tNFC_VS_CBACK* p_cback = (tNFC_VS_CBACK*)nfc_cb.p_vsc_cback; in nci_proc_prop_rsp()460 tNFC_VS_CBACK* p_cback = (tNFC_VS_CBACK*)nfc_cb.p_vsc_cback; in nci_proc_prop_raw_vs_rsp()471 nfc_cb.p_vsc_cback = NULL; in nci_proc_prop_raw_vs_rsp()473 nfc_cb.rawVsCbflag = false; in nci_proc_prop_raw_vs_rsp()[all …]
89 if (nfc_cb.nci_version == NCI_VERSION_2_0) { in nci_snd_core_init()437 nfc_cb.reassembly = true; in nci_snd_deactivate_cmd()
325 if (nfc_cb.trace_level >= BT_TRACE_LEVEL_ERROR) \330 if (nfc_cb.trace_level >= BT_TRACE_LEVEL_ERROR) \335 if (nfc_cb.trace_level >= BT_TRACE_LEVEL_ERROR) \340 if (nfc_cb.trace_level >= BT_TRACE_LEVEL_ERROR) \345 if (nfc_cb.trace_level >= BT_TRACE_LEVEL_ERROR) \350 if (nfc_cb.trace_level >= BT_TRACE_LEVEL_ERROR) \355 if (nfc_cb.trace_level >= BT_TRACE_LEVEL_ERROR) \362 if (nfc_cb.trace_level >= BT_TRACE_LEVEL_WARNING) \367 if (nfc_cb.trace_level >= BT_TRACE_LEVEL_WARNING) \372 if (nfc_cb.trace_level >= BT_TRACE_LEVEL_WARNING) \[all …]
657 nfc_cb.p_hal->write(p->len, (uint8_t*)(p + 1) + p->offset); \
120 if (max > nfc_cb.max_conn) max = nfc_cb.max_conn; \239 extern tNFC_CB nfc_cb;