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()
294 unsigned max_n_32bit; in tegra_slink_fill_tx_fifo_from_client_txbuf() local307 max_n_32bit = DIV_ROUND_UP(nbytes, 4); in tegra_slink_fill_tx_fifo_from_client_txbuf()308 for (count = 0; count < max_n_32bit; count++) { in tegra_slink_fill_tx_fifo_from_client_txbuf()315 max_n_32bit = min(tspi->curr_dma_words, tx_empty_count); in tegra_slink_fill_tx_fifo_from_client_txbuf()316 written_words = max_n_32bit; in tegra_slink_fill_tx_fifo_from_client_txbuf()318 for (count = 0; count < max_n_32bit; count++) { in tegra_slink_fill_tx_fifo_from_client_txbuf()
297 unsigned max_n_32bit; in tegra_spi_fill_tx_fifo_from_client_txbuf() local310 max_n_32bit = DIV_ROUND_UP(nbytes, 4); in tegra_spi_fill_tx_fifo_from_client_txbuf()311 for (count = 0; count < max_n_32bit; count++) { in tegra_spi_fill_tx_fifo_from_client_txbuf()322 max_n_32bit = min(tspi->curr_dma_words, tx_empty_count); in tegra_spi_fill_tx_fifo_from_client_txbuf()323 written_words = max_n_32bit; in tegra_spi_fill_tx_fifo_from_client_txbuf()328 for (count = 0; count < max_n_32bit; count++) { in tegra_spi_fill_tx_fifo_from_client_txbuf()
310 unsigned int len, tx_empty_count, max_n_32bit, i; in tegra_qspi_fill_tx_fifo_from_client_txbuf() local321 max_n_32bit = DIV_ROUND_UP(len, 4); in tegra_qspi_fill_tx_fifo_from_client_txbuf()322 for (count = 0; count < max_n_32bit; count++) { in tegra_qspi_fill_tx_fifo_from_client_txbuf()335 max_n_32bit = min(tqspi->curr_dma_words, tx_empty_count); in tegra_qspi_fill_tx_fifo_from_client_txbuf()336 written_words = max_n_32bit; in tegra_qspi_fill_tx_fifo_from_client_txbuf()341 for (count = 0; count < max_n_32bit; count++) { in tegra_qspi_fill_tx_fifo_from_client_txbuf()