/external/libnfc-nci/src/nfa/p2p/ |
D | nfa_p2p_act.c | 205 nfa_p2p_cb.sap_cb[local_sap].p_cback (NFA_P2P_SDP_EVT, &evt_data); in nfa_p2p_sdp_cback() 270 if (nfa_p2p_cb.sap_cb[local_sap].p_cback) in nfa_p2p_proc_llcp_data_ind() 293 nfa_p2p_cb.sap_cb[local_sap].p_cback (NFA_P2P_DATA_EVT, &evt_data); in nfa_p2p_proc_llcp_data_ind() 319 if (nfa_p2p_cb.sap_cb[server_sap].p_cback) in nfa_p2p_proc_llcp_connect_ind() 338 nfa_p2p_cb.sap_cb[server_sap].p_cback (NFA_P2P_CONN_REQ_EVT, &evt_data); in nfa_p2p_proc_llcp_connect_ind() 366 if (nfa_p2p_cb.sap_cb[local_sap].p_cback) in nfa_p2p_proc_llcp_connect_resp() 385 nfa_p2p_cb.sap_cb[local_sap].p_cback (NFA_P2P_CONNECTED_EVT, &evt_data); in nfa_p2p_proc_llcp_connect_resp() 409 if (nfa_p2p_cb.sap_cb[local_sap].p_cback) in nfa_p2p_proc_llcp_disconnect_ind() 421 nfa_p2p_cb.sap_cb[local_sap].p_cback (NFA_P2P_DISC_EVT, &evt_data); in nfa_p2p_proc_llcp_disconnect_ind() 433 nfa_p2p_cb.sap_cb[local_sap].p_cback (NFA_P2P_DISC_EVT, &evt_data); in nfa_p2p_proc_llcp_disconnect_ind() [all …]
|
D | nfa_p2p_api.c | 63 tNFA_P2P_CBACK *p_cback) in NFA_P2pRegisterServer() argument 94 p_msg->p_cback = p_cback; in NFA_P2pRegisterServer() 119 tNFA_P2P_CBACK *p_cback) in NFA_P2pRegisterClient() argument 136 p_msg->p_cback = p_cback; in NFA_P2pRegisterClient() 173 ||(nfa_p2p_cb.sap_cb[xx].p_cback == NULL) ) in NFA_P2pDeregister() 393 ||(nfa_p2p_cb.sap_cb[xx].p_cback == NULL) ) in NFA_P2pConnectByName() 454 ||(nfa_p2p_cb.sap_cb[xx].p_cback == NULL) ) in NFA_P2pConnectBySap() 516 ||(nfa_p2p_cb.sap_cb[xx].p_cback == NULL)) in NFA_P2pSendUI() 612 ||(nfa_p2p_cb.sap_cb[xx].p_cback == NULL) ) in NFA_P2pReadUI() 656 ||(nfa_p2p_cb.sap_cb[xx].p_cback == NULL) ) in NFA_P2pFlushUI() [all …]
|
/external/libnfc-nci/src/nfc/tags/ |
D | ce_main.c | 66 if (ce_cb.p_cback) in CE_SendRawFrame() 93 …ctivatedTagType (tNFC_ACTIVATE_DEVT *p_activate_params, UINT16 t3t_system_code, tCE_CBACK *p_cback) in CE_SetActivatedTagType() argument 108 ce_cb.p_cback = p_cback; in CE_SetActivatedTagType() 114 ce_cb.p_cback = p_cback; in CE_SetActivatedTagType() 126 ce_cb.p_cback = NULL; in CE_SetActivatedTagType()
|
D | rw_main.c | 180 if (rw_cb.p_cback) in RW_SendRawFrame() 208 tNFC_STATUS RW_SetActivatedTagType (tNFC_ACTIVATE_DEVT *p_activate_params, tRW_CBACK *p_cback) in RW_SetActivatedTagType() argument 215 if (p_cback == NULL) in RW_SetActivatedTagType() 229 rw_cb.p_cback = p_cback; in RW_SetActivatedTagType() 283 rw_cb.p_cback = NULL; in RW_SetActivatedTagType()
|
D | ce_t4t.c | 300 if (ce_cb.p_cback) in ce_t4t_update_binary() 306 (*ce_cb.p_cback) (CE_T4T_NDEF_UPDATE_CPLT_EVT, &ce_data); in ce_t4t_update_binary() 320 if (ce_cb.p_cback) in ce_t4t_update_binary() 321 (*ce_cb.p_cback) (CE_T4T_NDEF_UPDATE_START_EVT, NULL); in ce_t4t_update_binary() 486 …(*(ce_cb.mem.t4t.reg_aid[ce_cb.mem.t4t.selected_aid_idx].p_cback)) (CE_T4T_RAW_FRAME_EVT, &ce_data… in ce_t4t_process_select_app_cmd() 577 if (ce_cb.p_cback) in ce_t4t_process_timeout() 578 (*ce_cb.p_cback) (CE_T4T_NDEF_UPDATE_ABORT_EVT, &ce_data); in ce_t4t_process_timeout() 667 …(*(ce_cb.mem.t4t.reg_aid[ce_cb.mem.t4t.selected_aid_idx].p_cback)) (CE_T4T_RAW_FRAME_EVT, &ce_data… in ce_t4t_data_cback() 946 tCE_T4T_AID_HANDLE CE_T4tRegisterAID (UINT8 aid_len, UINT8 *p_aid, tCE_CBACK *p_cback) in CE_T4tRegisterAID() argument 964 p_t4t->p_wildcard_aid_cback = p_cback; in CE_T4tRegisterAID() [all …]
|
D | rw_t4t.c | 1067 if (rw_cb.p_cback) in rw_t4t_handle_error() 1112 (*(rw_cb.p_cback)) (event, &rw_data); in rw_t4t_handle_error() 1337 if (rw_cb.p_cback) in rw_t4t_sm_ndef_format() 1344 (*(rw_cb.p_cback)) (RW_T4T_NDEF_FORMAT_CPLT_EVT, &rw_data); in rw_t4t_sm_ndef_format() 1559 if (rw_cb.p_cback) in rw_t4t_sm_detect_ndef() 1571 (*(rw_cb.p_cback)) (RW_T4T_NDEF_DETECT_EVT, &rw_data); in rw_t4t_sm_detect_ndef() 1651 if (rw_cb.p_cback) in rw_t4t_sm_read_ndef() 1659 (*(rw_cb.p_cback)) (RW_T4T_NDEF_READ_EVT, &rw_data); in rw_t4t_sm_read_ndef() 1670 (*(rw_cb.p_cback)) (RW_T4T_NDEF_READ_CPLT_EVT, &rw_data); in rw_t4t_sm_read_ndef() 1757 if (rw_cb.p_cback) in rw_t4t_sm_update_ndef() [all …]
|
D | rw_t2t.c | 86 (*rw_cb.p_cback) (RW_T2T_RAW_FRAME_EVT, (tRW_DATA *)&evt_data); in rw_t2t_proc_data() 224 (*rw_cb.p_cback) (rw_event, (tRW_DATA *) &ndef_data); in rw_t2t_proc_data() 230 (*rw_cb.p_cback) (rw_event, (tRW_DATA *) &evt_data); in rw_t2t_proc_data() 325 (*rw_cb.p_cback) (RW_T2T_INTF_ERROR_EVT, (tRW_DATA *) &evt_data); in rw_t2t_conn_cback() 466 (*rw_cb.p_cback) (RW_T2T_SELECT_CPLT_EVT, (tRW_DATA *) &evt_data); in rw_t2t_process_timeout() 592 (*rw_cb.p_cback) (rw_event, (tRW_DATA *) &ndef_data); in rw_t2t_process_error() 602 (*rw_cb.p_cback) (rw_event, (tRW_DATA *) &evt_data); in rw_t2t_process_error() 623 (*rw_cb.p_cback) (RW_T2T_PRESENCE_CHECK_EVT, (tRW_DATA *) &evt_data); in rw_t2t_handle_presence_check_rsp() 675 (*rw_cb.p_cback) (event, (tRW_DATA *) &evt_data); in rw_t2t_resume_op() 939 if (!p_rw_cb->p_cback) in RW_T2tPresenceCheck() [all …]
|
D | rw_t3t.c | 295 (*(rw_cb.p_cback)) (evt, &evt_data); in rw_t3t_process_error() 301 (*(rw_cb.p_cback)) (RW_T3T_INTF_ERROR_EVT, &evt_data); in rw_t3t_process_error() 342 (*(rw_cb.p_cback)) (RW_T3T_PRESENCE_CHECK_EVT, (tRW_DATA *) &evt_data); in rw_t3t_handle_nci_poll_ntf() 380 (*(rw_cb.p_cback)) (RW_T3T_POLL_EVT, &evt_data); in rw_t3t_handle_nci_poll_ntf() 411 (*(rw_cb.p_cback)) (RW_T3T_GET_SYSTEM_CODES_EVT, &evt_data); in rw_t3t_handle_get_system_codes_cplt() 447 (*(rw_cb.p_cback)) (RW_T3T_FORMAT_CPLT_EVT, &evt_data); in rw_t3t_format_cplt() 468 (*(rw_cb.p_cback)) (RW_T3T_SET_READ_ONLY_CPLT_EVT, &evt_data); in rw_t3t_set_readonly_cplt() 508 (*(rw_cb.p_cback)) (RW_T3T_PRESENCE_CHECK_EVT, (tRW_DATA *) &evt_data); in rw_t3t_process_timeout() 541 (*(rw_cb.p_cback)) (RW_T3T_POLL_EVT, (tRW_DATA *) &evt_data); in rw_t3t_process_timeout() 1368 (*(rw_cb.p_cback)) (RW_T3T_NDEF_DETECT_EVT, (tRW_DATA *) &evt_data); in rw_t3t_act_handle_ndef_detect_rsp() [all …]
|
D | rw_t1t.c | 105 (*rw_cb.p_cback) (RW_T1T_RAW_FRAME_EVT, (tRW_DATA *) &evt_data); in rw_t1t_data_cback() 193 (*rw_cb.p_cback) (rw_event, (tRW_DATA *) &evt_data); in rw_t1t_data_cback() 281 (*rw_cb.p_cback) (RW_T1T_INTF_ERROR_EVT, (tRW_DATA *) &evt_data); in rw_t1t_conn_cback() 645 (*rw_cb.p_cback) (rw_event, (tRW_DATA *) &ndef_data); in rw_t1t_process_error() 650 (*rw_cb.p_cback) (rw_event, (tRW_DATA *) &evt_data); in rw_t1t_process_error() 671 (*(rw_cb.p_cback)) (RW_T1T_PRESENCE_CHECK_EVT, (tRW_DATA *) &evt_data); in rw_t1t_handle_presence_check_rsp() 724 if (!p_rw_cb->p_cback) in RW_T1tPresenceCheck() 732 (*p_rw_cb->p_cback) (RW_T1T_PRESENCE_CHECK_EVT, &evt_data); in RW_T1tPresenceCheck() 738 (*p_rw_cb->p_cback) (RW_T1T_PRESENCE_CHECK_EVT, &evt_data); in RW_T1tPresenceCheck()
|
/external/libnfc-nci/src/nfc/nfc/ |
D | nfc_vs.c | 53 tNFC_VS_CBACK *p_cback) in NFC_RegVSCback() argument 65 nfc_cb.p_vs_cb[i] = p_cback; in NFC_RegVSCback() 76 if (nfc_cb.p_vs_cb[i] == p_cback) in NFC_RegVSCback() 104 tNFC_VS_CBACK *p_cback) in NFC_SendVsCommand() argument 132 ((tNFC_NCI_VS_MSG *) p_data)->p_cback = p_cback; in NFC_SendVsCommand()
|
D | nfc_utils.c | 45 tNFC_CONN_CB * nfc_alloc_conn_cb (tNFC_CONN_CBACK *p_cback) in nfc_alloc_conn_cb() argument 57 p_conn_cb->p_cback = p_cback; in nfc_alloc_conn_cb() 179 p_cb->p_cback = NULL; in nfc_free_conn_cb() 206 if (p_conn_cb->p_cback) in nfc_reset_all_conn_cbs() 207 … (*p_conn_cb->p_cback) (p_conn_cb->conn_id, NFC_DEACTIVATE_CEVT, (tNFC_CONN *) &deact); in nfc_reset_all_conn_cbs()
|
D | nfc_ncif.c | 287 nfc_cb.p_vsc_cback = (void *)((tNFC_NCI_VS_MSG *)p_buf)->p_cback; in nfc_ncif_check_cmd_queue() 537 if (p_cb && p_cb->p_cback) in nfc_ncif_error_status() 539 (*p_cb->p_cback) (conn_id, NFC_ERROR_CEVT, (tNFC_CONN *) &status); in nfc_ncif_error_status() 1006 if (p_cb->p_cback) in nfc_ncif_proc_deactivate() 1007 (*p_cb->p_cback) (NFC_RF_CONN_ID, NFC_DEACTIVATE_CEVT, (tNFC_CONN *) p_deact); in nfc_ncif_proc_deactivate() 1027 tNFC_RESPONSE_CBACK *p_cback = nfc_cb.p_resp_cback; in nfc_ncif_proc_ee_action() local 1031 if (p_cback) in nfc_ncif_proc_ee_action() 1090 (*p_cback) (NFC_EE_ACTION_REVT, (tNFC_RESPONSE *) &evt_data); in nfc_ncif_proc_ee_action() 1105 tNFC_RESPONSE_CBACK *p_cback = nfc_cb.p_resp_cback; in nfc_ncif_proc_ee_discover_req() local 1111 if (p_cback) in nfc_ncif_proc_ee_discover_req() [all …]
|
D | nfc_main.c | 670 tNFC_STATUS NFC_Enable (tNFC_RESPONSE_CBACK *p_cback) in NFC_Enable() argument 675 if (!p_cback) in NFC_Enable() 679 nfc_cb.p_resp_cback = p_cback; in NFC_Enable() 837 tNFC_DISCOVER_CBACK *p_cback) in NFC_DiscoveryMap() argument 844 nfc_cb.p_discv_cback = p_cback; in NFC_DiscoveryMap() 903 tNFC_DISCOVER_CBACK *p_cback) in NFC_DiscoveryStart() argument 917 nfc_cb.p_discv_cback = p_cback; in NFC_DiscoveryStart() 977 tNFC_CONN_CBACK *p_cback) in NFC_ConnCreate() argument 984 p_cb = nfc_alloc_conn_cb (p_cback); in NFC_ConnCreate() 1012 p_cb->p_cback = p_cback; in NFC_ConnCreate() [all …]
|
/external/libnfc-nci/src/nfa/ee/ |
D | nfa_ee_api.c | 49 tNFA_STATUS NFA_EeDiscover(tNFA_EE_CBACK *p_cback) in NFA_EeDiscover() argument 61 else if ((nfa_ee_cb.p_ee_disc_cback != NULL) || (p_cback == NULL)) in NFA_EeDiscover() 69 p_msg->p_cback = p_cback; in NFA_EeDiscover() 149 tNFA_STATUS NFA_EeRegister(tNFA_EE_CBACK *p_cback) in NFA_EeRegister() argument 156 if (p_cback == NULL) in NFA_EeRegister() 164 p_msg->p_cback = p_cback; in NFA_EeRegister() 185 tNFA_STATUS NFA_EeDeregister(tNFA_EE_CBACK *p_cback) in NFA_EeDeregister() argument 194 if (nfa_ee_cb.p_ee_cback[xx] == p_cback) in NFA_EeDeregister() 576 tNFA_EE_CBACK *p_cback) in NFA_EeConnect() argument 586 if ((p_cb == NULL) || (p_cback == NULL)) in NFA_EeConnect() [all …]
|
D | nfa_ee_act.c | 350 void nfa_ee_report_event(tNFA_EE_CBACK *p_cback, tNFA_EE_EVT event, tNFA_EE_CBACK_DATA *p_data) in nfa_ee_report_event() argument 355 if (p_cback) in nfa_ee_report_event() 357 (*p_cback)(event, p_data); in nfa_ee_report_event() 395 tNFA_EE_CBACK *p_cback = p_data->ee_discover.p_cback; in nfa_ee_api_discover() local 406 nfa_ee_cb.p_ee_disc_cback = p_cback; in nfa_ee_api_discover() 411 nfa_ee_report_event (p_cback, NFA_EE_DISCOVER_EVT, &evt_data); in nfa_ee_api_discover() 427 tNFA_EE_CBACK *p_cback = p_data->ee_register.p_cback; in nfa_ee_api_register() local 435 if (nfa_ee_cb.p_ee_cback[xx] == p_cback) in nfa_ee_api_register() 450 nfa_ee_cb.p_ee_cback[xx] = p_cback; in nfa_ee_api_register() 457 (*p_cback)(NFA_EE_REGISTER_EVT, &evt_data); in nfa_ee_api_register() [all …]
|
/external/libnfc-nci/src/nfc/nci/ |
D | nci_hrcv.c | 308 tNFC_RESPONSE_CBACK *p_cback = nfc_cb.p_resp_cback; in nci_proc_ee_management_rsp() local 346 p_cback = NULL; in nci_proc_ee_management_rsp() 351 if (p_cback) in nci_proc_ee_management_rsp() 352 (*p_cback) (event, p_evt); in nci_proc_ee_management_rsp() 368 tNFC_RESPONSE_CBACK *p_cback = nfc_cb.p_resp_cback; in nci_proc_ee_management_ntf() local 426 p_cback = NULL; in nci_proc_ee_management_ntf() 430 if (p_cback) in nci_proc_ee_management_ntf() 431 (*p_cback) (event, p_evt); in nci_proc_ee_management_ntf() 451 tNFC_VS_CBACK *p_cback = (tNFC_VS_CBACK *)nfc_cb.p_vsc_cback; in nci_proc_prop_rsp() local 460 if (p_cback) in nci_proc_prop_rsp() [all …]
|
/external/libnfc-nci/src/nfa/sys/ |
D | nfa_sys_cback.c | 40 void nfa_sys_cback_reg_enable_complete (tNFA_SYS_ENABLE_CBACK *p_cback) in nfa_sys_cback_reg_enable_complete() argument 42 nfa_sys_cb.p_enable_cback = p_cback; in nfa_sys_cback_reg_enable_complete() 81 void nfa_sys_cback_reg_nfcc_power_mode_proc_complete (tNFA_SYS_PROC_NFCC_PWR_MODE_CMPL *p_cback) in nfa_sys_cback_reg_nfcc_power_mode_proc_complete() argument 83 nfa_sys_cb.p_proc_nfcc_pwr_mode_cmpl_cback = p_cback; in nfa_sys_cback_reg_nfcc_power_mode_proc_complete()
|
/external/libnfc-nci/halimpl/bcm2079x/hal/hal/ |
D | nfc_hal_dm.c | 104 tNFC_HAL_NCI_CBACK *p_cback) in nfc_hal_dm_set_config() argument 157 nfc_hal_dm_send_nci_cmd (p_buff, cmd_len, p_cback); in nfc_hal_dm_set_config() 179 void nfc_hal_dm_set_fw_fsm (BOOLEAN enable, tNFC_HAL_NCI_CBACK *p_cback) in nfc_hal_dm_set_fw_fsm() argument 186 nfc_hal_dm_send_nci_cmd (nfc_hal_dm_set_fw_fsm_cmd, NCI_MSG_HDR_SIZE + 1, p_cback); in nfc_hal_dm_set_fw_fsm() 579 tNFC_HAL_NCI_CBACK *p_cback = NULL; in nfc_hal_dm_proc_msg_during_init() local 604 p_cback = (tNFC_HAL_NCI_CBACK *)nfc_hal_cb.ncit_cb.p_vsc_cback; in nfc_hal_dm_proc_msg_during_init() 639 else if (p_cback) in nfc_hal_dm_proc_msg_during_init() 641 (*p_cback) ((tNFC_HAL_NCI_EVT) (op_code), in nfc_hal_dm_proc_msg_during_init() 754 else if (p_cback) in nfc_hal_dm_proc_msg_during_init() 756 (*p_cback) ((tNFC_HAL_NCI_EVT) (op_code), in nfc_hal_dm_proc_msg_during_init() [all …]
|
D | nfc_hal_prm.c | 90 if (nfc_hal_cb.prm.p_cback) in nfc_hal_prm_spd_handle_download_complete() 91 (nfc_hal_cb.prm.p_cback) (event); in nfc_hal_prm_spd_handle_download_complete() 212 (nfc_hal_cb.prm.p_cback) (NFC_HAL_PRM_SPD_GET_NEXT_PATCH); in nfc_hal_prm_spd_handle_next_patch_start() 346 (nfc_hal_cb.prm.p_cback) (NFC_HAL_PRM_SPD_GET_NEXT_PATCH); in nfc_hal_prm_spd_check_version_continue() 713 (nfc_hal_cb.prm.p_cback) (NFC_HAL_PRM_CONTINUE_EVT); in nfc_hal_prm_nci_command_complete_cback() 858 (nfc_hal_cb.prm.p_cback) (NFC_HAL_PRM_SPD_GET_NEXT_PATCH); in nfc_hal_prm_nfcc_ready_to_continue() 1014 tNFC_HAL_PRM_CBACK *p_cback) in HAL_NfcPrmDownloadStart() argument 1031 nfc_hal_cb.prm.p_cback = p_cback; in HAL_NfcPrmDownloadStart() 1036 nfc_hal_cb.prm.timer.p_cback = nfc_hal_prm_process_timeout; in HAL_NfcPrmDownloadStart() 1063 (nfc_hal_cb.prm.p_cback) (NFC_HAL_PRM_SPD_GET_PATCHFILE_HDR_EVT); in HAL_NfcPrmDownloadStart()
|
/external/libnfc-nci/src/nfa/int/ |
D | nfa_snep_int.h | 62 tNFA_SNEP_CBACK *p_cback; member 69 tNFA_SNEP_CBACK *p_cback; member 78 tNFA_SNEP_CBACK *p_cback; member 85 tNFA_SNEP_CBACK *p_cback; member 183 tNFA_SNEP_CBACK *p_cback; /* callback for event */ member
|
D | nfa_ee_int.h | 171 tNFA_EE_CBACK *p_cback; member 178 tNFA_EE_CBACK *p_cback; member 248 tNFA_EE_CBACK *p_cback; member 482 void nfa_ee_report_event(tNFA_EE_CBACK *p_cback, tNFA_EE_EVT event, tNFA_EE_CBACK_DATA *p_data); 487 void nfa_ee_reg_cback_enable_done (tNFA_EE_ENABLE_DONE_CBACK *p_cback);
|
/external/libnfc-nci/src/nfa/include/ |
D | nfa_snep_api.h | 212 NFC_API extern tNFA_STATUS NFA_SnepStartDefaultServer (tNFA_SNEP_CBACK *p_cback); 229 NFC_API extern tNFA_STATUS NFA_SnepStopDefaultServer (tNFA_SNEP_CBACK *p_cback); 255 tNFA_SNEP_CBACK *p_cback); 270 NFC_API extern tNFA_STATUS NFA_SnepRegisterClient (tNFA_SNEP_CBACK *p_cback);
|
D | nfa_ee_api.h | 235 NFC_API extern tNFA_STATUS NFA_EeDiscover (tNFA_EE_CBACK *p_cback); 265 NFC_API extern tNFA_STATUS NFA_EeRegister (tNFA_EE_CBACK *p_cback); 278 NFC_API extern tNFA_STATUS NFA_EeDeregister (tNFA_EE_CBACK *p_cback); 443 tNFA_EE_CBACK *p_cback);
|
/external/libnfc-nci/src/nfc/llcp/ |
D | llcp_sdp.c | 339 if ( (llcp_cb.sdp_cb.transac[i].p_cback) in llcp_sdp_return_sap() 342 (*llcp_cb.sdp_cb.transac[i].p_cback) (tid, sap); in llcp_sdp_return_sap() 344 llcp_cb.sdp_cb.transac[i].p_cback = NULL; in llcp_sdp_return_sap() 367 if (llcp_cb.sdp_cb.transac[i].p_cback) in llcp_sdp_proc_deactivation() 369 (*llcp_cb.sdp_cb.transac[i].p_cback) (llcp_cb.sdp_cb.transac[i].tid, 0x00); in llcp_sdp_proc_deactivation() 371 llcp_cb.sdp_cb.transac[i].p_cback = NULL; in llcp_sdp_proc_deactivation()
|
/external/libnfc-nci/src/nfa/dm/ |
D | nfa_dm_api.c | 1110 tNFA_VSC_CBACK *p_cback) in NFA_RegVSCback() argument 1116 if (p_cback == NULL) in NFA_RegVSCback() 1126 p_msg->p_cback = p_cback; in NFA_RegVSCback() 1156 tNFA_VSC_CBACK *p_cback) in NFA_SendVsCommand() argument 1167 p_msg->p_cback = p_cback; in NFA_SendVsCommand()
|