Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/spi/
Dspi-tegra20-sflash.c188 unsigned max_n_32bit = tsd->curr_xfer_words; in tegra_sflash_fill_tx_fifo_from_client_txbuf() local
191 if (max_n_32bit > SPI_FIFO_DEPTH) in tegra_sflash_fill_tx_fifo_from_client_txbuf()
192 max_n_32bit = SPI_FIFO_DEPTH; in tegra_sflash_fill_tx_fifo_from_client_txbuf()
193 nbytes = max_n_32bit * tsd->bytes_per_word; in tegra_sflash_fill_tx_fifo_from_client_txbuf()
209 tsd->cur_tx_pos += max_n_32bit * tsd->bytes_per_word; in tegra_sflash_fill_tx_fifo_from_client_txbuf()
210 return max_n_32bit; in tegra_sflash_fill_tx_fifo_from_client_txbuf()
Dspi-tegra114.c289 unsigned max_n_32bit; in tegra_spi_fill_tx_fifo_from_client_txbuf() local
302 max_n_32bit = DIV_ROUND_UP(nbytes, 4); in tegra_spi_fill_tx_fifo_from_client_txbuf()
303 for (count = 0; count < max_n_32bit; count++) { in tegra_spi_fill_tx_fifo_from_client_txbuf()
311 max_n_32bit = min(tspi->curr_dma_words, tx_empty_count); in tegra_spi_fill_tx_fifo_from_client_txbuf()
312 written_words = max_n_32bit; in tegra_spi_fill_tx_fifo_from_client_txbuf()
314 for (count = 0; count < max_n_32bit; count++) { in tegra_spi_fill_tx_fifo_from_client_txbuf()
Dspi-tegra20-slink.c306 unsigned max_n_32bit; in tegra_slink_fill_tx_fifo_from_client_txbuf() local
319 max_n_32bit = DIV_ROUND_UP(nbytes, 4); in tegra_slink_fill_tx_fifo_from_client_txbuf()
320 for (count = 0; count < max_n_32bit; count++) { in tegra_slink_fill_tx_fifo_from_client_txbuf()
327 max_n_32bit = min(tspi->curr_dma_words, tx_empty_count); in tegra_slink_fill_tx_fifo_from_client_txbuf()
328 written_words = max_n_32bit; in tegra_slink_fill_tx_fifo_from_client_txbuf()
330 for (count = 0; count < max_n_32bit; count++) { in tegra_slink_fill_tx_fifo_from_client_txbuf()