Searched refs:lenPrmBuffer (Results 1 – 1 of 1) sorted by relevance
/external/libnfc-nci/halimpl/bcm2079x/adaptation/ |
D | patchram.cpp | 425 UINT32 lenPrmBuffer = getFileLength(fd); in StartPatchDownload() local 427 if ((sI2cFixPrmBuf = malloc(lenPrmBuffer)) != NULL) in StartPatchDownload() 429 size_t actualLen = fread(sI2cFixPrmBuf, 1, lenPrmBuffer, fd); in StartPatchDownload() 430 if (actualLen == lenPrmBuffer) in StartPatchDownload() 432 … ALOGD("%s Setting I2C fix to %s (size: %lu)", __FUNCTION__, sPrePatchFn, lenPrmBuffer); in StartPatchDownload() 433 HAL_NfcPrmSetI2cPatch((UINT8*)sI2cFixPrmBuf, (UINT16)lenPrmBuffer, 0); in StartPatchDownload() 436 …"%s fail reading i2c fix; actual len=%u; expected len=%lu", __FUNCTION__, actualLen, lenPrmBuffer); in StartPatchDownload() 440 … ALOGE("%s Unable to get buffer to i2c fix (%lu bytes)", __FUNCTION__, lenPrmBuffer); in StartPatchDownload() 463 UINT32 lenPrmBuffer = getFileLength(fd); in StartPatchDownload() local 464 …nloading patchfile %s (size: %lu) format=%u", __FUNCTION__, sPatchFn, lenPrmBuffer, NFC_HAL_PRM_FO… in StartPatchDownload() [all …]
|