Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/spi/
Dspi_pw.c366 uint32_t tx_fifo_level; in spi_pw_get_tx_fifo_level() local
368 tx_fifo_level = spi_pw_reg_read(dev, PW_SPI_REG_SITF); in spi_pw_get_tx_fifo_level()
370 tx_fifo_level = ((tx_fifo_level & PW_SPI_SITF_SITFL_MASK) >> in spi_pw_get_tx_fifo_level()
373 return tx_fifo_level; in spi_pw_get_tx_fifo_level()
389 uint32_t tx_fifo_level; in spi_pw_reset_tx_fifo_level() local
391 tx_fifo_level = spi_pw_reg_read(dev, PW_SPI_REG_SITF); in spi_pw_reset_tx_fifo_level()
392 tx_fifo_level &= ~(PW_SPI_SITF_SITFL_MASK); in spi_pw_reset_tx_fifo_level()
393 spi_pw_reg_write(dev, PW_SPI_REG_SITF, tx_fifo_level); in spi_pw_reset_tx_fifo_level()