Searched refs:max_n_32bit (Results 1 – 4 of 4) sorted by relevance
177 unsigned max_n_32bit = tsd->curr_xfer_words; in tegra_sflash_fill_tx_fifo_from_client_txbuf() local180 if (max_n_32bit > SPI_FIFO_DEPTH) in tegra_sflash_fill_tx_fifo_from_client_txbuf()181 max_n_32bit = SPI_FIFO_DEPTH; in tegra_sflash_fill_tx_fifo_from_client_txbuf()182 nbytes = max_n_32bit * tsd->bytes_per_word; in tegra_sflash_fill_tx_fifo_from_client_txbuf()198 tsd->cur_tx_pos += max_n_32bit * tsd->bytes_per_word; in tegra_sflash_fill_tx_fifo_from_client_txbuf()199 return max_n_32bit; in tegra_sflash_fill_tx_fifo_from_client_txbuf()
295 unsigned max_n_32bit; in tegra_slink_fill_tx_fifo_from_client_txbuf() local308 max_n_32bit = DIV_ROUND_UP(nbytes, 4); in tegra_slink_fill_tx_fifo_from_client_txbuf()309 for (count = 0; count < max_n_32bit; count++) { in tegra_slink_fill_tx_fifo_from_client_txbuf()316 max_n_32bit = min(tspi->curr_dma_words, tx_empty_count); in tegra_slink_fill_tx_fifo_from_client_txbuf()317 written_words = max_n_32bit; in tegra_slink_fill_tx_fifo_from_client_txbuf()319 for (count = 0; count < max_n_32bit; count++) { in tegra_slink_fill_tx_fifo_from_client_txbuf()
298 unsigned max_n_32bit; in tegra_spi_fill_tx_fifo_from_client_txbuf() local311 max_n_32bit = DIV_ROUND_UP(nbytes, 4); in tegra_spi_fill_tx_fifo_from_client_txbuf()312 for (count = 0; count < max_n_32bit; count++) { in tegra_spi_fill_tx_fifo_from_client_txbuf()323 max_n_32bit = min(tspi->curr_dma_words, tx_empty_count); in tegra_spi_fill_tx_fifo_from_client_txbuf()324 written_words = max_n_32bit; in tegra_spi_fill_tx_fifo_from_client_txbuf()329 for (count = 0; count < max_n_32bit; count++) { in tegra_spi_fill_tx_fifo_from_client_txbuf()
309 unsigned int len, tx_empty_count, max_n_32bit, i; in tegra_qspi_fill_tx_fifo_from_client_txbuf() local320 max_n_32bit = DIV_ROUND_UP(len, 4); in tegra_qspi_fill_tx_fifo_from_client_txbuf()321 for (count = 0; count < max_n_32bit; count++) { in tegra_qspi_fill_tx_fifo_from_client_txbuf()334 max_n_32bit = min(tqspi->curr_dma_words, tx_empty_count); in tegra_qspi_fill_tx_fifo_from_client_txbuf()335 written_words = max_n_32bit; in tegra_qspi_fill_tx_fifo_from_client_txbuf()340 for (count = 0; count < max_n_32bit; count++) { in tegra_qspi_fill_tx_fifo_from_client_txbuf()