Lines Matching refs:spi_status
158 static int spi_flash_write_status(const struct device *dev, uint8_t opcode, uint8_t spi_status) in spi_flash_write_status() argument
164 txdata = spi_status; in spi_flash_write_status()
256 uint8_t spi_status = 0; in ZTEST_USER() local
280 spi_status = SPI_STATUS1_BUSY; in ZTEST_USER()
281 while (spi_status & SPI_STATUS1_BUSY) { in ZTEST_USER()
282 ret = spi_flash_read_status(spi_dev, SPI_READ_STATUS1, &spi_status); in ZTEST_USER()
298 uint8_t spi_status = 0; in test_spi_single_write() local
324 spi_status = SPI_STATUS1_BUSY; in test_spi_single_write()
325 while (spi_status & SPI_STATUS1_BUSY) { in test_spi_single_write()
326 ret = spi_flash_read_status(spi_dev, SPI_READ_STATUS1, &spi_status); in test_spi_single_write()
479 uint8_t spi_status = 0; in test_spi_quad_write() local
545 spi_status = SPI_STATUS1_BUSY; in test_spi_quad_write()
546 while (spi_status & SPI_STATUS1_BUSY) { in test_spi_quad_write()
547 ret = spi_flash_read_status(spi_dev, SPI_READ_STATUS1, &spi_status); in test_spi_quad_write()