Searched refs:dst_offset (Results 1 – 4 of 4) sorted by relevance
/Zephyr-latest/drivers/flash/ |
D | flash_util.c | 125 off_t dst_offset, off_t size, uint8_t *buf, size_t buf_size) in z_impl_flash_copy() argument 131 if ((src_offset < 0) || (dst_offset < 0) || (size < 0) || (buf == NULL) || in z_impl_flash_copy() 133 off_add_overflow(dst_offset, size, &end)) { in z_impl_flash_copy() 139 if (src_offset == dst_offset) { in z_impl_flash_copy() 143 if (flash_ranges_overlap(src_offset, size, dst_offset, size) != 0) { in z_impl_flash_copy() 183 ret = flash_write(dst_dev, dst_offset + offs, buf, bytes_read); in z_impl_flash_copy() 196 off_t dst_offset, off_t size, uint8_t *buf, size_t buf_size) in z_vrfy_flash_copy() argument 199 return z_impl_flash_copy(src_dev, src_offset, dst_dev, dst_offset, size, buf, buf_size); in z_vrfy_flash_copy()
|
D | flash_shell.c | 187 uint32_t dst_offset = 0; in cmd_copy() local 199 dst_offset = strtoul(argv[4], NULL, 0); in cmd_copy() 203 ret = flash_copy(src_dev, src_offset, dst_dev, dst_offset, size, flash_load_buf, in cmd_copy() 211 dst_offset); in cmd_copy()
|
/Zephyr-latest/tests/drivers/flash/common/src/ |
D | main.c | 392 const struct device *dst_dev, off_t dst_offset, off_t size, in test_flash_copy_inner() argument 397 if ((expected_result == 0) && (size != 0) && (src_offset != dst_offset)) { in test_flash_copy_inner() 406 actual_result = flash_copy(src_dev, src_offset, dst_dev, dst_offset, size, buf, buf_size); in test_flash_copy_inner() 409 src_dev, src_offset, dst_dev, dst_offset, size, buf, buf_size, in test_flash_copy_inner() 412 if ((expected_result == 0) && (size != 0) && (src_offset != dst_offset)) { in test_flash_copy_inner()
|
/Zephyr-latest/include/zephyr/drivers/ |
D | flash.h | 655 const struct device *dst_dev, off_t dst_offset, off_t size, uint8_t *buf,
|