Home
last modified time | relevance | path

Searched refs:espi_saf_dev (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/samples/drivers/espi/src/
Dmain.c103 static const struct device *const espi_saf_dev = DEVICE_DT_GET(DT_NODELABEL(espi_saf0)); variable
406 ret = espi_saf_config(espi_saf_dev, (struct espi_saf_cfg *)&saf_cfg1); in espi_saf_init()
413 ret = espi_saf_set_protection_regions(espi_saf_dev, &saf_pr_w25q128); in espi_saf_init()
557 rc = espi_saf_flash_read(espi_saf_dev, &saf_pkt); in saf_read()
602 rc = espi_saf_flash_erase(espi_saf_dev, &saf_pkt); in saf_erase_block()
639 rc = espi_saf_flash_write(espi_saf_dev, &saf_pkt); in saf_page_prog()
660 rc = espi_saf_activate(espi_saf_dev); in espi_saf_test1()
1196 if (!device_is_ready(espi_saf_dev)) { in espi_test()
1197 LOG_ERR("%s: device not ready.", espi_saf_dev->name); in espi_test()
1240 LOG_ERR("Unable to configure %d:%s", ret, espi_saf_dev->name); in espi_test()