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()
292 unsigned max_n_32bit; in tegra_slink_fill_tx_fifo_from_client_txbuf() local305 max_n_32bit = DIV_ROUND_UP(nbytes, 4); in tegra_slink_fill_tx_fifo_from_client_txbuf()306 for (count = 0; count < max_n_32bit; count++) { in tegra_slink_fill_tx_fifo_from_client_txbuf()313 max_n_32bit = min(tspi->curr_dma_words, tx_empty_count); in tegra_slink_fill_tx_fifo_from_client_txbuf()314 written_words = max_n_32bit; in tegra_slink_fill_tx_fifo_from_client_txbuf()316 for (count = 0; count < max_n_32bit; count++) { in tegra_slink_fill_tx_fifo_from_client_txbuf()
267 unsigned int len, tx_empty_count, max_n_32bit, i; in tegra_qspi_fill_tx_fifo_from_client_txbuf() local278 max_n_32bit = DIV_ROUND_UP(len, 4); in tegra_qspi_fill_tx_fifo_from_client_txbuf()279 for (count = 0; count < max_n_32bit; count++) { in tegra_qspi_fill_tx_fifo_from_client_txbuf()292 max_n_32bit = min(tqspi->curr_dma_words, tx_empty_count); in tegra_qspi_fill_tx_fifo_from_client_txbuf()293 written_words = max_n_32bit; in tegra_qspi_fill_tx_fifo_from_client_txbuf()298 for (count = 0; count < max_n_32bit; count++) { in tegra_qspi_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()