Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/core/
Dbl.c130 const uint32_t sector_cnt = sizeof(mBlFlashTable) / sizeof(struct blFlashTable); in blProgramFlash() local
137 ((dst + length) > (mBlFlashTable[sector_cnt-1].address + in blProgramFlash()
138 mBlFlashTable[sector_cnt-1].length))) { in blProgramFlash()
143 for (i = 0; i < sector_cnt; i++) { in blProgramFlash()
155 while (j < length && i < sector_cnt) { in blProgramFlash()
183 const uint32_t sector_cnt = sizeof(mBlFlashTable) / sizeof(struct blFlashTable); in blProgramTypedArea() local
186 for (i = 0; i < sector_cnt; i++) { in blProgramTypedArea()
212 const uint32_t sector_cnt = sizeof(mBlFlashTable) / sizeof(struct blFlashTable); in blEraseTypedArea() local
214 uint8_t erase_mask[sector_cnt]; in blEraseTypedArea()
216 for (i = 0; i < sector_cnt; i++) { in blEraseTypedArea()
[all …]
/device/google/contexthub/firmware/os/platform/stm32/
Dbl.c178 static void _blEraseSectors(uint32_t sector_cnt, uint8_t *erase_mask) in _blEraseSectors() argument
194 for (i = 0; i < sector_cnt; i++) { in _blEraseSectors()
205 bool blEraseSectors(uint32_t sector_cnt, uint8_t *erase_mask, uint32_t key1, uint32_t key2) in blEraseSectors() argument
233 _blEraseSectors(sector_cnt, erase_mask); in blEraseSectors()
/device/google/contexthub/firmware/os/inc/
Dbl.h91 bool blEraseSectors(uint32_t sector_cnt, uint8_t *erase_mask, uint32_t key1, uint32_t key2);