Searched refs:bytes_per_fifo_word (Results 1 – 1 of 1) sorted by relevance
642 unsigned int bytes_per_fifo_word = geni_byte_per_fifo_word(mas); in geni_spi_handle_tx() local651 max_bytes = (mas->tx_fifo_depth - mas->tx_wm) * bytes_per_fifo_word; in geni_spi_handle_tx()662 bytes_to_write = min(bytes_per_fifo_word, max_bytes - i); in geni_spi_handle_tx()682 unsigned int bytes_per_fifo_word = geni_byte_per_fifo_word(mas); in geni_spi_handle_rx() local686 rx_bytes = (rx_fifo_status & RX_FIFO_WC_MSK) * bytes_per_fifo_word; in geni_spi_handle_rx()691 rx_bytes -= bytes_per_fifo_word - rx_last_byte_valid; in geni_spi_handle_rx()696 for (i = 0; i < DIV_ROUND_UP(rx_bytes, bytes_per_fifo_word); i++) in geni_spi_handle_rx()711 bytes_to_read = min(bytes_per_fifo_word, rx_bytes - i); in geni_spi_handle_rx()