Searched refs:rx_fifo_level (Results 1 – 1 of 1) sorted by relevance
378 uint32_t rx_fifo_level; in spi_pw_get_rx_fifo_level() local380 rx_fifo_level = spi_pw_reg_read(dev, PW_SPI_REG_SIRF); in spi_pw_get_rx_fifo_level()381 rx_fifo_level = ((rx_fifo_level & PW_SPI_SIRF_SIRFL_MASK) >> in spi_pw_get_rx_fifo_level()384 return rx_fifo_level; in spi_pw_get_rx_fifo_level()400 uint32_t rx_fifo_level; in spi_pw_update_rx_fifo_level() local402 rx_fifo_level = spi_pw_reg_read(dev, PW_SPI_REG_SIRF); in spi_pw_update_rx_fifo_level()403 rx_fifo_level &= ~(PW_SPI_SIRF_SIRFL_MASK); in spi_pw_update_rx_fifo_level()404 rx_fifo_level |= (len << PW_SPI_SIRF_SIRFL_SHIFT); in spi_pw_update_rx_fifo_level()405 spi_pw_reg_write(dev, PW_SPI_REG_SIRF, rx_fifo_level); in spi_pw_update_rx_fifo_level()