Home
last modified time | relevance | path

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

12

/Zephyr-latest/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-latest/tests/drivers/flash_simulator/flash_sim_impl/src/
Dmain.c71 rc = flash_read(flash_dev, start + off, &r_val32, in test_check_pattern32()
99 rc = flash_read(flash_dev, offset + i, in test_check_erase()
137 rc = flash_read(flash_dev, FLASH_SIMULATOR_BASE_OFFSET, in ZTEST()
173 rc = flash_read(flash_dev, FLASH_SIMULATOR_BASE_OFFSET + in test_write_read()
260 rc = flash_read(flash_dev, FLASH_SIMULATOR_BASE_OFFSET - 4, in ZTEST()
264 rc = flash_read(flash_dev, FLASH_SIMULATOR_BASE_OFFSET - 4, in ZTEST()
268 rc = flash_read(flash_dev, TEST_SIM_FLASH_END, in ZTEST()
272 rc = flash_read(flash_dev, TEST_SIM_FLASH_END - 4, data, 8); in ZTEST()
281 rc = flash_read(flash_dev, FLASH_SIMULATOR_BASE_OFFSET + 1, in ZTEST()
384 rc = flash_read(flash_dev, FLASH_SIMULATOR_BASE_OFFSET + i, in ZTEST()
[all …]
/Zephyr-latest/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-latest/samples/drivers/spi_flash/src/
Dmain.c76 rc = flash_read(flash_dev, SPI_FLASH_TEST_REGION_OFFSET, buf, len); in single_sector_test()
98 rc = flash_read(flash_dev, SPI_FLASH_TEST_REGION_OFFSET, buf, len); in single_sector_test()
152 rc = flash_read(flash_dev, offs, buf, len); in multi_sector_test()
180 rc = flash_read(flash_dev, offs, buf, len); in multi_sector_test()
/Zephyr-latest/samples/drivers/mspi/mspi_flash/src/
Dmain.c56 rc = flash_read(flash_dev, SPI_FLASH_TEST_REGION_OFFSET, buf, len); in single_sector_test()
111 rc = flash_read(flash_dev, offs, buf, len); in multi_sector_test()
139 rc = flash_read(flash_dev, offs, buf, len); in multi_sector_test()
/Zephyr-latest/tests/drivers/flash/negative_tests/src/
Dmain.c194 rc = flash_read(flash_dev, (TEST_FLASH_START - page_info.size), read_buf, EXPECTED_SIZE); in ZTEST()
198 rc = flash_read(flash_dev, (TEST_FLASH_START + TEST_FLASH_SIZE), read_buf, EXPECTED_SIZE); in ZTEST()
202 rc = flash_read(flash_dev, TEST_AREA_OFFSET, read_buf, (TEST_FLASH_SIZE + page_info.size)); in ZTEST()
206 rc = flash_read(flash_dev, TEST_AREA_OFFSET, read_buf, 0); in ZTEST()
/Zephyr-latest/samples/drivers/soc_flash_nrf/src/
Dmain.c107 if (flash_read(flash_dev, offset, &buf_word, in main()
136 if (flash_read(flash_dev, offset, &buf_word, in main()
165 if (flash_read(flash_dev, offset, &buf_word, in main()
/Zephyr-latest/include/zephyr/drivers/
Despi_saf.h160 espi_saf_api_flash_read flash_read; member
324 if (!api->flash_read) { in z_impl_espi_saf_flash_read()
328 return api->flash_read(dev, pckt); in z_impl_espi_saf_flash_read()
Despi.h499 espi_api_flash_read flash_read; member
848 if (!api->flash_read) { in z_impl_espi_read_flash()
852 return api->flash_read(dev, pckt); in z_impl_espi_read_flash()
/Zephyr-latest/tests/drivers/flash/common/src/
Dmain.c87 rc = flash_read(flash_dev, TEST_AREA_OFFSET, in flash_driver_before()
162 rc = flash_read(flash_dev, in ZTEST()
212 rc = flash_read(flash_dev, TEST_AREA_OFFSET, in ZTEST()
244 rc = flash_read(flash_dev, TEST_AREA_OFFSET, in ZTEST()
270 rc = flash_read(flash_dev, page_info.start_offset, read_buf, EXPECTED_SIZE); in ZTEST()
292 rc = flash_read(flash_dev, page_info.start_offset, read_buf, EXPECTED_SIZE); in ZTEST()
416 zassert_ok(flash_read(flash_dev, TEST_AREA_OFFSET, expected, copy_size)); in test_flash_copy_inner()
/Zephyr-latest/subsys/bindesc/
Dbindesc_read.c64 flash_retval = flash_read(handle->flash_device, (size_t)address, in get_entry()
77 flash_retval = flash_read(handle->flash_device, in get_entry()
137 retval = flash_read(flash_device, offset, handle->buffer, sizeof(BINDESC_MAGIC)); in bindesc_open_flash()
/Zephyr-latest/samples/drivers/soc_flash_nand/src/
Dmain.c98 ret = flash_read(nand_dev, OFFSET_PAGE, r_Page_buffer, page.size * NAND_NUM_PAGES); in main()
128 ret = flash_read(nand_dev, OFFSET_PAGE, r_Page_buffer, page.size * NAND_NUM_PAGES); in main()
/Zephyr-latest/samples/boards/espressif/flash_encryption/src/
Dmain.c54 flash_read(flash_device, address, &buffer, sizeof(buffer)); in main()
/Zephyr-latest/tests/drivers/flash_simulator/flash_sim_reboot/src/
Dmain.c39 rc = flash_read(flash_dev, 0, &word, sizeof(word)); in ZTEST()
/Zephyr-latest/tests/drivers/flash/stm32/src/
Dmain.c92 rc = flash_read(flash_dev, TEST_AREA_OFFSET, buf, EXPECTED_SIZE); in flash_stm32_setup()
138 rc = flash_read(flash_dev, TEST_AREA_OFFSET, buf, EXPECTED_SIZE); in ZTEST()
160 rc = flash_read(flash_dev, TEST_AREA_OFFSET, buf, EXPECTED_SIZE); in ZTEST()
/Zephyr-latest/samples/boards/espressif/flash_memory_mapped/src/
Dmain.c51 flash_read(flash_device, address, buffer, 32); in main()
/Zephyr-latest/tests/drivers/mspi/flash/src/
Dmain.c125 rc = flash_read(flash_dev, offs, actual, MSPI_FLASH_TEST_SIZE); in test_multi_sector_rw()
152 rc = flash_read(flash_dev, offs, actual, MSPI_FLASH_TEST_SIZE); in test_multi_sector_rw()
/Zephyr-latest/tests/drivers/flash/erase_blocks/src/
Dmain.c79 if (flash_read(flash_controller, offset, test_erase_buffer, readsize) < 0) { in test_flash_is_erased()
123 zassert_ok(flash_read(flash_controller, offset, test_read_block, size), in test_flash_write_block_at_offset()
/Zephyr-latest/tests/subsys/storage/flash_map/src/
Dmain.c190 rc = flash_read(flash_dev, fa->fa_off + i, buf, chunk); in ZTEST()
213 rc = flash_read(flash_dev, fa->fa_off + i, buf, chunk); in ZTEST()
/Zephyr-latest/subsys/storage/flash_map/
Dflash_map_integrity.c71 rc = flash_read(fa->fa_dev, (fa->fa_off + fac->off + pos), in flash_area_check_int_sha256()
Dflash_map.c63 return flash_read(fa->fa_dev, fa->fa_off + off, dst, len); in flash_area_read()
/Zephyr-latest/samples/subsys/bindesc/read_bindesc/src/
Dmain.c102 flash_read(flash, bindesc_offset, buffer, sizeof(buffer)); in main()
/Zephyr-latest/drivers/flash/
Dflash_shell.c167 if (flash_read(flash_dev, w_addr, check_array, op_size) < 0) { in cmd_write()
240 ret = flash_read(flash_dev, addr, data, todo); in cmd_read()
306 result = flash_read(flash_dev, addr, check_arr, size); in cmd_test()
401 result = flash_read(flash_dev, addr, test_arr, size); in cmd_read_test()
Dflash_util.c176 ret = flash_read(src_dev, src_offset + offs, buf, bytes_read); in z_impl_flash_copy()
/Zephyr-latest/tests/boards/espressif/cache_coex/src/
Dcache_coex.c116 rc = flash_read(flash_dev, in page_read()

12