Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/inc/
Dseos.h188 bool osAppSegmentClose(struct AppHdr *app, uint32_t segSize, uint32_t segState);
189 bool osAppSegmentSetState(const struct AppHdr *app, uint32_t segState);
/device/google/contexthub/firmware/os/core/
DnanohubCommand.c426 uint32_t segState; in firmwareFinish() local
444 segState = SEG_ST_ERASED; in firmwareFinish()
447 segState = SEG_ST_VALID; in firmwareFinish()
450 segState = SEG_ST_ERASED; in firmwareFinish()
454 if (!osAppSegmentClose(app, mDownloadState->dstOffset, segState)) { in firmwareFinish()
459 segState = osAppSegmentGetState(app); in firmwareFinish()
461 valid = (segState == SEG_ST_VALID); in firmwareFinish()
467 mDownloadState->start, segState, in firmwareFinish()
Dseos.c472 bool osAppSegmentSetState(const struct AppHdr *app, uint32_t segState) in osAppSegmentSetState() argument
476 uint8_t state = segState; in osAppSegmentSetState()
595 bool osAppSegmentClose(struct AppHdr *app, uint32_t segDataSize, uint32_t segState) in osAppSegmentClose() argument
627 seg.state = segState; in osAppSegmentClose()