Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/src/
DnanohubCommand.c403 uint32_t segState; in firmwareFinish() local
421 segState = SEG_ST_ERASED; in firmwareFinish()
424 segState = SEG_ST_VALID; in firmwareFinish()
427 segState = SEG_ST_ERASED; in firmwareFinish()
431 if (!osAppSegmentClose(app, mDownloadState->dstOffset, segState)) { in firmwareFinish()
435 segState = osAppSegmentGetState(app); in firmwareFinish()
436 valid = (segState == SEG_ST_VALID); in firmwareFinish()
442 mDownloadState->start, segState); in firmwareFinish()
Dseos.c436 bool osAppSegmentSetState(const struct AppHdr *app, uint32_t segState) in osAppSegmentSetState() argument
440 uint8_t state = segState; in osAppSegmentSetState()
539 bool osAppSegmentClose(struct AppHdr *app, uint32_t segDataSize, uint32_t segState) in osAppSegmentClose() argument
571 seg.state = segState; in osAppSegmentClose()
/device/google/contexthub/firmware/inc/
Dseos.h174 bool osAppSegmentClose(struct AppHdr *app, uint32_t segSize, uint32_t segState);
175 bool osAppSegmentSetState(const struct AppHdr *app, uint32_t segState);