Lines Matching refs:safbuf
104 static uint8_t safbuf[SAF_TEST_BUF_SIZE] __aligned(4); variable
210 safbuf[0] = SPI_READ_JEDEC_ID; in spi_saf_init()
227 txb.buf = &safbuf; in spi_saf_init()
253 safbuf[0] = SPI_READ_STATUS2; in spi_saf_init()
256 txb.buf = &safbuf; in spi_saf_init()
285 safbuf[0] = SPI_WRITE_ENABLE_VS; in spi_saf_init()
287 txb.buf = &safbuf; in spi_saf_init()
306 safbuf[0] = SPI_WRITE_STATUS2; in spi_saf_init()
307 safbuf[1] = spi_status2 | SPI_STATUS2_QE; in spi_saf_init()
309 txb.buf = &safbuf; in spi_saf_init()
329 safbuf[0] = SPI_READ_STATUS1; in spi_saf_init()
332 txb.buf = &safbuf; in spi_saf_init()
364 safbuf[0] = SPI_READ_STATUS2; in spi_saf_init()
367 txb.buf = &safbuf; in spi_saf_init()
669 memset(safbuf, 0x55, sizeof(safbuf)); in espi_saf_test1()
676 rc = saf_read(spi_addr, safbuf, 4096); in espi_saf_test1()
685 if (safbuf[n] != 0xffUL) { in espi_saf_test1()
719 safbuf[n] = n % 256U; in espi_saf_test1()
727 const uint8_t *src = (const uint8_t *)safbuf; in espi_saf_test1()
747 rc = memcmp(safbuf, safbuf2, progsz); in espi_saf_test1()