Searched refs:lenPrmBuffer (Results 1 - 1 of 1) sorted by relevance
/external/libnfc-nci/halimpl/bcm2079x/adaptation/ |
H A D | patchram.cpp | 344 UINT32 lenPrmBuffer = getFileLength(fd); local 346 if ((sI2cFixPrmBuf = malloc(lenPrmBuffer)) != NULL) 348 fread(sI2cFixPrmBuf, lenPrmBuffer, 1, fd); 350 ALOGD("%s Setting I2C fix to %s (size: %lu)", __FUNCTION__, sPrePatchFn, lenPrmBuffer); 351 HAL_NfcPrmSetI2cPatch((UINT8*)sI2cFixPrmBuf, (UINT16)lenPrmBuffer, 0); 355 ALOGE("%s Unable to get buffer to i2c fix (%lu bytes)", __FUNCTION__, lenPrmBuffer); 378 UINT32 lenPrmBuffer = getFileLength(fd); local 383 ALOGD("%s Downloading patchfile %s (size: %lu) format=%u", __FUNCTION__, sPatchFn, lenPrmBuffer, patch_format); 384 if ((sPrmBuf = malloc(lenPrmBuffer)) != NULL) 386 fread(sPrmBuf, lenPrmBuffer, [all...] |
Completed in 451 milliseconds