Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/flash/
Dflash_util.c124 int z_impl_flash_copy(const struct device *src_dev, off_t src_offset, const struct device *dst_dev, in z_impl_flash_copy() argument
138 if (src_dev == dst_dev) { in z_impl_flash_copy()
153 if (!device_is_ready(dst_dev)) { in z_impl_flash_copy()
158 write_size = flash_get_write_block_size(dst_dev); in z_impl_flash_copy()
170 (const struct flash_driver_api *)dst_dev->api; in z_impl_flash_copy()
171 const struct flash_parameters *params = api->get_parameters(dst_dev); in z_impl_flash_copy()
183 ret = flash_write(dst_dev, dst_offset + offs, buf, bytes_read); in z_impl_flash_copy()
195 int z_vrfy_flash_copy(const struct device *src_dev, off_t src_offset, const struct device *dst_dev, 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()
Dflash_shell.c189 const struct device *dst_dev = NULL; in cmd_copy() local
197 dst_dev = shell_device_get_binding(argv[2]); in cmd_copy()
203 ret = flash_copy(src_dev, src_offset, dst_dev, dst_offset, size, flash_load_buf, in cmd_copy()
/Zephyr-latest/tests/drivers/flash/common/src/
Dmain.c392 const struct device *dst_dev, off_t dst_offset, off_t size, in test_flash_copy_inner() argument
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()
/Zephyr-latest/include/zephyr/drivers/
Dflash.h655 const struct device *dst_dev, off_t dst_offset, off_t size, uint8_t *buf,