Searched refs:code_length (Results 1 – 1 of 1) sorted by relevance
183 uint32_t i, code_length; in _blEraseSectors() local186 blGetFlashEraseCode(&code_src, &code_length); in _blEraseSectors()188 if (code_length < BL_MAX_FLASH_CODE) { in _blEraseSectors()189 code = (uint16_t *)(((uint32_t)alloca(code_length + 1) + 1) & ~0x1); in _blEraseSectors()192 for (i = 0; i < code_length / sizeof(uint16_t); i++) in _blEraseSectors()288 uint32_t i, code_length; in blWriteBytes() local291 blGetFlashWriteCode(&code_src, &code_length); in blWriteBytes()293 if (code_length < BL_MAX_FLASH_CODE) { in blWriteBytes()294 code = (uint16_t *)(((uint32_t)alloca(code_length+1) + 1) & ~0x1); in blWriteBytes()297 for (i = 0; i < code_length / sizeof(uint16_t); i++) in blWriteBytes()