Home
last modified time | relevance | path

Searched refs:write_size (Results 1 – 5 of 5) sorted by relevance

/trusted-firmware-m-3.4.0/platform/ext/target/arm/corstone1000/Native_Driver/
Dspi_strataflashj3_flash_lib.c81 uint32_t write_size; in cfi_strataflashj3_program_data_byte() local
87 write_size = remaining_bytes; in cfi_strataflashj3_program_data_byte()
89 write_size = MAX_PROGRAM_SIZE; in cfi_strataflashj3_program_data_byte()
91 for (int i = 0; i < write_size; i++) { in cfi_strataflashj3_program_data_byte()
94 for(int counter = 0;counter<write_size;counter++){ in cfi_strataflashj3_program_data_byte()
98 remaining_bytes -= write_size; in cfi_strataflashj3_program_data_byte()
99 current_addr += write_size; in cfi_strataflashj3_program_data_byte()
Dspi_n25q256a_flash_lib.c219 uint32_t write_size; in spi_n25q256a_program_data() local
237 write_size = remaining_bytes; in spi_n25q256a_program_data()
239 write_size = MAX_PROGRAM_SIZE; in spi_n25q256a_program_data()
241 for (int i = 0; i < write_size; i++) { in spi_n25q256a_program_data()
247 write_size + 5); in spi_n25q256a_program_data()
263 remaining_bytes -= write_size; in spi_n25q256a_program_data()
264 current_addr += write_size; in spi_n25q256a_program_data()
Dspi_sst26vf064b_flash_lib.c257 uint32_t write_size; in spi_sst26vf064b_program_data() local
275 write_size = remaining_bytes; in spi_sst26vf064b_program_data()
277 write_size = MAX_PROGRAM_SIZE; in spi_sst26vf064b_program_data()
279 for (int i = 0; i < write_size; i++) { in spi_sst26vf064b_program_data()
284 write_size + 4); in spi_sst26vf064b_program_data()
294 remaining_bytes -= write_size; in spi_sst26vf064b_program_data()
295 current_addr += write_size; in spi_sst26vf064b_program_data()
/trusted-firmware-m-3.4.0/bl2/src/
Dflash_map.c220 uint32_t write_size; in flash_area_write() local
309 write_size = FLOOR_ALIGN(len - src_written_idx, FLASH_PROGRAM_UNIT); in flash_area_write()
310 if (write_size > 0) { in flash_area_write()
314 write_size / data_width) < 0) { in flash_area_write()
317 src_written_idx += write_size; in flash_area_write()
337 write_size = add_padding_size + last_unit_start_off + in flash_area_write()
340 aligned_len != write_size) { in flash_area_write()
/trusted-firmware-m-3.4.0/secure_fw/partitions/firmware_update/
Dtfm_fwu_req_mngr.c110 size_t write_size, num; in tfm_fwu_write() local
146 write_size = sizeof(block) <= block_size ? in tfm_fwu_write()
148 num = psa_read(msg->handle, 2, block, write_size); in tfm_fwu_write()
149 if (num != write_size) { in tfm_fwu_write()
156 write_size); in tfm_fwu_write()
160 block_size -= write_size; in tfm_fwu_write()
161 image_offset += write_size; in tfm_fwu_write()