Lines Matching refs:safbuf

42 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()
147 safbuf[0] = SPI_READ_STATUS1; in ZTEST_USER()
149 txb[0].buf = &safbuf; in ZTEST_USER()
184 memset(safbuf, 0, TEST_BUF_SIZE); in test_spi_single_write()
185 safbuf[0] = SPI_WRITE_ENABLE; in test_spi_single_write()
186 txb[0].buf = &safbuf; in test_spi_single_write()
203 safbuf[0] = SPI_SINGLE_WRITE_DATA; in test_spi_single_write()
204 safbuf[1] = SPI_TEST_ADDRESS & 0xFFFFFFU; in test_spi_single_write()
205 memcpy(&safbuf[4], buffer_tx, BUF_SIZE); in test_spi_single_write()
207 txb[0].buf = &safbuf; in test_spi_single_write()
240 memset(safbuf, 0, TEST_BUF_SIZE); in ZTEST_USER()
241 safbuf[0] = spi_opcode & 0xFFU; in ZTEST_USER()
242 safbuf[1] = SPI_TEST_ADDRESS & 0xFFFFFFU; in ZTEST_USER()
244 txb[cnt].buf = &safbuf; in ZTEST_USER()
304 memset(safbuf, 0, TEST_BUF_SIZE); in ZTEST_USER()
305 safbuf[0] = spi_opcode & 0xFFU; in ZTEST_USER()
306 safbuf[1] = SPI_TEST_ADDRESS & 0xFFFFFFU; in ZTEST_USER()
308 txb[cnt].buf = &safbuf; in ZTEST_USER()
366 safbuf[0] = SPI_READ_STATUS2; in test_spi_quad_write()
367 txb[0].buf = &safbuf; in test_spi_quad_write()
390 safbuf[0] = SPI_WRITE_ENABLE_VS; in test_spi_quad_write()
392 txb[0].buf = &safbuf; in test_spi_quad_write()
409 safbuf[0] = SPI_WRITE_STATUS2; in test_spi_quad_write()
410 safbuf[1] = spi_status2 | SPI_STATUS2_QE; in test_spi_quad_write()
412 txb[0].buf = &safbuf; in test_spi_quad_write()
430 safbuf[0] = SPI_READ_STATUS2; in test_spi_quad_write()
431 txb[0].buf = &safbuf; in test_spi_quad_write()
457 safbuf[0] = SPI_WRITE_ENABLE; in test_spi_quad_write()
458 txb[0].buf = &safbuf; in test_spi_quad_write()
481 memset(safbuf, 0, TEST_BUF_SIZE); in test_spi_quad_write()
482 safbuf[0] = SPI_QUAD_WRITE_DATA; in test_spi_quad_write()
483 safbuf[1] = SPI_TEST_ADDRESS_2 & 0xFFFFFFU; in test_spi_quad_write()
485 txb[0].buf = &safbuf; in test_spi_quad_write()
503 memset(safbuf, 0, TEST_BUF_SIZE); in test_spi_quad_write()
504 memcpy(&safbuf[0], buffer_tx_2, BUF_SIZE_2); in test_spi_quad_write()
506 txb[0].buf = &safbuf; in test_spi_quad_write()
544 memset(safbuf, 0, TEST_BUF_SIZE); in ZTEST_USER()
545 safbuf[0] = spi_opcode & 0xFFU; in ZTEST_USER()
546 safbuf[1] = SPI_TEST_ADDRESS_2 & 0xFFFFFFU; in ZTEST_USER()
548 txb[cnt].buf = &safbuf; in ZTEST_USER()
606 memset(safbuf, 0, TEST_BUF_SIZE); in ZTEST_USER()
607 safbuf[0] = SPI_OCTAL_QUAD_READ_DATA; in ZTEST_USER()
609 txb[0].buf = &safbuf; in ZTEST_USER()
627 safbuf[0] = SPI_TEST_ADDRESS & 0xFFFFF0U; in ZTEST_USER()
628 safbuf[3] = 0xFFU; in ZTEST_USER()
629 txb[0].buf = &safbuf; in ZTEST_USER()