/hardware/nxp/nfc/pn8x/halimpl/dnld/ |
D | phDnldNfc.h | 34 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 …]
|
D | phNxpNciHal_Dnld.cc | 88 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 …]
|
/hardware/nxp/nfc/snxxx/halimpl/dnld/ |
D | phDnldNfc.h | 34 typedef void (*pphDnldNfc_RspCb_t)(void* pContext, NFCSTATUS wStatus, 115 extern NFCSTATUS phDnldNfc_Reset(pphDnldNfc_RspCb_t pNotify, void* pContext); 116 extern NFCSTATUS phDnldNfc_GetVersion(pphDnldNfc_Buff_t pVersionInfo, 119 extern NFCSTATUS phDnldNfc_CheckIntegrity(uint8_t bChipVer, 123 extern NFCSTATUS phDnldNfc_GetSessionState(pphDnldNfc_Buff_t pSession, 126 extern NFCSTATUS phDnldNfc_Force(pphDnldNfc_Buff_t pInputs, 128 extern NFCSTATUS phDnldNfc_Read(pphDnldNfc_Buff_t pData, uint32_t dwRdAddr, 130 extern NFCSTATUS phDnldNfc_ReadLog(pphDnldNfc_Buff_t pData, 132 extern NFCSTATUS phDnldNfc_Write(bool_t bRecoverSeq, pphDnldNfc_Buff_t pData, 134 extern NFCSTATUS phDnldNfc_Log(pphDnldNfc_Buff_t pData, [all …]
|
D | phNxpNciHal_Dnld.cc | 91 NFCSTATUS bLastStatus; /* Holds the actual download write attempt status */ 103 static NFCSTATUS phNxpNciHal_fw_dnld_reset(void* pContext, NFCSTATUS status, 106 static void phNxpNciHal_fw_dnld_reset_cb(void* pContext, NFCSTATUS status, 109 static NFCSTATUS phNxpNciHal_fw_dnld_force(void* pContext, NFCSTATUS status, 112 static void phNxpNciHal_fw_dnld_force_cb(void* pContext, NFCSTATUS status, 116 static void phNxpNciHal_fw_dnld_normal_cb(void* pContext, NFCSTATUS status, 119 static NFCSTATUS phNxpNciHal_fw_dnld_normal(void* pContext, NFCSTATUS status, 123 static void phNxpNciHal_fw_dnld_get_version_cb(void* pContext, NFCSTATUS status, 126 static NFCSTATUS phNxpNciHal_fw_dnld_get_version(void* pContext, 127 NFCSTATUS status, void* pInfo); [all …]
|
D | phDnldNfc.cc | 53 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() 305 NFCSTATUS phDnldNfc_ReadLog(pphDnldNfc_Buff_t pData, pphDnldNfc_RspCb_t pNotify, in phDnldNfc_ReadLog() 307 NFCSTATUS wStatus = NFCSTATUS_SUCCESS; in phDnldNfc_ReadLog() [all …]
|
/hardware/nxp/nfc/pn8x/halimpl/tml/ |
D | phTmlNfc_i2c.h | 30 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 …]
|
D | phTmlNfc.h | 74 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 …]
|
D | phTmlNfc.cc | 46 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() 213 static NFCSTATUS phTmlNfc_StartThread(void) { in phTmlNfc_StartThread() 214 NFCSTATUS wStartStatus = NFCSTATUS_SUCCESS; in phTmlNfc_StartThread() 278 static NFCSTATUS phTmlNfc_InitiateTimer(void) { in phTmlNfc_InitiateTimer() 279 NFCSTATUS wStatus = NFCSTATUS_SUCCESS; in phTmlNfc_InitiateTimer() 301 NFCSTATUS wStatus = NFCSTATUS_SUCCESS; in phTmlNfc_TmlThread() 425 NFCSTATUS wStatus = NFCSTATUS_SUCCESS; in phTmlNfc_TmlWriterThread() [all …]
|
D | phOsalNfc_Timer.h | 74 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);
|
/hardware/nxp/nfc/snxxx/halimpl/tml/ |
D | phTmlNfc.h | 74 NFCSTATUS wStatus; /* Status of the Transaction Completion*/ 148 NFCSTATUS wWorkStatus; /*Status of the transaction performed */ 236 NFCSTATUS phTmlNfc_Init(pphTmlNfc_Config_t pConfig); 237 NFCSTATUS phTmlNfc_Shutdown(void); 238 NFCSTATUS phTmlNfc_Shutdown_CleanUp(); 240 NFCSTATUS phTmlNfc_Write(uint8_t* pBuffer, uint16_t wLength, 243 NFCSTATUS phTmlNfc_Read(uint8_t* pBuffer, uint16_t wLength, 246 NFCSTATUS phTmlNfc_WriteAbort(void); 247 NFCSTATUS phTmlNfc_ReadAbort(void); 248 NFCSTATUS phTmlNfc_IoCtl(phTmlNfc_ControlCode_t eControlCode); [all …]
|
D | phOsalNfc_Timer.h | 74 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);
|
/hardware/nxp/nfc/pn8x/halimpl/inc/ |
D | phNxpNciHal_SelfTest.h | 81 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/snxxx/halimpl/inc/ |
D | phNxpNciHal_SelfTest.h | 81 extern "C" NFCSTATUS phNxpNciHal_TestMode_open(void); 107 extern "C" NFCSTATUS phNxpNciHal_SwpTest(uint8_t swp_line); 121 extern "C" NFCSTATUS phNxpNciHal_PrbsTestStart( 136 extern "C" NFCSTATUS phNxpNciHal_PrbsTestStop(); 149 extern "C" NFCSTATUS phNxpNciHal_AntennaSelfTest( 162 extern "C" NFCSTATUS phNxpNciHal_RfFieldTest(uint8_t on); 174 extern "C" NFCSTATUS phNxpNciHal_DownloadPinTest(void);
|
/hardware/nxp/nfc/snxxx/halimpl/hal/ |
D | phNxpNciHal_extOperations.h | 49 NFCSTATUS phNxpNciHal_setAutonomousMode(); 59 NFCSTATUS phNxpNciHal_setGuardTimer(); 73 NFCSTATUS phNxpNciHal_send_get_cfg(const uint8_t* cmd_get_cfg, long cmd_len); 86 NFCSTATUS phNxpNciHal_configure_merge_sak(); 96 NFCSTATUS phNxpNciHal_setSrdtimeout();
|
D | phNxpNciHal_NfcDepSWPrio.cc | 30 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 …]
|
D | phNxpNciHal_NfcDepSWPrio.h | 31 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);
|
D | phNxpNciHal.h | 309 NFCSTATUS phNxpNciHal_send_get_cfgs(); 312 NFCSTATUS request_EEPROM(phNxpNci_EEPROM_info_t* mEEPROM_info); 314 NFCSTATUS phNxpNciHal_fw_download(uint8_t seq_handler_offset = 0, 316 NFCSTATUS phNxpNciHal_nfcc_core_reset_init(bool keep_config = false); 318 NFCSTATUS phNxpNciHal_check_clock_config(void); 319 NFCSTATUS phNxpNciHal_china_tianjin_rf_setting(void); 320 NFCSTATUS phNxpNciHal_CheckValidFwVersion(void); 322 NFCSTATUS phNxpNciHal_send_nfcee_pwr_cntl_cmd(uint8_t type); 371 NFCSTATUS phNxpNciHal_read_fw_dw_status(uint8_t& value); 384 NFCSTATUS phNxpNciHal_write_fw_dw_status(uint8_t value); [all …]
|
D | phNxpNciHal_extOperations.cc | 51 NFCSTATUS phNxpNciHal_setAutonomousMode() { in phNxpNciHal_setAutonomousMode() 76 NFCSTATUS phNxpNciHal_setGuardTimer() { in phNxpNciHal_setGuardTimer() 131 NFCSTATUS status = NFCSTATUS_FAILED; in phNxpNciHal_read_and_update_se_state() 222 NFCSTATUS phNxpNciHal_read_fw_dw_status(uint8_t& value) { in phNxpNciHal_read_fw_dw_status() 242 NFCSTATUS phNxpNciHal_write_fw_dw_status(uint8_t value) { in phNxpNciHal_write_fw_dw_status() 263 NFCSTATUS 275 NFCSTATUS status = request_EEPROM(&mEEPROM_info); in phNxpNciHal_get_uicc_hci_params() 291 NFCSTATUS 318 NFCSTATUS phNxpNciHal_send_get_cfg(const uint8_t* cmd_get_cfg, long cmd_len) { in phNxpNciHal_send_get_cfg() 320 NFCSTATUS status = NFCSTATUS_FAILED; in phNxpNciHal_send_get_cfg() [all …]
|
/hardware/nxp/nfc/pn8x/halimpl/hal/ |
D | phNxpNciHal_NfcDepSWPrio.cc | 30 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 …]
|
D | phNxpNciHal_NfcDepSWPrio.h | 31 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);
|
D | phNxpNciHal_ext.h | 24 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,
|
/hardware/nxp/nfc/snxxx/halimpl/self-test/ |
D | phNxpNciHal_SelfTest.cc | 60 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, 862 NFCSTATUS status; in hal_read_cb() 870 NFCSTATUS status = phOsalNfc_Timer_Stop(timeoutTimerId); in hal_read_cb() 975 static NFCSTATUS phNxpNciHal_readLocked(nci_test_data_t* pData) { in phNxpNciHal_readLocked() 976 NFCSTATUS status = NFCSTATUS_SUCCESS; in phNxpNciHal_readLocked() 1047 static NFCSTATUS phNxpNciHal_writeLocked(nci_test_data_t* pData) { in phNxpNciHal_writeLocked() [all …]
|
/hardware/nxp/nfc/pn8x/halimpl/self-test/ |
D | phNxpNciHal_SelfTest.cc | 60 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, 862 NFCSTATUS status; in hal_read_cb() 870 NFCSTATUS status = phOsalNfc_Timer_Stop(timeoutTimerId); in hal_read_cb() 975 static NFCSTATUS phNxpNciHal_readLocked(nci_test_data_t* pData) { in phNxpNciHal_readLocked() 976 NFCSTATUS status = NFCSTATUS_SUCCESS; in phNxpNciHal_readLocked() 1047 static NFCSTATUS phNxpNciHal_writeLocked(nci_test_data_t* pData) { in phNxpNciHal_writeLocked() [all …]
|
/hardware/samsung/nfc/1.2/ |
D | SecNfc.cpp | 23 typedef uint16_t NFCSTATUS; /* Return values */ typedef 67 NFCSTATUS status = nfc_hal_open(eventCallback, dataCallback); in open() 79 NFCSTATUS status = nfc_hal_core_initialized((unsigned char*)©[0]); in coreInitialized() 84 NFCSTATUS status = nfc_hal_pre_discover(); in prediscover() 92 NFCSTATUS status = nfc_hal_close(); // To-do function Parameter in close() 106 NFCSTATUS status = nfc_hal_control_granted(); in controlGranted() 111 NFCSTATUS status = nfc_hal_power_cycle(); in powerCycle() 126 NFCSTATUS status = nfc_hal_closeForPowerOffCase(); in closeForPowerOffCase()
|
/hardware/nxp/nfc/pn8x/1.1/ |
D | Nfc.cpp | 63 NFCSTATUS status = phNxpNciHal_open(eventCallback, dataCallback); in open() 75 NFCSTATUS status = phNxpNciHal_core_initialized(copy.size(), ©[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()
|