/Zephyr-Core-3.5.0/tests/drivers/flash_simulator/src/ |
D | main.c | 119 rc = flash_write(flash_dev, FLASH_SIMULATOR_BASE_OFFSET + in test_write_read() 183 rc = flash_write(flash_dev, FLASH_SIMULATOR_BASE_OFFSET - 4, in ZTEST() 187 rc = flash_write(flash_dev, FLASH_SIMULATOR_BASE_OFFSET - 4, in ZTEST() 191 rc = flash_write(flash_dev, TEST_SIM_FLASH_END, in ZTEST() 195 rc = flash_write(flash_dev, TEST_SIM_FLASH_END - 4, in ZTEST() 243 rc = flash_write(flash_dev, FLASH_SIMULATOR_BASE_OFFSET + 1, in ZTEST() 247 rc = flash_write(flash_dev, FLASH_SIMULATOR_BASE_OFFSET, in ZTEST() 277 rc = flash_write(flash_dev, FLASH_SIMULATOR_BASE_OFFSET, in ZTEST() 281 rc = flash_write(flash_dev, FLASH_SIMULATOR_BASE_OFFSET, in ZTEST()
|
/Zephyr-Core-3.5.0/drivers/flash/ |
D | flash_ite_it8xxx2.c | 272 uint8_t flash_write[] = {FLASH_CMD_WRITE, ((addr >> 16) & 0xFF), in ramcode_flash_cmd_write() local 278 ramcode_flash_transaction(sizeof(flash_write), flash_write, 0, NULL, CMD_CONTINUE); in ramcode_flash_cmd_write() 299 flash_write[1] = (addr >> 16) & GENMASK(7, 0); in ramcode_flash_cmd_write() 300 flash_write[2] = (addr >> 8) & GENMASK(7, 0); in ramcode_flash_cmd_write() 301 flash_write[3] = addr & GENMASK(7, 0); in ramcode_flash_cmd_write() 302 ramcode_flash_transaction(sizeof(flash_write), flash_write, in ramcode_flash_cmd_write()
|
D | flash_shell.c | 143 if (flash_write(flash_dev, w_addr, buf_array, op_size) != 0) { in cmd_write() 246 result = flash_write(flash_dev, addr, test_arr, size); in cmd_test() 398 result = flash_write(flash_dev, addr, test_arr, size); in cmd_write_test() 496 result_write = flash_write(flash_dev, addr, test_arr, size); in cmd_erase_write_test() 574 int rc = flash_write(flash_load_dev, addr, flash_load_buf, in bypass_cb() 597 int rc = flash_write(flash_load_dev, addr, flash_load_buf, flash_load_boff); in bypass_cb()
|
D | Kconfig.at45 | 25 bool "Use Read-Modify-Write command in flash_write()"
|
/Zephyr-Core-3.5.0/tests/boards/altera_max10/qspi/src/ |
D | qspi_flash.c | 49 zassert_equal(flash_write(flash_dev, offset, in ZTEST() 62 zassert_equal(flash_write(flash_dev, offset + sizeof(wr_val), in ZTEST()
|
/Zephyr-Core-3.5.0/samples/drivers/soc_flash_nrf/src/ |
D | main.c | 68 if (flash_write(flash_dev, offset, &buf_array_1[i], in main() 100 if (flash_write(flash_dev, offset, &buf_array_2[i], in main() 131 if (flash_write(flash_dev, offset, &buf_array_3[i], in main()
|
/Zephyr-Core-3.5.0/include/zephyr/drivers/ |
D | espi_saf.h | 159 espi_saf_api_flash_write flash_write; member 350 if (!api->flash_write) { in z_impl_espi_saf_flash_write() 354 return api->flash_write(dev, pckt); in z_impl_espi_saf_flash_write()
|
D | espi.h | 470 espi_api_flash_write flash_write; member 847 if (!api->flash_write) { in z_impl_espi_write_flash() 851 return api->flash_write(dev, pckt); in z_impl_espi_write_flash()
|
D | flash.h | 201 __syscall int flash_write(const struct device *dev, off_t offset,
|
/Zephyr-Core-3.5.0/samples/drivers/spi_flash_at45/src/ |
D | main.c | 109 err = flash_write(flash_dev, TEST_REGION_OFFSET, in main() 119 err = flash_write(flash_dev, TEST_REGION_OFFSET + TEST_REGION_SIZE/2, in main()
|
/Zephyr-Core-3.5.0/samples/arch/mpu/mpu_test/src/ |
D | main.c | 66 if (flash_write(flash_dev, offset, value, in cmd_write_mcux() 87 if (flash_write(flash_dev, offset, &value, sizeof(value)) != 0) { in cmd_write_stm32()
|
/Zephyr-Core-3.5.0/samples/drivers/spi_flash/src/ |
D | main.c | 62 rc = flash_write(flash_dev, SPI_FLASH_TEST_REGION_OFFSET, expected, len); in single_sector_test() 144 rc = flash_write(flash_dev, offs, expected, len); in multi_sector_test()
|
/Zephyr-Core-3.5.0/samples/boards/esp32/flash_encryption/src/ |
D | main.c | 44 flash_write(flash_device, address, &buffer, sizeof(buffer)); in main()
|
/Zephyr-Core-3.5.0/tests/subsys/shell/shell_flash/src/ |
D | shell_flash_test.c | 54 ret = flash_write(flash_dev, test_base, data, test_size); in ZTEST()
|
/Zephyr-Core-3.5.0/tests/drivers/flash/stm32/src/ |
D | main.c | 124 rc = flash_write(flash_dev, TEST_AREA_OFFSET, expected, EXPECTED_SIZE); in ZTEST() 146 rc = flash_write(flash_dev, TEST_AREA_OFFSET, expected, EXPECTED_SIZE); in ZTEST()
|
/Zephyr-Core-3.5.0/drivers/espi/ |
D | espi_handlers.c | 186 Z_OOPS(Z_SYSCALL_DRIVER_ESPI(dev, flash_write)); in z_vrfy_espi_write_flash() 203 Z_OOPS(Z_SYSCALL_DRIVER_ESPI(dev, flash_write)); in z_vrfy_espi_flash_erase()
|
/Zephyr-Core-3.5.0/subsys/storage/flash_map/ |
D | flash_map.c | 73 return flash_write(fa->fa_dev, fa->fa_off + off, (void *)src, len); in flash_area_write()
|
/Zephyr-Core-3.5.0/samples/drivers/flash_shell/src/ |
D | main.c | 211 ret = flash_write(flash_device, offset, buf, len); in do_write() 242 flash_write(flash_device, offset, buf, len); in do_write_unaligned() 298 flash_write(flash_device, start_page, before_data, in do_write_unaligned() 316 flash_write(flash_device, middle_page_start, in do_write_unaligned() 323 flash_write(flash_device, last_page, after_data, in do_write_unaligned()
|
/Zephyr-Core-3.5.0/tests/subsys/fs/nvs/src/ |
D | main.c | 655 err = flash_write(fixture->fs.flash_device, fixture->fs.offset + fixture->fs.sector_size - in ZTEST_F() 661 err = flash_write(fixture->fs.flash_device, fixture->fs.offset + fixture->fs.sector_size - in ZTEST_F() 667 err = flash_write(fixture->fs.flash_device, fixture->fs.offset, &data, sizeof(data)); in ZTEST_F() 671 err = flash_write(fixture->fs.flash_device, in ZTEST_F() 709 err = flash_write(fixture->fs.flash_device, fixture->fs.offset + fixture->fs.sector_size - in ZTEST_F() 715 err = flash_write(fixture->fs.flash_device, in ZTEST_F() 721 err = flash_write(fixture->fs.flash_device, in ZTEST_F()
|
/Zephyr-Core-3.5.0/tests/subsys/settings/fcb_init/src/ |
D | settings_test_fcb_init.c | 123 err = flash_write(dev, (off_t)&prepared_mark, &new_val, in test_prepare_storage()
|
/Zephyr-Core-3.5.0/tests/drivers/flash/common/src/ |
D | main.c | 112 rc = flash_write(flash_dev, in ZTEST()
|
/Zephyr-Core-3.5.0/tests/boards/espressif_esp32/cache_coex/src/ |
D | cache_coex.c | 136 rc = flash_write(flash_dev, in page_write()
|
/Zephyr-Core-3.5.0/tests/subsys/storage/flash_map/src/ |
D | main.c | 79 rc = flash_write(flash_dev, fa->fa_off + off + in ZTEST()
|
/Zephyr-Core-3.5.0/subsys/storage/stream/ |
D | stream_flash.c | 142 rc = flash_write(ctx->fdev, write_addr, ctx->buf, buf_bytes_aligned); in flash_sync()
|
/Zephyr-Core-3.5.0/drivers/disk/ |
D | flashdisk.c | 221 if (flash_write(ctx->info.dev, ctx->cached_addr, ctx->cache, ctx->page_size) < 0) { in flashdisk_cache_commit()
|