Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/inc/
Dbl.h54 …*blProgramShared)(uint8_t *dst, const uint8_t *src, uint32_t length, uint32_t key1, uint32_t key2);
55 bool (*blEraseShared)(uint32_t key1, uint32_t key2);
56 … (*blProgramEe)(uint8_t *dst, const uint8_t *src, uint32_t length, uint32_t key1, uint32_t key2);
91 bool blEraseSectors(uint32_t sector_cnt, uint8_t *erase_mask, uint32_t key1, uint32_t key2);
92 …lPlatProgramFlash(uint8_t *dst, const uint8_t *src, uint32_t length, uint32_t key1, uint32_t key2);
/device/google/contexthub/firmware/os/core/
Dbl.c128 …ool blProgramFlash(uint8_t *dst, const uint8_t *src, uint32_t length, uint32_t key1, uint32_t key2) in blProgramFlash() argument
170 if (!blPlatProgramFlash(dst, src, length, key1, key2)) in blProgramFlash()
181 …rea(uint8_t *dst, const uint8_t *src, uint32_t length, uint32_t type, uint32_t key1, uint32_t key2) in blProgramTypedArea() argument
197 return blProgramFlash(dst, src, length, key1, key2); in blProgramTypedArea()
200 …iProgramSharedArea(uint8_t *dst, const uint8_t *src, uint32_t length, uint32_t key1, uint32_t key2) in blExtApiProgramSharedArea() argument
202 return blProgramTypedArea(dst, src, length, BL_FLASH_SHARED, key1, key2); in blExtApiProgramSharedArea()
205 … blExtApiProgramEe(uint8_t *dst, const uint8_t *src, uint32_t length, uint32_t key1, uint32_t key2) in blExtApiProgramEe() argument
207 return blProgramTypedArea(dst, src, length, BL_FLASH_EEDATA, key1, key2); in blExtApiProgramEe()
210 static bool blEraseTypedArea(uint32_t type, uint32_t key1, uint32_t key2) in blEraseTypedArea() argument
226 blEraseSectors(sector_cnt, erase_mask, key1, key2); in blEraseTypedArea()
[all …]
/device/google/contexthub/firmware/os/platform/stm32/
Dbl.c205 bool blEraseSectors(uint32_t sector_cnt, uint8_t *erase_mask, uint32_t key1, uint32_t key2) in blEraseSectors() argument
222 flash->KEYR = key2; in blEraseSectors()
310 …blPlatProgramFlash(uint8_t *dst, const uint8_t *src, uint32_t length, uint32_t key1, uint32_t key2) in blPlatProgramFlash() argument
327 flash->KEYR = key2; in blPlatProgramFlash()