Home
last modified time | relevance | path

Searched refs:written_words (Results 1 – 2 of 2) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/spi/
H A Dspi-tegra20-slink.c297 unsigned int written_words; in tegra_slink_fill_tx_fifo_from_client_txbuf() local
306 written_words = min(fifo_words_left, tspi->curr_dma_words); in tegra_slink_fill_tx_fifo_from_client_txbuf()
307 nbytes = written_words * tspi->bytes_per_word; in tegra_slink_fill_tx_fifo_from_client_txbuf()
317 written_words = max_n_32bit; in tegra_slink_fill_tx_fifo_from_client_txbuf()
318 nbytes = written_words * tspi->bytes_per_word; in tegra_slink_fill_tx_fifo_from_client_txbuf()
327 tspi->cur_tx_pos += written_words * tspi->bytes_per_word; in tegra_slink_fill_tx_fifo_from_client_txbuf()
328 return written_words; in tegra_slink_fill_tx_fifo_from_client_txbuf()
H A Dspi-tegra114.c300 unsigned int written_words; in tegra_spi_fill_tx_fifo_from_client_txbuf() local
309 written_words = min(fifo_words_left, tspi->curr_dma_words); in tegra_spi_fill_tx_fifo_from_client_txbuf()
310 nbytes = written_words * tspi->bytes_per_word; in tegra_spi_fill_tx_fifo_from_client_txbuf()
320 tspi->cur_tx_pos += written_words * tspi->bytes_per_word; in tegra_spi_fill_tx_fifo_from_client_txbuf()
324 written_words = max_n_32bit; in tegra_spi_fill_tx_fifo_from_client_txbuf()
325 nbytes = written_words * tspi->bytes_per_word; in tegra_spi_fill_tx_fifo_from_client_txbuf()
341 return written_words; in tegra_spi_fill_tx_fifo_from_client_txbuf()