/* Get SPIx the number of valid entries in transmit FIFO.  */
u32 SSI_GetTxCount(SPI_TypeDef *spi_dev)
/* Get SPIx the number of valid entries in transmit FIFO.  */
u32 SSI_GetTxCount(SPI_TypeDef *spi_dev)
{
	return spi_dev->TXFLR & BIT_MASK_TXFLR_TXTFL;
}