/hardware/nxp/nfc/snxxx/halimpl/dnld/ |
D | phDnldNfc.cc | 66 (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() 261 if ((NULL != pCRCData->pBuff) && (0 != pCRCData->wLen)) { in phDnldNfc_CheckIntegrity() 262 (gpphDnldContext->tRspBuffInfo.pBuff) = pCRCData->pBuff; in phDnldNfc_CheckIntegrity() [all …]
|
D | phDnldNfc_Internal.cc | 546 (NULL == (pDlContext->tUserData.pBuff))) { in phDnldNfc_BuildFramePkt() 557 (NULL == (pDlContext->tRspBuffInfo.pBuff))) { in phDnldNfc_BuildFramePkt() 580 (NULL == (pDlContext->tUserData.pBuff))) { in phDnldNfc_BuildFramePkt() 721 wFrameLen = (pDlContext->tUserData.pBuff[wBuffIdx]); in phDnldNfc_CreateFramePld() 723 wFrameLen |= (pDlContext->tUserData.pBuff[wBuffIdx + 1]); in phDnldNfc_CreateFramePld() 748 &(pDlContext->tUserData.pBuff[wBuffIdx]), in phDnldNfc_CreateFramePld() 756 &(pDlContext->tUserData.pBuff[wBuffIdx]), in phDnldNfc_CreateFramePld() 789 (pDlContext->tUserData.pBuff), (pDlContext->tUserData.wLen)); in phDnldNfc_CreateFramePld() 799 (pDlContext->tUserData.pBuff), (pDlContext->tUserData.wLen)); in phDnldNfc_CreateFramePld() 802 (NULL == (pDlContext->tUserData.pBuff))) { in phDnldNfc_CreateFramePld() [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() 80 wValue = 0x00ffU & (uint16_t)pBuff[i]; in phDnldNfc_CalcCrc16()
|
D | phNxpNciHal_Dnld.cc | 369 (tData.pBuff) = bClkVal; in phNxpNciHal_fw_dnld_normal() 474 (tData.pBuff) = bClkVal; in phNxpNciHal_fw_dnld_force() 544 if ((0 != pRespBuff->wLen) && (NULL != pRespBuff->pBuff)) { in phNxpNciHal_fw_dnld_get_version_cb() 545 bHwVer = (pRespBuff->pBuff[0]); in phNxpNciHal_fw_dnld_get_version_cb() 554 (PHDNLDNFC_HWVER_PN553_MRA1_0_UPDATED & pRespBuff->pBuff[0])))) || in phNxpNciHal_fw_dnld_get_version_cb() 556 (PHDNLDNFC_HWVER_VENUS_MRA1_0 & pRespBuff->pBuff[0])) || in phNxpNciHal_fw_dnld_get_version_cb() 558 (PHDNLDNFC_HWVER_VULCAN_MRA1_0 & pRespBuff->pBuff[0]))); in phNxpNciHal_fw_dnld_get_version_cb() 564 (PHDNLDNFC_HWVER_PN553_MRA1_0_UPDATED & pRespBuff->pBuff[0]))) { in phNxpNciHal_fw_dnld_get_version_cb() 565 (gphNxpNciHal_fw_IoctlCtx.bChipVer) = pRespBuff->pBuff[0]; in phNxpNciHal_fw_dnld_get_version_cb() 566 } else if ((PHDNLDNFC_HWVER_VENUS_MRA1_0 & pRespBuff->pBuff[0])) { in phNxpNciHal_fw_dnld_get_version_cb() [all …]
|
D | phDnldNfc.h | 98 uint8_t* pBuff; /*pointer to the buffer where user payload shall be stored*/ member 103 uint8_t* pBuff; /* pointer to the buffer where chk integrity rsp is stored*/ member
|
/hardware/nxp/nfc/pn8x/halimpl/mifare/ |
D | NxpMfcReader.cc | 297 NFCSTATUS NxpMfcReader::AnalyzeMfcResp(uint8_t* pBuff, uint16_t* pBufflen) { in AnalyzeMfcResp() argument 305 RecvdExtnRspId = (MfcRespId_t)pBuff[0]; in AnalyzeMfcResp() 312 if ((pBuff[0] == 0x10) && (pBuff[1] != 0x0A)) { in AnalyzeMfcResp() 315 pBuff[0] = NFCSTATUS_FAILED; in AnalyzeMfcResp() 318 pBuff[0] = NFCSTATUS_SUCCESS; in AnalyzeMfcResp() 322 writeRespStatus = pBuff[*pBufflen - 1]; in AnalyzeMfcResp() 334 memmove(&(pBuff[0]), &(pBuff[1]), wPldDataSize); in AnalyzeMfcResp() 348 if (NFCSTATUS_SUCCESS == pBuff[1]) { in AnalyzeMfcResp() 355 pBuff[0] = pBuff[1]; in AnalyzeMfcResp() 360 pBuff[0] = pBuff[1]; in AnalyzeMfcResp()
|
D | NxpMfcReader.h | 116 NFCSTATUS AnalyzeMfcResp(uint8_t* pBuff, uint16_t* pBufflen);
|
/hardware/nxp/nfc/snxxx/halimpl/mifare/ |
D | NxpMfcReader.cc | 296 NFCSTATUS NxpMfcReader::AnalyzeMfcResp(uint8_t* pBuff, uint16_t* pBufflen) { in AnalyzeMfcResp() argument 304 RecvdExtnRspId = (MfcRespId_t)pBuff[0]; in AnalyzeMfcResp() 311 if ((pBuff[0] == 0x10) && (pBuff[1] != 0x0A)) { in AnalyzeMfcResp() 314 pBuff[0] = NFCSTATUS_FAILED; in AnalyzeMfcResp() 317 pBuff[0] = NFCSTATUS_SUCCESS; in AnalyzeMfcResp() 321 writeRespStatus = pBuff[*pBufflen - 1]; in AnalyzeMfcResp() 333 memcpy(&(pBuff[0]), &(pBuff[1]), wPldDataSize); in AnalyzeMfcResp() 347 if (NFCSTATUS_SUCCESS == pBuff[1]) { in AnalyzeMfcResp() 354 pBuff[0] = pBuff[1]; in AnalyzeMfcResp() 359 pBuff[0] = pBuff[1]; in AnalyzeMfcResp()
|
D | NxpMfcReader.h | 116 NFCSTATUS AnalyzeMfcResp(uint8_t* pBuff, uint16_t* pBufflen);
|
/hardware/nxp/nfc/pn8x/halimpl/dnld/ |
D | phDnldNfc_Internal.cc | 554 (NULL == (pDlContext->tUserData.pBuff))) { in phDnldNfc_BuildFramePkt() 565 (NULL == (pDlContext->tRspBuffInfo.pBuff))) { in phDnldNfc_BuildFramePkt() 587 (NULL == (pDlContext->tUserData.pBuff))) { in phDnldNfc_BuildFramePkt() 719 wFrameLen = (pDlContext->tUserData.pBuff[wBuffIdx]); in phDnldNfc_CreateFramePld() 721 wFrameLen |= (pDlContext->tUserData.pBuff[wBuffIdx + 1]); in phDnldNfc_CreateFramePld() 746 &(pDlContext->tUserData.pBuff[wBuffIdx]), in phDnldNfc_CreateFramePld() 754 &(pDlContext->tUserData.pBuff[wBuffIdx]), in phDnldNfc_CreateFramePld() 787 (pDlContext->tUserData.pBuff), (pDlContext->tUserData.wLen)); in phDnldNfc_CreateFramePld() 797 (pDlContext->tUserData.pBuff), (pDlContext->tUserData.wLen)); in phDnldNfc_CreateFramePld() 800 (NULL == (pDlContext->tUserData.pBuff))) { in phDnldNfc_CreateFramePld() [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() 80 wValue = 0x00ffU & (uint16_t)pBuff[i]; in phDnldNfc_CalcCrc16()
|
D | phNxpNciHal_Dnld.cc | 386 (tData.pBuff) = bClkVal; in phNxpNciHal_fw_dnld_normal() 458 (tData.pBuff) = bClkVal; in phNxpNciHal_fw_dnld_force() 528 if ((0 != pRespBuff->wLen) && (NULL != pRespBuff->pBuff)) { in phNxpNciHal_fw_dnld_get_version_cb() 529 bHwVer = (pRespBuff->pBuff[0]); in phNxpNciHal_fw_dnld_get_version_cb() 538 PHDNLDNFC_HWVER_PN553_MRA1_0_UPDATED & pRespBuff->pBuff[0]))) { in phNxpNciHal_fw_dnld_get_version_cb() 542 (PHDNLDNFC_HWVER_PN553_MRA1_0_UPDATED & pRespBuff->pBuff[0])) { in phNxpNciHal_fw_dnld_get_version_cb() 543 (gphNxpNciHal_fw_IoctlCtx.bChipVer) = pRespBuff->pBuff[0]; in phNxpNciHal_fw_dnld_get_version_cb() 562 (NULL != pRespBuff->pBuff)) { in phNxpNciHal_fw_dnld_get_version_cb() 569 memcpy(bCurrVer, &(pRespBuff->pBuff[bExpectedLen - 2]), sizeof(bCurrVer)); in phNxpNciHal_fw_dnld_get_version_cb() 578 if ((pRespBuff->pBuff[1] == 0x07) && (bNewVer[1] != 0x01)) { in phNxpNciHal_fw_dnld_get_version_cb() [all …]
|
D | phDnldNfc_Utils.h | 25 extern uint16_t phDnldNfc_CalcCrc16(uint8_t* pBuff, uint16_t wLen);
|
D | phDnldNfc.h | 91 uint8_t* pBuff; /*pointer to the buffer where user payload shall be stored*/ member
|
/hardware/nxp/nfc/snxxx/halimpl/self-test/ |
D | phNxpNciHal_SelfTest.cc | 533 (memcmp(exp->p_data, act->pBuff, exp->len) == 0)) { in st_validator_testSWP1_vltg() 534 if (act->pBuff[4] == 0x01 || act->pBuff[4] == 0x02) { in st_validator_testSWP1_vltg() 562 NXPLOG_NCIHAL_D("st_validator_testAntenna_Txldo = 0x%x", act->pBuff[3]); in st_validator_testAntenna_Txldo() 563 if (0x05 == act->pBuff[2]) { in st_validator_testAntenna_Txldo() 564 if (NFCSTATUS_SUCCESS == act->pBuff[3]) { in st_validator_testAntenna_Txldo() 567 act->pBuff[4]); in st_validator_testAntenna_Txldo() 568 if (0x00 == act->pBuff[5]) { in st_validator_testAntenna_Txldo() 570 measured_val = ((0.40 * act->pBuff[4]) + 50); in st_validator_testAntenna_Txldo() 575 measured_val = ((0.40 * act->pBuff[4]) + 20); in st_validator_testAntenna_Txldo() 635 if (0x05 == act->pBuff[2]) { in st_validator_testAntenna_AgcVal() [all …]
|
/hardware/nxp/nfc/pn8x/halimpl/self-test/ |
D | phNxpNciHal_SelfTest.cc | 533 (memcmp(exp->p_data, act->pBuff, exp->len) == 0)) { in st_validator_testSWP1_vltg() 534 if (act->pBuff[4] == 0x01 || act->pBuff[4] == 0x02) { in st_validator_testSWP1_vltg() 562 NXPLOG_NCIHAL_D("st_validator_testAntenna_Txldo = 0x%x", act->pBuff[3]); in st_validator_testAntenna_Txldo() 563 if (0x05 == act->pBuff[2]) { in st_validator_testAntenna_Txldo() 564 if (NFCSTATUS_SUCCESS == act->pBuff[3]) { in st_validator_testAntenna_Txldo() 567 act->pBuff[4]); in st_validator_testAntenna_Txldo() 568 if (0x00 == act->pBuff[5]) { in st_validator_testAntenna_Txldo() 570 measured_val = ((0.40 * act->pBuff[4]) + 50); in st_validator_testAntenna_Txldo() 575 measured_val = ((0.40 * act->pBuff[4]) + 20); in st_validator_testAntenna_Txldo() 635 if (0x05 == act->pBuff[2]) { in st_validator_testAntenna_AgcVal() [all …]
|
/hardware/nxp/nfc/pn8x/halimpl/tml/ |
D | phTmlNfc.h | 75 uint8_t* pBuff; /* Response Data of the Transaction*/ member
|
D | phTmlNfc.cc | 385 tTransactionInfo.pBuff = gpphTmlNfc_Context->tReadInfo.pBuffer; in phTmlNfc_TmlThread() 486 tTransactionInfo.pBuff = gpphTmlNfc_Context->tWriteInfo.pBuffer; in phTmlNfc_TmlWriterThread()
|
/hardware/nxp/nfc/snxxx/halimpl/tml/ |
D | phTmlNfc.h | 75 uint8_t* pBuff; /* Response Data of the Transaction*/ member
|
D | phTmlNfc.cc | 424 tTransactionInfo.pBuff = gpphTmlNfc_Context->tReadInfo.pBuffer; in phTmlNfc_TmlThread() 541 tTransactionInfo.pBuff = gpphTmlNfc_Context->tWriteInfo.pBuffer; in phTmlNfc_TmlWriterThread()
|
/hardware/nxp/nfc/pn8x/halimpl/hal/ |
D | phNxpNciHal.cc | 1143 if (((pInfo->pBuff[0] & NCI_MT_MASK) == NCI_MT_RSP) && sem_val == 0) { in phNxpNciHal_read_complete() 1148 if (pInfo->pBuff[0] == 0x4F && pInfo->pBuff[1] == 0x01 && in phNxpNciHal_read_complete() 1149 pInfo->pBuff[2] == 0x01) { in phNxpNciHal_read_complete() 1150 nxpncihal_ctrl.p_rx_ese_data = pInfo->pBuff; in phNxpNciHal_read_complete() 1154 nxpncihal_ctrl.p_rx_data = pInfo->pBuff; in phNxpNciHal_read_complete() 1160 phNxpNciHal_print_res_status(pInfo->pBuff, &pInfo->wLength); in phNxpNciHal_read_complete()
|
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/test/ |
D | venc_test.cpp | 2061 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/ |
D | venc_test.cpp | 2072 void* pBuff; in main() local 2074 pBuff = malloc(portDef.nBufferSize); in main() 2081 (OMX_U8*) pBuff); in main()
|
/hardware/broadcom/wlan/bcmdhd/wifi_hal/ |
D | wifi_logger.cpp | 759 char *pBuff; in handleEvent() local 762 pBuff = (char *) (buffer_entry + 1); in handleEvent() 763 (*mHandler.on_ring_buffer_data)((char *)status.name, pBuff, in handleEvent()
|