Home
last modified time | relevance | path

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

/openbmc/linux/drivers/spi/
H A Dspi-tegra20-sflash.c122 unsigned cur_tx_pos; member
178 u8 *tx_buf = (u8 *)t->tx_buf + tsd->cur_tx_pos; 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()
267 tsd->cur_tx_pos = 0; in tegra_sflash_start_transfer_one()
380 tsd->cur_pos = tsd->cur_tx_pos; in handle_cpu_based_xfer()
H A Dspi-tegra210-quad.c195 unsigned int cur_tx_pos; member
311 u8 *tx_buf = (u8 *)t->tx_buf + tqspi->cur_tx_pos; in tegra_qspi_fill_tx_fifo_from_client_txbuf()
330 tqspi->cur_tx_pos += written_words * tqspi->bytes_per_word; in tegra_qspi_fill_tx_fifo_from_client_txbuf()
349 tqspi->cur_tx_pos += write_bytes; in tegra_qspi_fill_tx_fifo_from_client_txbuf()
414 tqspi->cur_tx_pos += tqspi->curr_dma_words * tqspi->bytes_per_word; in tegra_qspi_copy_client_txbuf_to_qspi_txbuf()
416 u8 *tx_buf = (u8 *)t->tx_buf + tqspi->cur_tx_pos; in tegra_qspi_copy_client_txbuf_to_qspi_txbuf()
435 tqspi->cur_tx_pos += write_bytes; in tegra_qspi_copy_client_txbuf_to_qspi_txbuf()
574 u8 *tx_buf = (u8 *)t->tx_buf + tqspi->cur_tx_pos; in tegra_qspi_dma_map_xfer()
826 tqspi->cur_tx_pos = 0; in tegra_qspi_setup_transfer_one()
1352 tqspi->cur_pos = tqspi->cur_tx_pos; in handle_cpu_based_xfer()
[all …]
H A Dspi-tegra114.c186 unsigned cur_tx_pos; member
301 u8 *tx_buf = (u8 *)t->tx_buf + tspi->cur_tx_pos; in tegra_spi_fill_tx_fifo_from_client_txbuf()
319 tspi->cur_tx_pos += written_words * tspi->bytes_per_word; in tegra_spi_fill_tx_fifo_from_client_txbuf()
337 tspi->cur_tx_pos += write_bytes; in tegra_spi_fill_tx_fifo_from_client_txbuf()
398 tspi->cur_tx_pos += tspi->curr_dma_words * tspi->bytes_per_word; in tegra_spi_copy_client_txbuf_to_spi_txbuf()
402 u8 *tx_buf = (u8 *)t->tx_buf + tspi->cur_tx_pos; in tegra_spi_copy_client_txbuf_to_spi_txbuf()
418 tspi->cur_tx_pos += write_bytes; in tegra_spi_copy_client_txbuf_to_spi_txbuf()
791 tspi->cur_tx_pos = 0; in tegra_spi_setup_transfer_one()
1144 tspi->cur_pos = tspi->cur_tx_pos; in handle_cpu_based_xfer()
1219 tspi->cur_pos = tspi->cur_tx_pos; in handle_dma_based_xfer()
H A Dspi-tegra20-slink.c175 unsigned cur_tx_pos; member
298 u8 *tx_buf = (u8 *)t->tx_buf + tspi->cur_tx_pos; in tegra_slink_fill_tx_fifo_from_client_txbuf()
326 tspi->cur_tx_pos += written_words * tspi->bytes_per_word; in tegra_slink_fill_tx_fifo_from_client_txbuf()
376 u8 *tx_buf = (u8 *)t->tx_buf + tspi->cur_tx_pos; in tegra_slink_copy_client_txbuf_to_spi_txbuf()
387 tspi->cur_tx_pos += tspi->curr_dma_words * tspi->bytes_per_word; in tegra_slink_copy_client_txbuf_to_spi_txbuf()
692 tspi->cur_tx_pos = 0; in tegra_slink_start_transfer_one()
863 tspi->cur_pos = tspi->cur_tx_pos; in handle_cpu_based_xfer()
937 tspi->cur_pos = tspi->cur_tx_pos; in handle_dma_based_xfer()