Home
last modified time | relevance | path

Searched refs:pBuff (Results 1 – 10 of 10) sorted by relevance

/system/nfc/halimpl/pn54x/dnld/
DphDnldNfc.c74 (gpphDnldContext->tRspBuffInfo.pBuff) = NULL; in phDnldNfc_Reset()
76 (gpphDnldContext->tUserData.pBuff) = NULL; in phDnldNfc_Reset()
127 if ((NULL != pVersionInfo->pBuff) && (0 != pVersionInfo->wLen)) { in phDnldNfc_GetVersion()
128 (gpphDnldContext->tRspBuffInfo.pBuff) = pVersionInfo->pBuff; in phDnldNfc_GetVersion()
132 (gpphDnldContext->tUserData.pBuff) = NULL; in phDnldNfc_GetVersion()
187 if ((NULL != pSession->pBuff) && (0 != pSession->wLen)) { in phDnldNfc_GetSessionState()
188 (gpphDnldContext->tRspBuffInfo.pBuff) = pSession->pBuff; in phDnldNfc_GetSessionState()
192 (gpphDnldContext->tUserData.pBuff) = NULL; in phDnldNfc_GetSessionState()
268 if ((NULL != pCRCData->pBuff) && (0 != pCRCData->wLen)) { in phDnldNfc_CheckIntegrity()
269 (gpphDnldContext->tRspBuffInfo.pBuff) = pCRCData->pBuff; in phDnldNfc_CheckIntegrity()
[all …]
DphDnldNfc_Internal.c570 (NULL == (pDlContext->tUserData.pBuff))) { in phDnldNfc_BuildFramePkt()
581 (NULL == (pDlContext->tRspBuffInfo.pBuff))) { in phDnldNfc_BuildFramePkt()
603 (NULL == (pDlContext->tUserData.pBuff))) { in phDnldNfc_BuildFramePkt()
729 wFrameLen = (pDlContext->tUserData.pBuff[wBuffIdx]); in phDnldNfc_CreateFramePld()
731 wFrameLen |= (pDlContext->tUserData.pBuff[wBuffIdx + 1]); in phDnldNfc_CreateFramePld()
756 &(pDlContext->tUserData.pBuff[wBuffIdx]), in phDnldNfc_CreateFramePld()
764 &(pDlContext->tUserData.pBuff[wBuffIdx]), in phDnldNfc_CreateFramePld()
797 (pDlContext->tUserData.pBuff), (pDlContext->tUserData.wLen)); in phDnldNfc_CreateFramePld()
807 (pDlContext->tUserData.pBuff), (pDlContext->tUserData.wLen)); in phDnldNfc_CreateFramePld()
810 (NULL == (pDlContext->tUserData.pBuff))) { in phDnldNfc_CreateFramePld()
[all …]
DphDnldNfc_Utils.c68 uint16_t phDnldNfc_CalcCrc16(uint8_t* pBuff, uint16_t wLen) { in phDnldNfc_CalcCrc16() argument
74 if ((NULL == pBuff) || (0 == wLen)) { in phDnldNfc_CalcCrc16()
80 wValue = 0x00ffU & (uint16_t)pBuff[i]; in phDnldNfc_CalcCrc16()
DphNxpNciHal_Dnld.c397 (tData.pBuff) = bClkVal; in phNxpNciHal_fw_dnld_normal()
469 (tData.pBuff) = bClkVal; in phNxpNciHal_fw_dnld_force()
539 if ((0 != pRespBuff->wLen) && (NULL != pRespBuff->pBuff)) { in phNxpNciHal_fw_dnld_get_version_cb()
540 bHwVer = (pRespBuff->pBuff[0]); in phNxpNciHal_fw_dnld_get_version_cb()
551 PHDNLDNFC_HWVER_PN553_MRA1_0_UPDATED & pRespBuff->pBuff[0]) in phNxpNciHal_fw_dnld_get_version_cb()
573 (NULL != pRespBuff->pBuff)) { in phNxpNciHal_fw_dnld_get_version_cb()
580 memcpy(bCurrVer, &(pRespBuff->pBuff[bExpectedLen - 2]), sizeof(bCurrVer)); in phNxpNciHal_fw_dnld_get_version_cb()
589 if ((pRespBuff->pBuff[1] == 0x07) && (bNewVer[1] != 0x01)) { in phNxpNciHal_fw_dnld_get_version_cb()
673 tDnldBuff.pBuff = bGetVerRes; in phNxpNciHal_fw_dnld_get_version()
726 if ((3 == (pRespBuff->wLen)) && (NULL != (pRespBuff->pBuff))) { in phNxpNciHal_fw_dnld_get_sessn_state_cb()
[all …]
DphDnldNfc_Utils.h25 extern uint16_t phDnldNfc_CalcCrc16(uint8_t* pBuff, uint16_t wLen);
DphDnldNfc.h93 uint8_t* pBuff; /*pointer to the buffer where user payload shall be stored*/ member
/system/nfc/halimpl/pn54x/self-test/
DphNxpNciHal_SelfTest.c649 (memcmp(exp->p_data, act->pBuff, exp->len) == 0)) { in st_validator_testSWP1_vltg()
650 if (act->pBuff[4] == 0x01 || act->pBuff[4] == 0x02) { in st_validator_testSWP1_vltg()
679 NXPLOG_NCIHAL_D("st_validator_testAntenna_Txldo = 0x%x", act->pBuff[3]); in st_validator_testAntenna_Txldo()
680 if (0x05 == act->pBuff[2]) { in st_validator_testAntenna_Txldo()
681 if (NFCSTATUS_SUCCESS == act->pBuff[3]) { in st_validator_testAntenna_Txldo()
684 act->pBuff[4]); in st_validator_testAntenna_Txldo()
685 if (0x00 == act->pBuff[5]) { in st_validator_testAntenna_Txldo()
687 measured_val = ((0.40 * act->pBuff[4]) + 50); in st_validator_testAntenna_Txldo()
692 measured_val = ((0.40 * act->pBuff[4]) + 20); in st_validator_testAntenna_Txldo()
752 if (0x05 == act->pBuff[2]) { in st_validator_testAntenna_AgcVal()
[all …]
/system/nfc/halimpl/pn54x/tml/
DphTmlNfc.h75 uint8_t* pBuff; /* Response Data of the Transaction*/ member
DphTmlNfc.c374 tTransactionInfo.pBuff = gpphTmlNfc_Context->tReadInfo.pBuffer; in phTmlNfc_TmlThread()
472 tTransactionInfo.pBuff = gpphTmlNfc_Context->tWriteInfo.pBuffer; in phTmlNfc_TmlWriterThread()
/system/nfc/halimpl/pn54x/hal/
DphNxpNciHal.c900 nxpncihal_ctrl.p_rx_data = pInfo->pBuff; in phNxpNciHal_read_complete()