Home
last modified time | relevance | path

Searched refs:flash_write (Results 1 – 25 of 35) sorted by relevance

12

/Zephyr-Core-3.5.0/tests/drivers/flash_simulator/src/
Dmain.c119 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/
Dflash_ite_it8xxx2.c272 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()
Dflash_shell.c143 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()
DKconfig.at4525 bool "Use Read-Modify-Write command in flash_write()"
/Zephyr-Core-3.5.0/tests/boards/altera_max10/qspi/src/
Dqspi_flash.c49 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/
Dmain.c68 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/
Despi_saf.h159 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()
Despi.h470 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()
Dflash.h201 __syscall int flash_write(const struct device *dev, off_t offset,
/Zephyr-Core-3.5.0/samples/drivers/spi_flash_at45/src/
Dmain.c109 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/
Dmain.c66 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/
Dmain.c62 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/
Dmain.c44 flash_write(flash_device, address, &buffer, sizeof(buffer)); in main()
/Zephyr-Core-3.5.0/tests/subsys/shell/shell_flash/src/
Dshell_flash_test.c54 ret = flash_write(flash_dev, test_base, data, test_size); in ZTEST()
/Zephyr-Core-3.5.0/tests/drivers/flash/stm32/src/
Dmain.c124 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/
Despi_handlers.c186 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/
Dflash_map.c73 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/
Dmain.c211 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/
Dmain.c655 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/
Dsettings_test_fcb_init.c123 err = flash_write(dev, (off_t)&prepared_mark, &new_val, in test_prepare_storage()
/Zephyr-Core-3.5.0/tests/drivers/flash/common/src/
Dmain.c112 rc = flash_write(flash_dev, in ZTEST()
/Zephyr-Core-3.5.0/tests/boards/espressif_esp32/cache_coex/src/
Dcache_coex.c136 rc = flash_write(flash_dev, in page_write()
/Zephyr-Core-3.5.0/tests/subsys/storage/flash_map/src/
Dmain.c79 rc = flash_write(flash_dev, fa->fa_off + off + in ZTEST()
/Zephyr-Core-3.5.0/subsys/storage/stream/
Dstream_flash.c142 rc = flash_write(ctx->fdev, write_addr, ctx->buf, buf_bytes_aligned); in flash_sync()
/Zephyr-Core-3.5.0/drivers/disk/
Dflashdisk.c221 if (flash_write(ctx->info.dev, ctx->cached_addr, ctx->cache, ctx->page_size) < 0) { in flashdisk_cache_commit()

12