Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/core/
DnanohubCommand.c92 uint8_t lenLeft; member
547 } else if (mDownloadState->lenLeft) { in firmwareWrite()
548 const uint8_t *data = mDownloadState->data + mDownloadState->len - mDownloadState->lenLeft; in firmwareWrite()
549 uint32_t len = mDownloadState->lenLeft, lenLeft, lenRem = 0; in firmwareWrite() local
556 mAppSecStatus = appSecRxData(mDownloadState->appSecState, data, len, &lenLeft); in firmwareWrite()
557 mDownloadState->lenLeft = lenLeft + lenRem; in firmwareWrite()
561 if (mAppSecStatus == APP_SEC_NEED_MORE_TIME || mDownloadState->lenLeft) { in firmwareWrite()
598 } else if (mAppSecStatus == APP_SEC_NEED_MORE_TIME || mDownloadState->lenLeft) { in doFirmwareChunk()
623 mDownloadState->lenLeft = mDownloadState->len = len; in doFirmwareChunk()