Searched refs:dst_dev (Results 1 – 4 of 4) sorted by relevance
/Zephyr-latest/drivers/flash/ |
D | flash_util.c | 124 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()
|
D | flash_shell.c | 189 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/ |
D | main.c | 392 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/ |
D | flash.h | 655 const struct device *dst_dev, off_t dst_offset, off_t size, uint8_t *buf,
|