Searched refs:bytes_per_fifo_word (Results 1 – 1 of 1) sorted by relevance
748 unsigned int bytes_per_fifo_word = geni_byte_per_fifo_word(mas); in geni_spi_handle_tx() local757 max_bytes = (mas->tx_fifo_depth - mas->tx_wm) * bytes_per_fifo_word; in geni_spi_handle_tx()768 bytes_to_write = min(bytes_per_fifo_word, max_bytes - i); in geni_spi_handle_tx()788 unsigned int bytes_per_fifo_word = geni_byte_per_fifo_word(mas); in geni_spi_handle_rx() local792 rx_bytes = (rx_fifo_status & RX_FIFO_WC_MSK) * bytes_per_fifo_word; in geni_spi_handle_rx()797 rx_bytes -= bytes_per_fifo_word - rx_last_byte_valid; in geni_spi_handle_rx()802 for (i = 0; i < DIV_ROUND_UP(rx_bytes, bytes_per_fifo_word); i++) in geni_spi_handle_rx()817 bytes_to_read = min(bytes_per_fifo_word, rx_bytes - i); in geni_spi_handle_rx()