Searched refs:remaining_length (Results 1 – 4 of 4) 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 …]
369 size_t remaining_length = data_len; in prepare_cf_frames() local371 for (i = 0; i < frames_cnt && remaining_length; i++) { in prepare_cf_frames()376 if (remaining_length < DATA_SIZE_CF) { in prepare_cf_frames()379 uint8_t padded_dlc = can_bytes_to_dlc(MAX(8, remaining_length + 1)); in prepare_cf_frames()382 memset(&frames[i].data[remaining_length + 1], 0xCC, in prepare_cf_frames()383 padded_len - remaining_length - 1); in prepare_cf_frames()386 frames[i].length = remaining_length + 1; in prepare_cf_frames()388 remaining_length = 0; in prepare_cf_frames()391 remaining_length -= DATA_SIZE_CF; in prepare_cf_frames()561 size_t remaining_length = DATA_SEND_LENGTH; in ZTEST() local[all …]
151 volatile uint32_t remaining_length = size; in bt_firmware_download() local168 while (remaining_length) { in bt_firmware_download()194 remaining_length -= data_length + 3; in bt_firmware_download()198 remaining_length = 0; in bt_firmware_download()
117 volatile uint32_t remaining_length = size; in cyw208xx_bt_firmware_download() local128 while (remaining_length) { in cyw208xx_bt_firmware_download()154 remaining_length -= data_length + 3; in cyw208xx_bt_firmware_download()158 remaining_length = 0; in cyw208xx_bt_firmware_download()