Searched refs:rx_left (Results 1 – 2 of 2) sorted by relevance
122 u32 rx_left = (priv->rx_end - priv->rx) / n_bytes; in pic32_rx_max() local124 return min_t(u32, rx_left, pic32_spi_rx_fifo_level(priv)); in pic32_rx_max()
283 u32 rx_left = (priv->rx_end - priv->rx) / (priv->bits_per_word >> 3); in rx_max() local285 return min_t(u32, rx_left, dw_read(priv, DW_SPI_RXFLR)); in rx_max()