Home
last modified time | relevance | path

Searched refs:spi_status2 (Results 1 – 4 of 4) sorted by relevance

/Zephyr-Core-3.6.0/tests/boards/mec172xevb_assy6906/qspi/src/
Dmain.c480 uint8_t spi_status2 = 0; in test_spi_quad_write() local
485 ret = spi_flash_read_status(spi_dev, SPI_READ_STATUS2, &spi_status2); in test_spi_quad_write()
491 if ((spi_status2 & SPI_STATUS2_QE) == 0U) { in test_spi_quad_write()
496 spi_status2 |= SPI_STATUS2_QE; in test_spi_quad_write()
497 ret = spi_flash_write_status(spi_dev, SPI_WRITE_STATUS2, spi_status2); in test_spi_quad_write()
502 spi_status2 = 0u; in test_spi_quad_write()
503 ret = spi_flash_read_status(spi_dev, SPI_READ_STATUS2, &spi_status2); in test_spi_quad_write()
507 zassert_true((spi_status2 & SPI_STATUS2_QE) == SPI_STATUS2_QE, in test_spi_quad_write()
/Zephyr-Core-3.6.0/samples/boards/mec172xevb_assy6906/qmspi_ldma/src/
Dmain.c437 uint8_t spi_status1, spi_status2; in main() local
487 spi_status2 = 0xffu; in main()
489 &spi_status2); in main()
495 printf("SPI Flash Status2 = 0x%02x\n", spi_status2); in main()
496 if (spi_status2 & BIT(SPI_FLASH_STATUS2_QE_POS)) { in main()
500 if (spi_status2 & BIT(SPI_FLASH_STATUS2_SRL_POS)) { in main()
503 if (spi_status2 & BIT(SPI_FLASH_STATUS2_SUS_STS_POS)) { in main()
/Zephyr-Core-3.6.0/tests/boards/mec15xxevb_assy6853/qspi/src/
Dmain.c363 uint8_t spi_status2; in test_spi_quad_write() local
387 spi_status2 = safbuf2[0]; in test_spi_quad_write()
389 if ((spi_status2 & SPI_STATUS2_QE) == 0U) { in test_spi_quad_write()
410 safbuf[1] = spi_status2 | SPI_STATUS2_QE; in test_spi_quad_write()
451 spi_status2 = safbuf2[0]; in test_spi_quad_write()
452 zassert_true((spi_status2 & SPI_STATUS2_QE) == SPI_STATUS2_QE, in test_spi_quad_write()
/Zephyr-Core-3.6.0/samples/drivers/espi/src/
Dmain.c205 uint8_t spi_status1, spi_status2; in spi_saf_init() local
276 spi_status2 = safbuf2[0]; in spi_saf_init()
284 if ((spi_status2 & SPI_STATUS2_QE) == 0U) { in spi_saf_init()
307 safbuf[1] = spi_status2 | SPI_STATUS2_QE; in spi_saf_init()
390 spi_status2 = safbuf2[0]; in spi_saf_init()
391 if (!(spi_status2 & SPI_STATUS2_QE)) { in spi_saf_init()
394 spi_status2); in spi_saf_init()