/hardware/nxp/nfc/pn8x/halimpl/dnld/ |
D | phDnldNfc.cc | 67 (gpphDnldContext->tRspBuffInfo.wLen) = 0; in phDnldNfc_Reset() 69 (gpphDnldContext->tUserData.wLen) = 0; in phDnldNfc_Reset() 119 if ((NULL != pVersionInfo->pBuff) && (0 != pVersionInfo->wLen)) { in phDnldNfc_GetVersion() 121 (gpphDnldContext->tRspBuffInfo.wLen) = pVersionInfo->wLen; in phDnldNfc_GetVersion() 125 (gpphDnldContext->tUserData.wLen) = 0; in phDnldNfc_GetVersion() 179 if ((NULL != pSession->pBuff) && (0 != pSession->wLen)) { in phDnldNfc_GetSessionState() 181 (gpphDnldContext->tRspBuffInfo.wLen) = pSession->wLen; in phDnldNfc_GetSessionState() 185 (gpphDnldContext->tUserData.wLen) = 0; in phDnldNfc_GetSessionState() 257 if ((NULL != pCRCData->pBuff) && (0 != pCRCData->wLen)) { in phDnldNfc_CheckIntegrity() 259 (gpphDnldContext->tRspBuffInfo.wLen) = pCRCData->wLen; in phDnldNfc_CheckIntegrity() [all …]
|
D | phDnldNfc_Utils.cc | 68 uint16_t phDnldNfc_CalcCrc16(uint8_t* pBuff, uint16_t wLen) { in phDnldNfc_CalcCrc16() argument 74 if ((NULL == pBuff) || (0 == wLen)) { in phDnldNfc_CalcCrc16() 79 for (i = 0; i < wLen; i++) { in phDnldNfc_CalcCrc16()
|
D | phDnldNfc_Internal.cc | 553 if ((0 == (pDlContext->tUserData.wLen)) || in phDnldNfc_BuildFramePkt() 559 (pDlContext->tRWInfo.wRemBytes) = (pDlContext->tUserData.wLen); in phDnldNfc_BuildFramePkt() 564 if ((0 == (pDlContext->tRspBuffInfo.wLen)) || in phDnldNfc_BuildFramePkt() 571 wFrameLen = (pDlContext->tRspBuffInfo.wLen) + PHDNLDNFC_MIN_PLD_LEN; in phDnldNfc_BuildFramePkt() 575 (pDlContext->tRWInfo.wRemBytes) = (pDlContext->tRspBuffInfo.wLen); in phDnldNfc_BuildFramePkt() 586 if ((0 == (pDlContext->tUserData.wLen)) || in phDnldNfc_BuildFramePkt() 787 (pDlContext->tUserData.pBuff), (pDlContext->tUserData.wLen)); in phDnldNfc_CreateFramePld() 790 (pDlContext->tUserData.wLen); in phDnldNfc_CreateFramePld() 797 (pDlContext->tUserData.pBuff), (pDlContext->tUserData.wLen)); in phDnldNfc_CreateFramePld() 799 if ((0 == (pDlContext->tUserData.wLen)) || in phDnldNfc_CreateFramePld() [all …]
|
D | phDnldNfc_Utils.h | 25 extern uint16_t phDnldNfc_CalcCrc16(uint8_t* pBuff, uint16_t wLen);
|
D | phNxpNciHal_Dnld.cc | 387 (tData.wLen) = sizeof(bClkVal); in phNxpNciHal_fw_dnld_normal() 459 (tData.wLen) = sizeof(bClkVal); in phNxpNciHal_fw_dnld_force() 528 if ((0 != pRespBuff->wLen) && (NULL != pRespBuff->pBuff)) { in phNxpNciHal_fw_dnld_get_version_cb() 561 if ((NFCSTATUS_SUCCESS == wStatus) && (bExpectedLen == pRespBuff->wLen) && in phNxpNciHal_fw_dnld_get_version_cb() 656 tDnldBuff.wLen = sizeof(bGetVerRes); in phNxpNciHal_fw_dnld_get_version() 708 if ((3 == (pRespBuff->wLen)) && (NULL != (pRespBuff->pBuff))) { in phNxpNciHal_fw_dnld_get_sessn_state_cb() 787 tDnldBuff.wLen = sizeof(bGSnStateRes); in phNxpNciHal_fw_dnld_get_sessn_state() 877 (Data.wLen) = sizeof(phLibNfc_EELogParams_t); in phNxpNciHal_fw_dnld_log_read() 1060 if ((31 == (pRespBuff->wLen)) && (NULL != (pRespBuff->pBuff))) { in phNxpNciHal_fw_dnld_chk_integrity_cb() 1117 tDnldBuff.wLen = sizeof(bChkIntgRes); in phNxpNciHal_fw_dnld_chk_integrity() [all …]
|
D | phDnldNfc.h | 92 uint16_t wLen; /*Buffer length*/ member
|
/hardware/nxp/nfc/snxxx/halimpl/dnld/ |
D | phDnldNfc.cc | 74 (gpphDnldContext->tRspBuffInfo.wLen) = 0; in phDnldNfc_Reset() 76 (gpphDnldContext->tUserData.wLen) = 0; in phDnldNfc_Reset() 126 if ((NULL != pVersionInfo->pBuff) && (0 != pVersionInfo->wLen)) { in phDnldNfc_GetVersion() 128 (gpphDnldContext->tRspBuffInfo.wLen) = pVersionInfo->wLen; in phDnldNfc_GetVersion() 132 (gpphDnldContext->tUserData.wLen) = 0; in phDnldNfc_GetVersion() 186 if ((NULL != pSession->pBuff) && (0 != pSession->wLen)) { in phDnldNfc_GetSessionState() 188 (gpphDnldContext->tRspBuffInfo.wLen) = pSession->wLen; in phDnldNfc_GetSessionState() 192 (gpphDnldContext->tUserData.wLen) = 0; in phDnldNfc_GetSessionState() 270 if ((NULL != pCRCData->pBuff) && (0 != pCRCData->wLen)) { in phDnldNfc_CheckIntegrity() 272 (gpphDnldContext->tRspBuffInfo.wLen) = pCRCData->wLen; in phDnldNfc_CheckIntegrity() [all …]
|
D | phDnldNfc_Utils.cc | 68 uint16_t phDnldNfc_CalcCrc16(uint8_t* pBuff, uint16_t wLen) { in phDnldNfc_CalcCrc16() argument 74 if ((NULL == pBuff) || (0 == wLen)) { in phDnldNfc_CalcCrc16() 79 for (i = 0; i < wLen; i++) { in phDnldNfc_CalcCrc16()
|
D | phDnldNfc_Internal.cc | 547 if ((0 == (pDlContext->tUserData.wLen)) || in phDnldNfc_BuildFramePkt() 553 (pDlContext->tRWInfo.wRemBytes) = (pDlContext->tUserData.wLen); in phDnldNfc_BuildFramePkt() 558 if ((0 == (pDlContext->tRspBuffInfo.wLen)) || in phDnldNfc_BuildFramePkt() 566 (uint16_t)(pDlContext->tRspBuffInfo.wLen) + PHDNLDNFC_MIN_PLD_LEN; in phDnldNfc_BuildFramePkt() 572 (pDlContext->tRWInfo.wRemBytes) = (pDlContext->tRspBuffInfo.wLen); in phDnldNfc_BuildFramePkt() 585 if ((0 == (pDlContext->tUserData.wLen)) || in phDnldNfc_BuildFramePkt() 800 (pDlContext->tUserData.pBuff), (pDlContext->tUserData.wLen)); in phDnldNfc_CreateFramePld() 803 (uint16_t)(pDlContext->tUserData.wLen); in phDnldNfc_CreateFramePld() 810 (pDlContext->tUserData.pBuff), (pDlContext->tUserData.wLen)); in phDnldNfc_CreateFramePld() 812 if ((0 == (pDlContext->tUserData.wLen)) || in phDnldNfc_CreateFramePld() [all …]
|
D | phDnldNfc_Utils.h | 25 extern uint16_t phDnldNfc_CalcCrc16(uint8_t* pBuff, uint16_t wLen);
|
D | phDnldNfc.h | 104 uint32_t wLen; /*Buffer length*/ member 109 uint32_t wLen; /* check integrity rsp Buffer length*/ member
|
D | phNxpNciHal_Dnld.cc | 366 (tData.wLen) = sizeof(bClkVal); in phNxpNciHal_fw_dnld_force() 437 if ((0 != pRespBuff->wLen) && (NULL != pRespBuff->pBuff)) { in phNxpNciHal_fw_dnld_get_version_cb() 495 if ((NFCSTATUS_SUCCESS == wStatus) && (bExpectedLen == pRespBuff->wLen) && in phNxpNciHal_fw_dnld_get_version_cb() 602 tDnldBuff.wLen = sizeof(bGetVerRes); in phNxpNciHal_fw_dnld_get_version() 654 if ((3 == (pRespBuff->wLen)) && (NULL != (pRespBuff->pBuff))) { in phNxpNciHal_fw_dnld_get_sessn_state_cb() 737 tDnldBuff.wLen = sizeof(bGSnStateRes); in phNxpNciHal_fw_dnld_get_sessn_state() 829 (Data.wLen) = sizeof(phLibNfc_EELogParams_t); in phNxpNciHal_fw_dnld_log_read() 1014 } else if ((PHLIBNFC_DNLD_CHECKINTEGRITYLEN == (pRespBuff->wLen)) && in phNxpNciHal_fw_dnld_chk_integrity_cb() 1072 tDnldBuff.wLen = sizeof(bChkIntgRes); in phNxpNciHal_fw_dnld_chk_integrity() 1231 if ((0 != (pRespBuff->wLen)) && (NULL != (pRespBuff->pBuff))) { in phNxpNciHal_fw_dnld_send_ncicmd_cb() [all …]
|
/hardware/nxp/secure_element/pn8x/ls_client/src/ |
D | LsLib.cpp | 448 int32_t wLen = 0; in LSC_loadapplet() local 453 len_byte = Numof_lengthbytes(&temp_buf[offset], &wLen); in LSC_loadapplet() 455 if ((len_byte == 0) || (wLen <= 32)) { in LSC_loadapplet() 462 pTranscv_Info->sSendlength = wLen; in LSC_loadapplet() 463 memcpy(pTranscv_Info->sSendData, &temp_buf[offset], wLen); in LSC_loadapplet() 499 len_byte = Numof_lengthbytes(&temp_buf[offset], &wLen); in LSC_loadapplet() 502 wLen + len_byte + 2); in LSC_loadapplet() 573 int32_t wLen; in LSC_Check_KeyIdentifier() local 580 wLen = 0; in LSC_Check_KeyIdentifier() 611 wLen = 0; in LSC_Check_KeyIdentifier() [all …]
|
/hardware/nxp/secure_element/pn8x/libese-spi/p73/lib/ |
D | phNxpEseDataMgr.cpp | 94 newNode->tData.wLen = data_len; in phNxpEse_StoreDatainList() 126 new_node->tData.wLen); in phNxpEse_GetDataFromList() 127 offset += new_node->tData.wLen; in phNxpEse_GetDataFromList()
|
D | phNxpEseDataMgr.h | 25 uint16_t wLen; /* hold the length of the buffer */ member
|
/hardware/nxp/secure_element/snxxx/libese-spi/p73/lib/ |
D | phNxpEseDataMgr.cpp | 104 newNode->tData.wLen = data_len; in phNxpEse_StoreDatainList() 136 new_node->tData.wLen); in phNxpEse_GetDataFromList() 137 offset += new_node->tData.wLen; in phNxpEse_GetDataFromList()
|
D | phNxpEseDataMgr.h | 30 uint16_t wLen; /*!<hold the length of the buffer */ member
|
/hardware/nxp/secure_element/pn8x/ls_client/inc/ |
D | LsLib.h | 532 uint8_t Numof_lengthbytes(uint8_t* read_buf, int32_t* wLen);
|