Home
last modified time | relevance | path

Searched refs:bExpectedLen (Results 1 – 2 of 2) sorted by relevance

/hardware/nxp/nfc/snxxx/halimpl/dnld/
DphNxpNciHal_Dnld.cc535 uint8_t bExpectedLen = 0; in phNxpNciHal_fw_dnld_get_version_cb() local
561 bExpectedLen = PHLIBNFC_IOCTL_DNLD_GETVERLEN_MRA2_1; in phNxpNciHal_fw_dnld_get_version_cb()
568 bExpectedLen = PHLIBNFC_IOCTL_DNLD_SN100U_GETVERLEN; in phNxpNciHal_fw_dnld_get_version_cb()
571 bExpectedLen = PHLIBNFC_IOCTL_DNLD_SN220U_GETVERLEN; in phNxpNciHal_fw_dnld_get_version_cb()
575 bExpectedLen = PHLIBNFC_IOCTL_DNLD_GETVERLEN; in phNxpNciHal_fw_dnld_get_version_cb()
593 if ((NFCSTATUS_SUCCESS == wStatus) && (bExpectedLen == pRespBuff->wLen) && in phNxpNciHal_fw_dnld_get_version_cb()
601 memcpy(bCurrVer, &(pRespBuff->pBuff[bExpectedLen - 2]), sizeof(bCurrVer)); in phNxpNciHal_fw_dnld_get_version_cb()
/hardware/nxp/nfc/pn8x/halimpl/dnld/
DphNxpNciHal_Dnld.cc519 uint8_t bExpectedLen = 0; in phNxpNciHal_fw_dnld_get_version_cb() local
539 bExpectedLen = PHLIBNFC_IOCTL_DNLD_GETVERLEN_MRA2_1; in phNxpNciHal_fw_dnld_get_version_cb()
547 bExpectedLen = PHLIBNFC_IOCTL_DNLD_GETVERLEN; in phNxpNciHal_fw_dnld_get_version_cb()
561 if ((NFCSTATUS_SUCCESS == wStatus) && (bExpectedLen == pRespBuff->wLen) && in phNxpNciHal_fw_dnld_get_version_cb()
569 memcpy(bCurrVer, &(pRespBuff->pBuff[bExpectedLen - 2]), sizeof(bCurrVer)); in phNxpNciHal_fw_dnld_get_version_cb()