Lines Matching refs:flash_controller
40 static const struct device *flash_controller = DEVICE_DT_GET(TEST_FLASH_CONTROLLER_NODE); variable
71 const struct flash_parameters *parameters = flash_get_parameters(flash_controller); in test_flash_is_erased()
79 if (flash_read(flash_controller, offset, test_erase_buffer, readsize) < 0) { in test_flash_is_erased()
104 flash_controller->name); in test_flash_erase_partition()
106 return flash_erase(flash_controller, TEST_FLASH_PART_OFFSET, in test_flash_erase_partition()
121 zassert_ok(flash_write(flash_controller, offset, test_write_block, size), in test_flash_write_block_at_offset()
123 zassert_ok(flash_read(flash_controller, offset, test_read_block, size), in test_flash_write_block_at_offset()
168 const struct flash_parameters *parameters = flash_get_parameters(flash_controller); in ZTEST()
171 flash_page_foreach(flash_controller, test_flash_write_across_page_boundaries, in ZTEST()
184 zassert_ok(flash_erase(flash_controller, page_offset, page_size), in test_flash_erase_page()
209 const struct flash_parameters *parameters = flash_get_parameters(flash_controller); in ZTEST()
212 flash_page_foreach(flash_controller, test_flash_write_across_page_boundaries, in ZTEST()
215 flash_page_foreach(flash_controller, test_flash_erase_pages, NULL); in ZTEST()