Home
last modified time | relevance | path

Searched refs:wLen (Results 1 – 18 of 18) sorted by relevance

/hardware/nxp/nfc/pn8x/halimpl/dnld/
DphDnldNfc.cc67 (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 …]
DphDnldNfc_Utils.cc68 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()
DphDnldNfc_Internal.cc553 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 …]
DphDnldNfc_Utils.h25 extern uint16_t phDnldNfc_CalcCrc16(uint8_t* pBuff, uint16_t wLen);
DphNxpNciHal_Dnld.cc387 (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 …]
DphDnldNfc.h92 uint16_t wLen; /*Buffer length*/ member
/hardware/nxp/nfc/snxxx/halimpl/dnld/
DphDnldNfc.cc74 (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 …]
DphDnldNfc_Utils.cc68 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()
DphDnldNfc_Internal.cc547 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 …]
DphDnldNfc_Utils.h25 extern uint16_t phDnldNfc_CalcCrc16(uint8_t* pBuff, uint16_t wLen);
DphDnldNfc.h104 uint32_t wLen; /*Buffer length*/ member
109 uint32_t wLen; /* check integrity rsp Buffer length*/ member
DphNxpNciHal_Dnld.cc366 (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/
DLsLib.cpp448 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/
DphNxpEseDataMgr.cpp94 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()
DphNxpEseDataMgr.h25 uint16_t wLen; /* hold the length of the buffer */ member
/hardware/nxp/secure_element/snxxx/libese-spi/p73/lib/
DphNxpEseDataMgr.cpp104 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()
DphNxpEseDataMgr.h30 uint16_t wLen; /*!<hold the length of the buffer */ member
/hardware/nxp/secure_element/pn8x/ls_client/inc/
DLsLib.h532 uint8_t Numof_lengthbytes(uint8_t* read_buf, int32_t* wLen);