Searched refs:segState (Results 1 – 3 of 3) sorted by relevance
403 uint32_t segState; in firmwareFinish() local421 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()
436 bool osAppSegmentSetState(const struct AppHdr *app, uint32_t segState) in osAppSegmentSetState() argument440 uint8_t state = segState; in osAppSegmentSetState()539 bool osAppSegmentClose(struct AppHdr *app, uint32_t segDataSize, uint32_t segState) in osAppSegmentClose() argument571 seg.state = segState; in osAppSegmentClose()
174 bool osAppSegmentClose(struct AppHdr *app, uint32_t segSize, uint32_t segState);175 bool osAppSegmentSetState(const struct AppHdr *app, uint32_t segState);