Home
last modified time | relevance | path

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

/Zephyr-latest/tests/boards/mec15xxevb_assy6853/qspi/src/
Dmain.c42 static uint8_t safbuf[TEST_BUF_SIZE] __aligned(4); variable
72 memset(safbuf, 0, TEST_BUF_SIZE); in ZTEST_USER()
73 safbuf[0] = SPI_READ_JEDEC_ID; in ZTEST_USER()
74 txb[0].buf = &safbuf; in ZTEST_USER()
108 memset(safbuf, 0, TEST_BUF_SIZE); in ZTEST_USER()
109 safbuf[0] = SPI_WRITE_ENABLE; in ZTEST_USER()
110 txb[0].buf = &safbuf; in ZTEST_USER()
127 safbuf[0] = SPI_SECTOR_ERASE; in ZTEST_USER()
128 safbuf[1] = SPI_TEST_ADDRESS & 0xFFFFFFU; in ZTEST_USER()
130 txb[0].buf = &safbuf; in ZTEST_USER()
[all …]
/Zephyr-latest/tests/boards/mec172xevb_assy6906/qspi/src/
Dmain.c45 static uint8_t safbuf[TEST_BUF_SIZE] __aligned(4); variable
82 memset(safbuf, 0, sizeof(safbuf)); in clear_buffers()
265 safbuf[0] = SPI_SECTOR_ERASE; in ZTEST_USER()
266 spi_flash_address_format(&safbuf[1], 4U, SPI_TEST_ADDRESS, 3U); in ZTEST_USER()
268 spi_bufs[0].buf = &safbuf; in ZTEST_USER()
307 safbuf[0] = SPI_SINGLE_WRITE_DATA; in test_spi_single_write()
308 spi_flash_address_format(&safbuf[1], 4U, SPI_TEST_ADDRESS, 3U); in test_spi_single_write()
310 memcpy(&safbuf[4], buffer_tx, BUF_SIZE); in test_spi_single_write()
312 spi_bufs[0].buf = &safbuf; in test_spi_single_write()
363 safbuf[0] = spi_opcode & 0xFFU; in ZTEST_USER()
[all …]
/Zephyr-latest/samples/drivers/espi/src/
Dmain.c104 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()
[all …]