Searched refs:remaining_length (Results 1 – 3 of 3) sorted by relevance
81 uint32_t remaining_length = len; /* length of data left to be erased */ in flash_nios2_qspi_erase() local106 if ((remaining_length <= 0U) || in flash_nios2_qspi_erase()125 remaining_length); in flash_nios2_qspi_erase()164 remaining_length -= length_to_erase; in flash_nios2_qspi_erase()188 int32_t remaining_length = len; /* length left to write */ in flash_nios2_qspi_write_block() local194 while (remaining_length > 0) { in flash_nios2_qspi_write_block()221 if (bytes_to_copy > remaining_length) { in flash_nios2_qspi_write_block()222 bytes_to_copy = remaining_length; in flash_nios2_qspi_write_block()233 if (bytes_to_copy > remaining_length) { in flash_nios2_qspi_write_block()234 bytes_to_copy = remaining_length; in flash_nios2_qspi_write_block()[all …]
370 size_t remaining_length = data_len; in prepare_cf_frames() local372 for (i = 0; i < frames_cnt && remaining_length; i++) { in prepare_cf_frames()377 if (remaining_length < DATA_SIZE_CF) { in prepare_cf_frames()380 uint8_t padded_dlc = can_bytes_to_dlc(MAX(8, remaining_length + 1)); in prepare_cf_frames()383 memset(&frames[i].data[remaining_length + 1], 0xCC, in prepare_cf_frames()384 padded_len - remaining_length - 1); in prepare_cf_frames()387 frames[i].length = remaining_length + 1; in prepare_cf_frames()389 remaining_length = 0; in prepare_cf_frames()392 remaining_length -= DATA_SIZE_CF; in prepare_cf_frames()562 size_t remaining_length = DATA_SEND_LENGTH; in ZTEST() local[all …]
149 volatile uint32_t remaining_length = size; in bt_firmware_download() local166 while (remaining_length) { in bt_firmware_download()192 remaining_length -= data_length + 3; in bt_firmware_download()196 remaining_length = 0; in bt_firmware_download()