/* Get SPIx the number of valid entries in receive FIFO.  */
u32 SSI_GetRxCount(SPI_TypeDef *spi_dev)
/* Get SPIx the number of valid entries in receive FIFO.  */
u32 SSI_GetRxCount(SPI_TypeDef *spi_dev)
{
	return spi_dev->RXFLR & BIT_MASK_RXFLR_RXTFL;
}