Searched refs:write_size (Results 1 – 5 of 5) sorted by relevance
81 uint32_t write_size; in cfi_strataflashj3_program_data_byte() local87 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()
219 uint32_t write_size; in spi_n25q256a_program_data() local237 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()
257 uint32_t write_size; in spi_sst26vf064b_program_data() local275 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()
220 uint32_t write_size; in flash_area_write() local309 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()
110 size_t write_size, num; in tfm_fwu_write() local146 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()