Home
last modified time | relevance | path

Searched refs:NFCSTATUS (Results 1 – 25 of 30) sorted by relevance

12

/hardware/nxp/nfc/halimpl/dnld/
DphDnldNfc.h34 typedef void (*pphDnldNfc_RspCb_t)(void* pContext, NFCSTATUS wStatus,
99 extern NFCSTATUS phDnldNfc_Reset(pphDnldNfc_RspCb_t pNotify, void* pContext);
100 extern NFCSTATUS phDnldNfc_GetVersion(pphDnldNfc_Buff_t pVersionInfo,
103 extern NFCSTATUS phDnldNfc_CheckIntegrity(uint8_t bChipVer,
107 extern NFCSTATUS phDnldNfc_GetSessionState(pphDnldNfc_Buff_t pSession,
110 extern NFCSTATUS phDnldNfc_Force(pphDnldNfc_Buff_t pInputs,
112 extern NFCSTATUS phDnldNfc_Read(pphDnldNfc_Buff_t pData, uint32_t dwRdAddr,
114 extern NFCSTATUS phDnldNfc_ReadLog(pphDnldNfc_Buff_t pData,
116 extern NFCSTATUS phDnldNfc_Write(bool_t bRecoverSeq, pphDnldNfc_Buff_t pData,
118 extern NFCSTATUS phDnldNfc_Log(pphDnldNfc_Buff_t pData,
[all …]
DphNxpNciHal_Dnld.cc87 NFCSTATUS bLastStatus; /* Holds the actual download write attempt status */
100 static NFCSTATUS phNxpNciHal_fw_dnld_reset(void* pContext, NFCSTATUS status,
103 static void phNxpNciHal_fw_dnld_reset_cb(void* pContext, NFCSTATUS status,
106 static NFCSTATUS phNxpNciHal_fw_dnld_force(void* pContext, NFCSTATUS status,
109 static void phNxpNciHal_fw_dnld_force_cb(void* pContext, NFCSTATUS status,
112 static void phNxpNciHal_fw_dnld_normal_cb(void* pContext, NFCSTATUS status,
115 static NFCSTATUS phNxpNciHal_fw_dnld_normal(void* pContext, NFCSTATUS status,
118 static void phNxpNciHal_fw_dnld_get_version_cb(void* pContext, NFCSTATUS status,
121 static NFCSTATUS phNxpNciHal_fw_dnld_get_version(void* pContext,
122 NFCSTATUS status, void* pInfo);
[all …]
DphDnldNfc.cc53 NFCSTATUS phDnldNfc_Reset(pphDnldNfc_RspCb_t pNotify, void* pContext) { in phDnldNfc_Reset()
54 NFCSTATUS wStatus = NFCSTATUS_SUCCESS; in phDnldNfc_Reset()
107 NFCSTATUS phDnldNfc_GetVersion(pphDnldNfc_Buff_t pVersionInfo, in phDnldNfc_GetVersion()
109 NFCSTATUS wStatus = NFCSTATUS_SUCCESS; in phDnldNfc_GetVersion()
166 NFCSTATUS phDnldNfc_GetSessionState(pphDnldNfc_Buff_t pSession, in phDnldNfc_GetSessionState()
169 NFCSTATUS wStatus = NFCSTATUS_SUCCESS; in phDnldNfc_GetSessionState()
232 NFCSTATUS phDnldNfc_CheckIntegrity(uint8_t bChipVer, pphDnldNfc_Buff_t pCRCData, in phDnldNfc_CheckIntegrity()
234 NFCSTATUS wStatus = NFCSTATUS_SUCCESS; in phDnldNfc_CheckIntegrity()
301 NFCSTATUS phDnldNfc_ReadLog(pphDnldNfc_Buff_t pData, pphDnldNfc_RspCb_t pNotify, in phDnldNfc_ReadLog()
303 NFCSTATUS wStatus = NFCSTATUS_SUCCESS; in phDnldNfc_ReadLog()
[all …]
DphDnldNfc_Internal.cc78 static NFCSTATUS phDnldNfc_ProcessFrame(void* pContext,
80 static NFCSTATUS phDnldNfc_ProcessRecvInfo(void* pContext,
82 static NFCSTATUS phDnldNfc_BuildFramePkt(pphDnldNfc_DlContext_t pDlContext);
83 static NFCSTATUS phDnldNfc_CreateFramePld(pphDnldNfc_DlContext_t pDlContext);
84 static NFCSTATUS phDnldNfc_SetupResendTimer(pphDnldNfc_DlContext_t pDlContext);
85 static NFCSTATUS phDnldNfc_UpdateRsp(pphDnldNfc_DlContext_t pDlContext,
119 NFCSTATUS phDnldNfc_CmdHandler(void* pContext, phDnldNfc_Event_t TrigEvent) { in phDnldNfc_CmdHandler()
120 NFCSTATUS status = NFCSTATUS_SUCCESS; in phDnldNfc_CmdHandler()
192 NFCSTATUS wStatus = NFCSTATUS_SUCCESS; in phDnldNfc_ProcessSeqState()
193 NFCSTATUS wIntStatus; in phDnldNfc_ProcessSeqState()
[all …]
DphDnldNfc_Internal.h154 NFCSTATUS wTimerExpStatus; /* Holds the status code on timer expiry */
200 NFCSTATUS
216 extern NFCSTATUS phDnldNfc_CmdHandler(void* pContext,
/hardware/nxp/nfc/halimpl/tml/
DphTmlNfc_i2c.h30 NFCSTATUS phTmlNfc_i2c_open_and_configure(pphTmlNfc_Config_t pConfig,
46 NFCSTATUS phTmlNfc_i2c_get_p61_power_state(void* pDevHandle);
47 NFCSTATUS phTmlNfc_i2c_set_p61_power_state(void* pDevHandle, long arg);
48 NFCSTATUS phTmlNfc_set_pid(void* pDevHandle, long pid);
49 NFCSTATUS phTmlNfc_set_power_scheme(void* pDevHandle, long id);
50 NFCSTATUS phTmlNfc_get_ese_access(void* pDevHandle, long timeout);
51 NFCSTATUS phTmlNfc_i2c_set_Jcop_dwnld_state(void* pDevHandle, long level);
52 NFCSTATUS phTmlNfc_i2c_set_spm_state(void* pa_data, void* pDevHandle);
53 NFCSTATUS phTmlNfc_i2c_reset_spm_state(void* pa_data, void* pDevHandle);
54 NFCSTATUS phTmlNfc_rel_svdd_wait(void* pDevHandle);
[all …]
DphTmlNfc.h74 NFCSTATUS wStatus; /* Status of the Transaction Completion*/
137 NFCSTATUS wWorkStatus; /*Status of the transaction performed */
211 NFCSTATUS phTmlNfc_Init(pphTmlNfc_Config_t pConfig);
212 NFCSTATUS phTmlNfc_Shutdown(void);
213 NFCSTATUS phTmlNfc_Shutdown_CleanUp();
215 NFCSTATUS phTmlNfc_Write(uint8_t* pBuffer, uint16_t wLength,
218 NFCSTATUS phTmlNfc_Read(uint8_t* pBuffer, uint16_t wLength,
221 NFCSTATUS phTmlNfc_WriteAbort(void);
222 NFCSTATUS phTmlNfc_ReadAbort(void);
223 NFCSTATUS phTmlNfc_IoCtl(phTmlNfc_ControlCode_t eControlCode);
[all …]
DphTmlNfc.cc46 static NFCSTATUS phTmlNfc_StartThread(void);
52 static NFCSTATUS phTmlNfc_InitiateTimer(void);
77 NFCSTATUS phTmlNfc_Init(pphTmlNfc_Config_t pConfig) { in phTmlNfc_Init()
78 NFCSTATUS wInitStatus = NFCSTATUS_SUCCESS; in phTmlNfc_Init()
212 static NFCSTATUS phTmlNfc_StartThread(void) { in phTmlNfc_StartThread()
213 NFCSTATUS wStartStatus = NFCSTATUS_SUCCESS; in phTmlNfc_StartThread()
277 static NFCSTATUS phTmlNfc_InitiateTimer(void) { in phTmlNfc_InitiateTimer()
278 NFCSTATUS wStatus = NFCSTATUS_SUCCESS; in phTmlNfc_InitiateTimer()
300 NFCSTATUS wStatus = NFCSTATUS_SUCCESS; in phTmlNfc_TmlThread()
423 NFCSTATUS wStatus = NFCSTATUS_SUCCESS; in phTmlNfc_TmlWriterThread()
[all …]
DphOsalNfc_Timer.h74 NFCSTATUS phOsalNfc_Timer_Start(uint32_t dwTimerId, uint32_t dwRegTimeCnt,
77 NFCSTATUS phOsalNfc_Timer_Stop(uint32_t dwTimerId);
78 NFCSTATUS phOsalNfc_Timer_Delete(uint32_t dwTimerId);
81 NFCSTATUS phOsalNfc_CheckTimerPresence(void* pObjectHandle);
DphOsalNfc_Timer.cc137 NFCSTATUS phOsalNfc_Timer_Start(uint32_t dwTimerId, uint32_t dwRegTimeCnt, in phOsalNfc_Timer_Start()
140 NFCSTATUS wStartStatus = NFCSTATUS_SUCCESS; in phOsalNfc_Timer_Start()
193 NFCSTATUS phOsalNfc_Timer_Stop(uint32_t dwTimerId) { in phOsalNfc_Timer_Stop()
194 NFCSTATUS wStopStatus = NFCSTATUS_SUCCESS; in phOsalNfc_Timer_Stop()
240 NFCSTATUS phOsalNfc_Timer_Delete(uint32_t dwTimerId) { in phOsalNfc_Timer_Delete()
241 NFCSTATUS wDeleteStatus = NFCSTATUS_SUCCESS; in phOsalNfc_Timer_Delete()
430 NFCSTATUS phOsalNfc_CheckTimerPresence(void* pObjectHandle) { in phOsalNfc_CheckTimerPresence()
432 NFCSTATUS wRegisterStatus = NFCSTATUS_INVALID_PARAMETER; in phOsalNfc_CheckTimerPresence()
/hardware/nxp/nfc/halimpl/inc/
DphNxpNciHal_SelfTest.h81 NFCSTATUS phNxpNciHal_TestMode_open(void);
107 NFCSTATUS phNxpNciHal_SwpTest(uint8_t swp_line);
121 NFCSTATUS phNxpNciHal_PrbsTestStart(phNxpNfc_PrbsType_t prbs_type,
137 NFCSTATUS phNxpNciHal_PrbsTestStop();
150 NFCSTATUS phNxpNciHal_AntennaSelfTest(phAntenna_St_Resp_t* phAntenna_St_Resp);
162 NFCSTATUS phNxpNciHal_RfFieldTest(uint8_t on);
174 NFCSTATUS phNxpNciHal_DownloadPinTest(void);
/hardware/nxp/nfc/halimpl/hal/
DphNxpNciHal_NfcDepSWPrio.cc30 extern NFCSTATUS phNxpNciHal_send_ext_cmd(uint16_t cmd_len, uint8_t* p_cmd);
55 static NFCSTATUS phNxpNciHal_start_polling_loop(void);
56 static NFCSTATUS phNxpNciHal_stop_polling_loop(void);
57 static NFCSTATUS phNxpNciHal_resume_polling_loop(void);
126 static NFCSTATUS phNxpNciHal_stop_polling_loop() { in phNxpNciHal_stop_polling_loop()
127 NFCSTATUS status = NFCSTATUS_SUCCESS; in phNxpNciHal_stop_polling_loop()
151 static NFCSTATUS phNxpNciHal_resume_polling_loop() { in phNxpNciHal_resume_polling_loop()
152 NFCSTATUS status = NFCSTATUS_SUCCESS; in phNxpNciHal_resume_polling_loop()
176 NFCSTATUS phNxpNciHal_start_polling_loop() { in phNxpNciHal_start_polling_loop()
177 NFCSTATUS status = NFCSTATUS_FAILED; in phNxpNciHal_start_polling_loop()
[all …]
DphNxpNciHal_NfcDepSWPrio.h31 extern NFCSTATUS phNxpNciHal_NfcDep_rsp_ext(uint8_t* p_ntf, uint16_t* p_len);
33 extern NFCSTATUS phNxpNciHal_NfcDep_comapre_ntf(uint8_t* p_cmd_data,
35 extern NFCSTATUS phNxpNciHal_select_RF_Discovery(unsigned int RfID,
37 extern NFCSTATUS phNxpNciHal_clean_P2P_Prio();
38 extern NFCSTATUS phNxpNciHal_send_clear_pipe_rsp(void);
DphNxpNciHal_ext.h24 NFCSTATUS phNxpNciHal_process_ext_rsp(uint8_t* p_ntf, uint16_t* p_len);
25 NFCSTATUS phNxpNciHal_send_ext_cmd(uint16_t cmd_len, uint8_t* p_cmd);
26 NFCSTATUS phNxpNciHal_send_ese_hal_cmd(uint16_t cmd_len, uint8_t* p_cmd);
27 NFCSTATUS phNxpNciHal_write_ext(uint16_t* cmd_len, uint8_t* p_cmd_data,
DphNxpNciHal.cc97 static NFCSTATUS phNxpNciHal_fw_download(void);
98 static void phNxpNciHal_open_complete(NFCSTATUS status);
99 static void phNxpNciHal_MinOpen_complete(NFCSTATUS status);
104 static void phNxpNciHal_close_complete(NFCSTATUS status);
105 static void phNxpNciHal_core_initialized_complete(NFCSTATUS status);
106 static void phNxpNciHal_power_cycle_complete(NFCSTATUS status);
113 static NFCSTATUS phNxpNciHal_do_se_session_reset(void);
115 static NFCSTATUS phNxpNciHal_CheckValidFwVersion(void);
117 static NFCSTATUS phNxpNciHal_get_mw_eeprom(void);
118 static NFCSTATUS phNxpNciHal_set_mw_eeprom(void);
[all …]
DphNxpNciHal_dta.h30 NFCSTATUS phNxpDta_IsEnable(void);
32 NFCSTATUS phNxpNHal_DtaUpdate(uint16_t* cmd_len, uint8_t* p_cmd_data,
DphNxpNciHal_ext.cc71 static NFCSTATUS phNxpNciHal_ext_process_nfc_init_rsp(uint8_t* p_ntf,
96 NFCSTATUS phNxpNciHal_process_ext_rsp(uint8_t* p_ntf, uint16_t* p_len) { in phNxpNciHal_process_ext_rsp()
97 NFCSTATUS status = NFCSTATUS_SUCCESS; in phNxpNciHal_process_ext_rsp()
414 static NFCSTATUS phNxpNciHal_ext_process_nfc_init_rsp(uint8_t* p_ntf, in phNxpNciHal_ext_process_nfc_init_rsp()
416 NFCSTATUS status = NFCSTATUS_SUCCESS; in phNxpNciHal_ext_process_nfc_init_rsp()
505 static NFCSTATUS phNxpNciHal_process_ext_cmd_rsp(uint16_t cmd_len, in phNxpNciHal_process_ext_cmd_rsp()
507 NFCSTATUS status = NFCSTATUS_FAILED; in phNxpNciHal_process_ext_cmd_rsp()
613 NFCSTATUS phNxpNciHal_write_ext(uint16_t* cmd_len, uint8_t* p_cmd_data, in phNxpNciHal_write_ext()
615 NFCSTATUS status = NFCSTATUS_SUCCESS; in phNxpNciHal_write_ext()
894 NFCSTATUS phNxpNciHal_send_ext_cmd(uint16_t cmd_len, uint8_t* p_cmd) { in phNxpNciHal_send_ext_cmd()
[all …]
DphNxpNciHal_dta.cc61 NFCSTATUS phNxpDta_IsEnable(void) { return nxpdta_ctrl.dta_ctrl_flag; } in phNxpDta_IsEnable()
83 NFCSTATUS phNxpNHal_DtaUpdate(uint16_t* cmd_len, uint8_t* p_cmd_data, in phNxpNHal_DtaUpdate()
85 NFCSTATUS status = NFCSTATUS_SUCCESS; in phNxpNHal_DtaUpdate()
/hardware/nxp/nfc/halimpl/self-test/
DphNxpNciHal_SelfTest.cc60 NFCSTATUS gtxldo_status = NFCSTATUS_FAILED;
61 NFCSTATUS gagc_value_status = NFCSTATUS_FAILED;
62 NFCSTATUS gagc_nfcld_status = NFCSTATUS_FAILED;
63 NFCSTATUS gagc_differential_status = NFCSTATUS_FAILED;
79 NFCSTATUS phNxpNciHal_getPrbsCmd(phNxpNfc_PrbsType_t prbs_type,
870 NFCSTATUS status; in hal_read_cb()
878 NFCSTATUS status = phOsalNfc_Timer_Stop(timeoutTimerId); in hal_read_cb()
983 static NFCSTATUS phNxpNciHal_readLocked(nci_test_data_t* pData) { in phNxpNciHal_readLocked()
984 NFCSTATUS status = NFCSTATUS_SUCCESS; in phNxpNciHal_readLocked()
1055 static NFCSTATUS phNxpNciHal_writeLocked(nci_test_data_t* pData) { in phNxpNciHal_writeLocked()
[all …]
/hardware/nxp/nfc/1.1/
DNfc.cpp63 NFCSTATUS status = phNxpNciHal_open(eventCallback, dataCallback); in open()
75 NFCSTATUS status = phNxpNciHal_core_initialized(&copy[0]); in coreInitialized()
80 NFCSTATUS status = phNxpNciHal_pre_discover(); in prediscover()
88 NFCSTATUS status = phNxpNciHal_close(false); in close()
102 NFCSTATUS status = phNxpNciHal_control_granted(); in controlGranted()
107 NFCSTATUS status = phNxpNciHal_power_cycle(); in powerCycle()
121 NFCSTATUS status = phNxpNciHal_configDiscShutdown(); in closeForPowerOffCase()
/hardware/nxp/nfc/1.2/
DNfc.cpp62 NFCSTATUS status = phNxpNciHal_open(eventCallback, dataCallback); in open()
74 NFCSTATUS status = phNxpNciHal_core_initialized(&copy[0]); in coreInitialized()
79 NFCSTATUS status = phNxpNciHal_pre_discover(); in prediscover()
87 NFCSTATUS status = phNxpNciHal_close(false); in close()
101 NFCSTATUS status = phNxpNciHal_control_granted(); in controlGranted()
106 NFCSTATUS status = phNxpNciHal_power_cycle(); in powerCycle()
120 NFCSTATUS status = phNxpNciHal_configDiscShutdown(); in closeForPowerOffCase()
/hardware/nxp/nfc/halimpl/mifare/
DNxpMfcReader.cc237 NFCSTATUS status = NFCSTATUS_FAILED; in AuthForWrite()
263 NFCSTATUS status = NFCSTATUS_SUCCESS; in SendIncDecRestoreCmdPart2()
293 NFCSTATUS NxpMfcReader::AnalyzeMfcResp(uint8_t *pBuff, uint16_t *pBufflen) { in AnalyzeMfcResp()
294 NFCSTATUS status = NFCSTATUS_SUCCESS; in AnalyzeMfcResp()
305 NFCSTATUS writeRespStatus = NFCSTATUS_SUCCESS; in AnalyzeMfcResp()
378 NFCSTATUS NxpMfcReader::CheckMfcResponse(uint8_t *pTransceiveData, in CheckMfcResponse()
380 NFCSTATUS status = NFCSTATUS_SUCCESS; in CheckMfcResponse()
DNxpMfcReader.h116 NFCSTATUS AnalyzeMfcResp(uint8_t *pBuff, uint16_t *pBufflen);
117 NFCSTATUS CheckMfcResponse(uint8_t *pTransceiveData,
/hardware/nxp/nfc/halimpl/common/
DphNfcStatus.h29 #define PHNFCSTBLOWER ((NFCSTATUS)(0x00FFU))
49 : ((((NFCSTATUS)(phNfcStatus)) & (PHNFCSTBLOWER)) | \
/hardware/nxp/nfc/halimpl/utils/
DphNxpNciHal_utils.h46 NFCSTATUS status;
83 NFCSTATUS phNxpNciHal_init_cb_data(phNxpNciHal_Sem_t* pCallbackData,

12