Home
last modified time | relevance | path

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

/Zephyr-latest/samples/drivers/espi/src/
Dmain.c539 struct espi_saf_packet saf_pkt = {0}; in saf_read() local
545 saf_pkt.flash_addr = spi_addr; in saf_read()
546 saf_pkt.buf = dest; in saf_read()
555 saf_pkt.len = chunk_len; in saf_read()
557 rc = espi_saf_flash_read(espi_saf_dev, &saf_pkt); in saf_read()
565 saf_pkt.flash_addr += chunk_len; in saf_read()
566 saf_pkt.buf += chunk_len; in saf_read()
581 struct espi_saf_packet saf_pkt = {0}; in saf_erase_block() local
585 saf_pkt.len = 4096U; in saf_erase_block()
589 saf_pkt.len = (32U * 1024U); in saf_erase_block()
[all …]