/Zephyr-latest/tests/drivers/flash_simulator/flash_sim_impl/src/ |
D | main.c | 161 rc = flash_write(flash_dev, FLASH_SIMULATOR_BASE_OFFSET + in test_write_read() 225 rc = flash_write(flash_dev, FLASH_SIMULATOR_BASE_OFFSET - 4, in ZTEST() 229 rc = flash_write(flash_dev, FLASH_SIMULATOR_BASE_OFFSET - 4, in ZTEST() 233 rc = flash_write(flash_dev, TEST_SIM_FLASH_END, in ZTEST() 237 rc = flash_write(flash_dev, TEST_SIM_FLASH_END - 4, in ZTEST() 285 rc = flash_write(flash_dev, FLASH_SIMULATOR_BASE_OFFSET + 1, in ZTEST() 289 rc = flash_write(flash_dev, FLASH_SIMULATOR_BASE_OFFSET, in ZTEST() 321 rc = flash_write(flash_dev, FLASH_SIMULATOR_BASE_OFFSET, in ZTEST() 325 rc = flash_write(flash_dev, FLASH_SIMULATOR_BASE_OFFSET, in ZTEST() 352 rc = flash_write(flash_dev, FLASH_SIMULATOR_BASE_OFFSET + i, in ZTEST() [all …]
|
/Zephyr-latest/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 | 160 if (flash_write(flash_dev, w_addr, buf_array, op_size) != 0) { in cmd_write() 297 result = flash_write(flash_dev, addr, test_arr, size); in cmd_test() 449 result = flash_write(flash_dev, addr, test_arr, size); in cmd_write_test() 547 result_write = flash_write(flash_dev, addr, test_arr, size); in cmd_erase_write_test() 613 int rc = flash_write(flash_load_dev, addr, flash_load_buf, in bypass_cb() 636 int rc = flash_write(flash_load_dev, addr, flash_load_buf, flash_load_boff); in bypass_cb()
|
D | Kconfig.at45 | 26 bool "Use Read-Modify-Write command in flash_write()"
|
/Zephyr-latest/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-latest/tests/drivers/flash/negative_tests/src/ |
D | main.c | 226 rc = flash_write(flash_dev, (TEST_FLASH_START - page_info.size), expected, page_info.size); in ZTEST() 230 rc = flash_write(flash_dev, (TEST_FLASH_START + TEST_FLASH_SIZE), expected, page_info.size); in ZTEST() 234 rc = flash_write(flash_dev, (TEST_AREA_OFFSET + 1), expected, (TEST_FLASH_SIZE + 1)); in ZTEST() 238 rc = flash_write(flash_dev, TEST_AREA_OFFSET, expected, 0); in ZTEST()
|
/Zephyr-latest/samples/drivers/soc_flash_nrf/src/ |
D | main.c | 101 if (flash_write(flash_dev, offset, &buf_array_1[i], in main() 130 if (flash_write(flash_dev, offset, &buf_array_2[i], in main() 159 if (flash_write(flash_dev, offset, &buf_array_3[i], in main()
|
/Zephyr-latest/include/zephyr/drivers/ |
D | espi_saf.h | 161 espi_saf_api_flash_write flash_write; member 353 if (!api->flash_write) { in z_impl_espi_saf_flash_write() 357 return api->flash_write(dev, pckt); in z_impl_espi_saf_flash_write()
|
D | espi.h | 500 espi_api_flash_write flash_write; member 877 if (!api->flash_write) { in z_impl_espi_write_flash() 881 return api->flash_write(dev, pckt); in z_impl_espi_write_flash()
|
/Zephyr-latest/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-latest/samples/drivers/mspi/mspi_flash/src/ |
D | main.c | 49 rc = flash_write(flash_dev, SPI_FLASH_TEST_REGION_OFFSET, expected, len); in single_sector_test() 132 rc = flash_write(flash_dev, offs, expected, len); in multi_sector_test()
|
/Zephyr-latest/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-latest/samples/boards/espressif/flash_encryption/src/ |
D | main.c | 45 flash_write(flash_device, address, &buffer, sizeof(buffer)); in main()
|
/Zephyr-latest/tests/drivers/flash_simulator/flash_sim_reboot/src/ |
D | main.c | 31 rc = flash_write(flash_dev, 0, &word, sizeof(word)); in ZTEST()
|
/Zephyr-latest/samples/boards/espressif/flash_memory_mapped/src/ |
D | main.c | 47 flash_write(flash_device, address, buffer, 32); in main()
|
/Zephyr-latest/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-latest/samples/drivers/spi_flash/src/ |
D | main.c | 91 rc = flash_write(flash_dev, SPI_FLASH_TEST_REGION_OFFSET, expected, len); in single_sector_test() 173 rc = flash_write(flash_dev, offs, expected, len); in multi_sector_test()
|
/Zephyr-latest/drivers/fpga/ |
D | fpga_mpfs.c | 110 rc = flash_write(flash_dev, SPI_FLASH_DIRECTORY_OFFSET, buf, len); in update_spi_flash_directory() 120 rc = flash_write(flash_dev, (SPI_FLASH_DIRECTORY_OFFSET + k * 0x100), buf, len); in update_spi_flash_directory() 187 rc = flash_write(flash_dev, (SPI_FLASH_NEW_IMAGE_OFFSET + i * SPI_FLASH_PAGE_SIZE), in program_new_image()
|
/Zephyr-latest/tests/subsys/bindesc/reading/src/ |
D | main.c | 44 flash_write(flash_dev, 0, descriptors, sizeof(descriptors)); in test_setup()
|
/Zephyr-latest/tests/subsys/fs/nvs/src/ |
D | main.c | 674 err = flash_write(fixture->fs.flash_device, fixture->fs.offset + fixture->fs.sector_size - in ZTEST_F() 680 err = flash_write(fixture->fs.flash_device, fixture->fs.offset + fixture->fs.sector_size - in ZTEST_F() 686 err = flash_write(fixture->fs.flash_device, fixture->fs.offset, &data, sizeof(data)); in ZTEST_F() 690 err = flash_write(fixture->fs.flash_device, fixture->fs.offset + sizeof(data), &data_crc, in ZTEST_F() 696 err = flash_write(fixture->fs.flash_device, in ZTEST_F() 734 err = flash_write(fixture->fs.flash_device, fixture->fs.offset + fixture->fs.sector_size - in ZTEST_F() 740 err = flash_write(fixture->fs.flash_device, in ZTEST_F() 746 err = flash_write(fixture->fs.flash_device, in ZTEST_F() 977 err = flash_write(fixture->fs.flash_device, in ZTEST_F()
|
/Zephyr-latest/drivers/espi/ |
D | espi_handlers.c | 186 K_OOPS(K_SYSCALL_DRIVER_ESPI(dev, flash_write)); in z_vrfy_espi_write_flash() 203 K_OOPS(K_SYSCALL_DRIVER_ESPI(dev, flash_write)); in z_vrfy_espi_flash_erase()
|
/Zephyr-latest/tests/drivers/flash/stm32/src/ |
D | main.c | 134 rc = flash_write(flash_dev, TEST_AREA_OFFSET, expected, EXPECTED_SIZE); in ZTEST() 156 rc = flash_write(flash_dev, TEST_AREA_OFFSET, expected, EXPECTED_SIZE); in ZTEST()
|
/Zephyr-latest/tests/subsys/fs/zms/src/ |
D | main.c | 608 err = flash_write(fixture->fs.flash_device, in ZTEST_F() 614 err = flash_write(fixture->fs.flash_device, in ZTEST_F() 620 err = flash_write(fixture->fs.flash_device, in ZTEST_F() 626 err = flash_write(fixture->fs.flash_device, in ZTEST_F() 665 err = flash_write(fixture->fs.flash_device, in ZTEST_F() 671 err = flash_write(fixture->fs.flash_device, in ZTEST_F() 677 err = flash_write(fixture->fs.flash_device, in ZTEST_F()
|
/Zephyr-latest/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-latest/samples/drivers/soc_flash_nand/src/ |
D | main.c | 89 ret = flash_write(nand_dev, OFFSET_PAGE, w_Page_buffer, page.size * NAND_NUM_PAGES); in main()
|