Home
last modified time | relevance | path

Searched refs:max_n_32bit (Results 1 – 4 of 4) sorted by relevance

/drivers/spi/
A Dspi-tegra20-sflash.c177 unsigned max_n_32bit = tsd->curr_xfer_words; in tegra_sflash_fill_tx_fifo_from_client_txbuf() local
180 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()
A Dspi-tegra20-slink.c294 unsigned max_n_32bit; in tegra_slink_fill_tx_fifo_from_client_txbuf() local
307 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()
A Dspi-tegra114.c297 unsigned max_n_32bit; in tegra_spi_fill_tx_fifo_from_client_txbuf() local
310 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()
A Dspi-tegra210-quad.c318 unsigned int len, tx_empty_count, max_n_32bit, i; in tegra_qspi_fill_tx_fifo_from_client_txbuf() local
329 max_n_32bit = DIV_ROUND_UP(len, 4); in tegra_qspi_fill_tx_fifo_from_client_txbuf()
330 for (count = 0; count < max_n_32bit; count++) { in tegra_qspi_fill_tx_fifo_from_client_txbuf()
343 max_n_32bit = min(tqspi->curr_dma_words, tx_empty_count); in tegra_qspi_fill_tx_fifo_from_client_txbuf()
344 written_words = max_n_32bit; in tegra_qspi_fill_tx_fifo_from_client_txbuf()
349 for (count = 0; count < max_n_32bit; count++) { in tegra_qspi_fill_tx_fifo_from_client_txbuf()

Completed in 17 milliseconds