Lines Matching refs:safbuf
45 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()
364 spi_flash_address_format(&safbuf[1], 4U, SPI_TEST_ADDRESS, 3U); in ZTEST_USER()
366 spi_bufs[cnt].buf = &safbuf; in ZTEST_USER()
425 safbuf[0] = spi_opcode & 0xFFU; in ZTEST_USER()
426 spi_flash_address_format(&safbuf[1], 4U, SPI_TEST_ADDRESS, 3U); in ZTEST_USER()
428 spi_bufs[cnt].buf = &safbuf; in ZTEST_USER()
517 safbuf[0] = SPI_QUAD_WRITE_DATA; in test_spi_quad_write()
518 spi_flash_address_format(&safbuf[1], 4U, SPI_TEST_ADDRESS_2, 3U); in test_spi_quad_write()
520 spi_bufs[0].buf = &safbuf; in test_spi_quad_write()
532 memcpy(&safbuf[0], buffer_tx_2, BUF_SIZE_2); in test_spi_quad_write()
534 spi_bufs[0].buf = &safbuf; in test_spi_quad_write()
577 safbuf[0] = spi_opcode & 0xFFU; in ZTEST_USER()
578 spi_flash_address_format(&safbuf[1], 4U, SPI_TEST_ADDRESS_2, 3U); in ZTEST_USER()
580 spi_bufs[cnt].buf = &safbuf; in ZTEST_USER()