Searched refs:bytes_to_copy (Results 1 – 5 of 5) sorted by relevance
/Zephyr-Core-3.6.0/drivers/flash/ |
D | soc_flash_nios2_qspi.c | 190 uint32_t word_to_write, padding, bytes_to_copy; in flash_nios2_qspi_write_block() local 202 bytes_to_copy = NIOS2_WRITE_BLOCK_SIZE; in flash_nios2_qspi_write_block() 219 bytes_to_copy -= padding; 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() 239 if (padding + bytes_to_copy > NIOS2_WRITE_BLOCK_SIZE) { in flash_nios2_qspi_write_block() 247 bytes_to_copy); in flash_nios2_qspi_write_block() 270 buffer_offset += bytes_to_copy; in flash_nios2_qspi_write_block() [all …]
|
/Zephyr-Core-3.6.0/drivers/usb/device/ |
D | usb_dc_dw.c | 1235 uint32_t i, j, data_len, bytes_to_copy; in usb_dc_ep_read_wait() local 1275 bytes_to_copy = max_data_len; in usb_dc_ep_read_wait() 1277 bytes_to_copy = data_len; in usb_dc_ep_read_wait() 1281 bytes_to_copy); in usb_dc_ep_read_wait() 1284 for (i = 0U; i < (bytes_to_copy & ~0x3); i += 4U) { in usb_dc_ep_read_wait() 1287 if (bytes_to_copy & 0x3) { in usb_dc_ep_read_wait() 1291 for (j = 0U; j < (bytes_to_copy & 0x3); j++) { in usb_dc_ep_read_wait() 1297 usb_dw_ctrl.out_ep_ctrl[ep_idx].data_len -= bytes_to_copy; in usb_dc_ep_read_wait() 1300 *read_bytes = bytes_to_copy; in usb_dc_ep_read_wait()
|
D | usb_dc_nrfx.c | 1718 uint32_t bytes_to_copy; in usb_dc_ep_read_wait() local 1744 bytes_to_copy = MIN(max_data_len, ep_ctx->buf.len); in usb_dc_ep_read_wait() 1754 memcpy(data, ep_ctx->buf.curr, bytes_to_copy); in usb_dc_ep_read_wait() 1756 ep_ctx->buf.curr += bytes_to_copy; in usb_dc_ep_read_wait() 1757 ep_ctx->buf.len -= bytes_to_copy; in usb_dc_ep_read_wait() 1759 *read_bytes = bytes_to_copy; in usb_dc_ep_read_wait()
|
/Zephyr-Core-3.6.0/subsys/fs/nvs/ |
D | nvs.c | 264 size_t bytes_to_copy, block_size; in nvs_flash_block_move() local 271 bytes_to_copy = MIN(block_size, len); in nvs_flash_block_move() 272 rc = nvs_flash_rd(fs, addr, buf, bytes_to_copy); in nvs_flash_block_move() 276 rc = nvs_flash_data_wrt(fs, buf, bytes_to_copy); in nvs_flash_block_move() 280 len -= bytes_to_copy; in nvs_flash_block_move() 281 addr += bytes_to_copy; in nvs_flash_block_move()
|
/Zephyr-Core-3.6.0/kernel/ |
D | thread.c | 308 size_t bytes_to_copy; in copy_bytes() local 310 bytes_to_copy = MIN(dest_size, src_size); in copy_bytes() 311 memcpy(dest, src, bytes_to_copy); in copy_bytes() 313 return bytes_to_copy; in copy_bytes()
|