Home
last modified time | relevance | path

Searched refs:remaining_length (Results 1 – 4 of 4) sorted by relevance

/Zephyr-latest/drivers/flash/
Dsoc_flash_nios2_qspi.c81 uint32_t remaining_length = len; /* length of data left to be erased */ in flash_nios2_qspi_erase() local
106 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() local
194 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 …]
/Zephyr-latest/tests/subsys/canbus/isotp/conformance/src/
Dmain.c369 size_t remaining_length = data_len; in prepare_cf_frames() local
371 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 …]
/Zephyr-latest/drivers/bluetooth/hci/
Dh4_ifx_cyw43xxx.c151 volatile uint32_t remaining_length = size; in bt_firmware_download() local
168 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()
Dhci_ifx_cyw208xx.c117 volatile uint32_t remaining_length = size; in cyw208xx_bt_firmware_download() local
128 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()