Searched refs:code_length (Results 1 – 1 of 1) sorted by relevance
379 uint32_t i, code_length; in blEraseSectors() local382 blGetFlashEraseCode(&code_src, &code_length); in blEraseSectors()384 if (code_length < BL_MAX_FLASH_CODE) { in blEraseSectors()385 code = (uint16_t *)(((uint32_t)alloca(code_length + 1) + 1) & ~0x1); in blEraseSectors()388 for (i = 0; i < code_length / sizeof(uint16_t); i++) in blEraseSectors()406 uint32_t i, code_length; in blWriteBytes() local409 blGetFlashWriteCode(&code_src, &code_length); in blWriteBytes()411 if (code_length < BL_MAX_FLASH_CODE) { in blWriteBytes()412 code = (uint16_t *)(((uint32_t)alloca(code_length+1) + 1) & ~0x1); in blWriteBytes()415 for (i = 0; i < code_length / sizeof(uint16_t); i++) in blWriteBytes()