Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/core/
DnanohubCommand.c86 uint32_t dstOffset; // bytes sent to flash member
182 if (osWriteShared((uint8_t*)(mDownloadState->start) + mDownloadState->dstOffset, data, len)) { in writeCbk()
184 mDownloadState->dstOffset += len; in writeCbk()
285 if (mDownloadState->dstOffset) in resetDownloadState()
286 osAppSegmentClose(mDownloadState->start, mDownloadState->dstOffset, SEG_ST_ERASED); in resetDownloadState()
290 mDownloadState->dstOffset = 0; in resetDownloadState()
454 if (!osAppSegmentClose(app, mDownloadState->dstOffset, segState)) { in firmwareFinish()