Home
last modified time | relevance | path

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

/hardware/nxp/nfc/halimpl/dnld/
DphDnldNfc.cc66 (gpphDnldContext->tRspBuffInfo.pBuff) = NULL; in phDnldNfc_Reset()
68 (gpphDnldContext->tUserData.pBuff) = NULL; in phDnldNfc_Reset()
119 if ((NULL != pVersionInfo->pBuff) && (0 != pVersionInfo->wLen)) { in phDnldNfc_GetVersion()
120 (gpphDnldContext->tRspBuffInfo.pBuff) = pVersionInfo->pBuff; in phDnldNfc_GetVersion()
124 (gpphDnldContext->tUserData.pBuff) = NULL; in phDnldNfc_GetVersion()
179 if ((NULL != pSession->pBuff) && (0 != pSession->wLen)) { in phDnldNfc_GetSessionState()
180 (gpphDnldContext->tRspBuffInfo.pBuff) = pSession->pBuff; in phDnldNfc_GetSessionState()
184 (gpphDnldContext->tUserData.pBuff) = NULL; in phDnldNfc_GetSessionState()
257 if ((NULL != pCRCData->pBuff) && (0 != pCRCData->wLen)) { in phDnldNfc_CheckIntegrity()
258 (gpphDnldContext->tRspBuffInfo.pBuff) = pCRCData->pBuff; in phDnldNfc_CheckIntegrity()
[all …]
DphDnldNfc_Internal.cc553 (NULL == (pDlContext->tUserData.pBuff))) { in phDnldNfc_BuildFramePkt()
564 (NULL == (pDlContext->tRspBuffInfo.pBuff))) { in phDnldNfc_BuildFramePkt()
586 (NULL == (pDlContext->tUserData.pBuff))) { in phDnldNfc_BuildFramePkt()
718 wFrameLen = (pDlContext->tUserData.pBuff[wBuffIdx]); in phDnldNfc_CreateFramePld()
720 wFrameLen |= (pDlContext->tUserData.pBuff[wBuffIdx + 1]); in phDnldNfc_CreateFramePld()
745 &(pDlContext->tUserData.pBuff[wBuffIdx]), in phDnldNfc_CreateFramePld()
753 &(pDlContext->tUserData.pBuff[wBuffIdx]), in phDnldNfc_CreateFramePld()
786 (pDlContext->tUserData.pBuff), (pDlContext->tUserData.wLen)); in phDnldNfc_CreateFramePld()
796 (pDlContext->tUserData.pBuff), (pDlContext->tUserData.wLen)); in phDnldNfc_CreateFramePld()
799 (NULL == (pDlContext->tUserData.pBuff))) { in phDnldNfc_CreateFramePld()
[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()
80 wValue = 0x00ffU & (uint16_t)pBuff[i]; in phDnldNfc_CalcCrc16()
DphNxpNciHal_Dnld.cc378 (tData.pBuff) = bClkVal; in phNxpNciHal_fw_dnld_normal()
450 (tData.pBuff) = bClkVal; in phNxpNciHal_fw_dnld_force()
520 if ((0 != pRespBuff->wLen) && (NULL != pRespBuff->pBuff)) { in phNxpNciHal_fw_dnld_get_version_cb()
521 bHwVer = (pRespBuff->pBuff[0]); in phNxpNciHal_fw_dnld_get_version_cb()
530 PHDNLDNFC_HWVER_PN553_MRA1_0_UPDATED & pRespBuff->pBuff[0]))) { in phNxpNciHal_fw_dnld_get_version_cb()
534 (PHDNLDNFC_HWVER_PN553_MRA1_0_UPDATED & pRespBuff->pBuff[0])) { in phNxpNciHal_fw_dnld_get_version_cb()
535 (gphNxpNciHal_fw_IoctlCtx.bChipVer) = pRespBuff->pBuff[0]; in phNxpNciHal_fw_dnld_get_version_cb()
554 (NULL != pRespBuff->pBuff)) { in phNxpNciHal_fw_dnld_get_version_cb()
561 memcpy(bCurrVer, &(pRespBuff->pBuff[bExpectedLen - 2]), sizeof(bCurrVer)); in phNxpNciHal_fw_dnld_get_version_cb()
570 if ((pRespBuff->pBuff[1] == 0x07) && (bNewVer[1] != 0x01)) { in phNxpNciHal_fw_dnld_get_version_cb()
[all …]
DphDnldNfc_Utils.h25 extern uint16_t phDnldNfc_CalcCrc16(uint8_t* pBuff, uint16_t wLen);
DphDnldNfc.h91 uint8_t* pBuff; /*pointer to the buffer where user payload shall be stored*/ member
/hardware/nxp/nfc/halimpl/mifare/
DNxpMfcReader.cc293 NFCSTATUS NxpMfcReader::AnalyzeMfcResp(uint8_t *pBuff, uint16_t *pBufflen) { in AnalyzeMfcResp() argument
301 RecvdExtnRspId = (MfcRespId_t)pBuff[0]; in AnalyzeMfcResp()
308 if ((pBuff[0] == 0x10) && (pBuff[1] != 0x0A)) { in AnalyzeMfcResp()
311 pBuff[0] = NFCSTATUS_FAILED; in AnalyzeMfcResp()
314 pBuff[0] = NFCSTATUS_SUCCESS; in AnalyzeMfcResp()
318 writeRespStatus = pBuff[*pBufflen - 1]; in AnalyzeMfcResp()
330 memmove(&(pBuff[0]), &(pBuff[1]), wPldDataSize); in AnalyzeMfcResp()
344 if (NFCSTATUS_SUCCESS == pBuff[1]) { in AnalyzeMfcResp()
351 pBuff[0] = pBuff[1]; in AnalyzeMfcResp()
356 pBuff[0] = pBuff[1]; in AnalyzeMfcResp()
DNxpMfcReader.h116 NFCSTATUS AnalyzeMfcResp(uint8_t *pBuff, uint16_t *pBufflen);
/hardware/nxp/nfc/halimpl/self-test/
DphNxpNciHal_SelfTest.cc541 (memcmp(exp->p_data, act->pBuff, exp->len) == 0)) { in st_validator_testSWP1_vltg()
542 if (act->pBuff[4] == 0x01 || act->pBuff[4] == 0x02) { in st_validator_testSWP1_vltg()
570 NXPLOG_NCIHAL_D("st_validator_testAntenna_Txldo = 0x%x", act->pBuff[3]); in st_validator_testAntenna_Txldo()
571 if (0x05 == act->pBuff[2]) { in st_validator_testAntenna_Txldo()
572 if (NFCSTATUS_SUCCESS == act->pBuff[3]) { in st_validator_testAntenna_Txldo()
575 act->pBuff[4]); in st_validator_testAntenna_Txldo()
576 if (0x00 == act->pBuff[5]) { in st_validator_testAntenna_Txldo()
578 measured_val = ((0.40 * act->pBuff[4]) + 50); in st_validator_testAntenna_Txldo()
583 measured_val = ((0.40 * act->pBuff[4]) + 20); in st_validator_testAntenna_Txldo()
643 if (0x05 == act->pBuff[2]) { in st_validator_testAntenna_AgcVal()
[all …]
/hardware/nxp/nfc/halimpl/tml/
DphTmlNfc.h75 uint8_t* pBuff; /* Response Data of the Transaction*/ member
DphTmlNfc.cc383 tTransactionInfo.pBuff = gpphTmlNfc_Context->tReadInfo.pBuffer; in phTmlNfc_TmlThread()
484 tTransactionInfo.pBuff = gpphTmlNfc_Context->tWriteInfo.pBuffer; in phTmlNfc_TmlWriterThread()
/hardware/nxp/nfc/halimpl/hal/
DphNxpNciHal.cc1133 if(((pInfo->pBuff[0] & NCI_MT_MASK) == NCI_MT_RSP) && sem_val == 0 ) { in phNxpNciHal_read_complete()
1137 if(pInfo->pBuff[0] == 0x4F && pInfo->pBuff[1] == 0x01 && pInfo->pBuff[2] == 0x01) { in phNxpNciHal_read_complete()
1138 nxpncihal_ctrl.p_rx_ese_data = pInfo->pBuff; in phNxpNciHal_read_complete()
1143 nxpncihal_ctrl.p_rx_data = pInfo->pBuff; in phNxpNciHal_read_complete()
1149 phNxpNciHal_print_res_status(pInfo->pBuff, &pInfo->wLength); in phNxpNciHal_read_complete()
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/test/
Dvenc_test.cpp2061 void* pBuff; in main() local
2063 pBuff = malloc(portDef.nBufferSize); in main()
2070 (OMX_U8*) pBuff); in main()
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/test/
Dvenc_test.cpp2072 void* pBuff; in main() local
2074 pBuff = malloc(portDef.nBufferSize); in main()
2081 (OMX_U8*) pBuff); in main()