Searched refs:SPI_STAT (Results 1 – 4 of 4) sorted by relevance
35 #define SPI_STAT(base) (base + REG_STAT) macro114 #define TX_NUM_STAT(base) (sys_read32(SPI_STAT(base)) & STAT_TX_NUM_MSK)115 #define RX_NUM_STAT(base) (sys_read32(SPI_STAT(base)) & STAT_RX_NUM_MSK)
45 #define SPI_STAT(dev) (SPI_BASE + REG_STAT) macro153 if (!sys_read32(SPI_STAT(dev))) { in spi_ambiq_release()
104 uint32_t stat = SPI_STAT(cfg->reg); in spi_gd32_get_err()201 while ((SPI_STAT(cfg->reg) & SPI_STAT_TBE) == 0) { in spi_gd32_frame_exchange()222 while ((SPI_STAT(cfg->reg) & SPI_STAT_RBNE) == 0) { in spi_gd32_frame_exchange()392 SPI_STAT(cfg->reg) &= in spi_gd32_transceive_impl()411 while (!(SPI_STAT(cfg->reg) & SPI_STAT_TBE) || in spi_gd32_transceive_impl()412 (SPI_STAT(cfg->reg) & SPI_STAT_TRANS)) { in spi_gd32_transceive_impl()
770 spi_status = sys_read32(SPI_STAT(cfg->base)); in spi_atcspi200_irq_handler()