Home
last modified time | relevance | path

Searched refs:flash_read (Results 1 – 25 of 29) sorted by relevance

12

/Zephyr-Core-3.5.0/tests/boards/altera_max10/qspi/src/
Dqspi_flash.c36 zassert_equal(flash_read(flash_dev, offset, in ZTEST()
52 zassert_equal(flash_read(flash_dev, offset, in ZTEST()
65 zassert_equal(flash_read(flash_dev, offset + sizeof(wr_val) + 1, in ZTEST()
/Zephyr-Core-3.5.0/tests/drivers/flash_simulator/src/
Dmain.c67 rc = flash_read(flash_dev, start + off, &r_val32, in test_check_pattern32()
95 rc = flash_read(flash_dev, FLASH_SIMULATOR_BASE_OFFSET, in ZTEST()
131 rc = flash_read(flash_dev, FLASH_SIMULATOR_BASE_OFFSET + in test_write_read()
218 rc = flash_read(flash_dev, FLASH_SIMULATOR_BASE_OFFSET - 4, in ZTEST()
222 rc = flash_read(flash_dev, FLASH_SIMULATOR_BASE_OFFSET - 4, in ZTEST()
226 rc = flash_read(flash_dev, TEST_SIM_FLASH_END, in ZTEST()
230 rc = flash_read(flash_dev, TEST_SIM_FLASH_END - 4, data, 8); in ZTEST()
239 rc = flash_read(flash_dev, FLASH_SIMULATOR_BASE_OFFSET + 1, in ZTEST()
/Zephyr-Core-3.5.0/samples/drivers/spi_flash_at45/src/
Dmain.c53 err = flash_read(flash_dev, TEST_REGION_OFFSET, &data, 1); in main()
89 err = flash_read(flash_dev, TEST_REGION_OFFSET, in main()
129 err = flash_read(flash_dev, TEST_REGION_OFFSET, in main()
/Zephyr-Core-3.5.0/samples/drivers/spi_flash/src/
Dmain.c69 rc = flash_read(flash_dev, SPI_FLASH_TEST_REGION_OFFSET, buf, len); in single_sector_test()
123 rc = flash_read(flash_dev, offs, buf, len); in multi_sector_test()
151 rc = flash_read(flash_dev, offs, buf, len); in multi_sector_test()
/Zephyr-Core-3.5.0/samples/drivers/soc_flash_nrf/src/
Dmain.c74 if (flash_read(flash_dev, offset, &buf_word, in main()
106 if (flash_read(flash_dev, offset, &buf_word, in main()
137 if (flash_read(flash_dev, offset, &buf_word, in main()
/Zephyr-Core-3.5.0/tests/drivers/flash/stm32/src/
Dmain.c84 rc = flash_read(flash_dev, TEST_AREA_OFFSET, buf, EXPECTED_SIZE); in flash_stm32_setup()
128 rc = flash_read(flash_dev, TEST_AREA_OFFSET, buf, EXPECTED_SIZE); in ZTEST()
150 rc = flash_read(flash_dev, TEST_AREA_OFFSET, buf, EXPECTED_SIZE); in ZTEST()
/Zephyr-Core-3.5.0/include/zephyr/drivers/
Despi_saf.h158 espi_saf_api_flash_read flash_read; member
321 if (!api->flash_read) { in z_impl_espi_saf_flash_read()
325 return api->flash_read(dev, pckt); in z_impl_espi_saf_flash_read()
Despi.h469 espi_api_flash_read flash_read; member
818 if (!api->flash_read) { in z_impl_espi_read_flash()
822 return api->flash_read(dev, pckt); in z_impl_espi_read_flash()
Dflash.h170 __syscall int flash_read(const struct device *dev, off_t offset, void *data,
/Zephyr-Core-3.5.0/tests/drivers/flash/common/src/
Dmain.c71 rc = flash_read(flash_dev, TEST_AREA_OFFSET, in flash_driver_setup()
127 rc = flash_read(flash_dev, in ZTEST()
/Zephyr-Core-3.5.0/samples/boards/esp32/flash_encryption/src/
Dmain.c53 flash_read(flash_device, address, &buffer, sizeof(buffer)); in main()
/Zephyr-Core-3.5.0/subsys/storage/flash_map/
Dflash_map.c63 return flash_read(fa->fa_dev, fa->fa_off + off, dst, len); in flash_area_read()
Dflash_map_integrity.c81 rc = flash_read(fa->fa_dev, (fa->fa_off + fac->off + pos), in flash_area_check_int_sha256()
/Zephyr-Core-3.5.0/samples/drivers/flash_shell/src/
Dmain.c167 ret = flash_read(flash_device, offset, buf, read_len); in do_read()
260 flash_read(flash_device, start_page, before_data, size_before); in do_write_unaligned()
266 flash_read(flash_device, offset + len, in do_write_unaligned()
273 flash_read(flash_device, start_page, before_data, in do_write_unaligned()
286 flash_read(flash_device, offset + len, in do_write_unaligned()
/Zephyr-Core-3.5.0/drivers/flash/
Dflash_shell.c150 if (flash_read(flash_dev, w_addr, check_array, op_size) < 0) { in cmd_write()
189 ret = flash_read(flash_dev, addr, data, todo); in cmd_read()
255 result = flash_read(flash_dev, addr, check_arr, size); in cmd_test()
350 result = flash_read(flash_dev, addr, test_arr, size); in cmd_read_test()
/Zephyr-Core-3.5.0/tests/boards/espressif_esp32/cache_coex/src/
Dcache_coex.c115 rc = flash_read(flash_dev, in page_read()
/Zephyr-Core-3.5.0/drivers/espi/
Despi_handlers.c167 Z_OOPS(Z_SYSCALL_DRIVER_ESPI(dev, flash_read)); in z_vrfy_espi_read_flash()
Despi_saf_mchp_xec.c826 .flash_read = saf_xec_flash_read,
Despi_saf_mchp_xec_v2.c1070 .flash_read = saf_xec_flash_read,
/Zephyr-Core-3.5.0/drivers/disk/
Dflashdisk.c189 } else if (flash_read(disk->dev, fl_addr + offset, buff, len) < 0) { in disk_flash_access_read()
252 rc = flash_read(ctx->info.dev, fl_addr, ctx->cache, ctx->page_size); in flashdisk_cache_load()
/Zephyr-Core-3.5.0/tests/subsys/storage/flash_map/src/
Dmain.c72 rc = flash_read(flash_dev, fa->fa_off + off, rd, sizeof(rd)); in ZTEST()
/Zephyr-Core-3.5.0/subsys/storage/stream/
Dstream_flash.c158 rc = flash_read(ctx->fdev, write_addr, ctx->buf, in flash_sync()
/Zephyr-Core-3.5.0/tests/subsys/storage/stream/stream_flash/src/
Dmain.c48 rc = flash_read(fdev, FLASH_BASE + start, read_buf, size); \
/Zephyr-Core-3.5.0/drivers/eeprom/
Deeprom_emulator.c114 return flash_read(dev_config->flash_dev, dev_config->flash_offset + in eeprom_emu_flash_read()
/Zephyr-Core-3.5.0/subsys/fs/nvs/
Dnvs.c155 rc = flash_read(fs->flash_device, offset, data, len); in nvs_flash_rd()

12