Searched refs:tx_fifo_level (Results 1 – 1 of 1) sorted by relevance
366 uint32_t tx_fifo_level; in spi_pw_get_tx_fifo_level() local368 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() local391 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()