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