Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/spi/
Dspi-tegra114.c184 unsigned cur_rx_pos; member
335 u8 *rx_buf = (u8 *)t->rx_buf + tspi->cur_rx_pos; in tegra_spi_read_rx_fifo_to_client_rxbuf()
347 tspi->cur_rx_pos += tspi->curr_dma_words * tspi->bytes_per_word; in tegra_spi_read_rx_fifo_to_client_rxbuf()
358 tspi->cur_rx_pos += rx_full_count * tspi->bytes_per_word; in tegra_spi_read_rx_fifo_to_client_rxbuf()
407 memcpy(t->rx_buf + tspi->cur_rx_pos, tspi->rx_dma_buf, len); in tegra_spi_copy_spi_rxbuf_to_client_rxbuf()
411 unsigned char *rx_buf = t->rx_buf + tspi->cur_rx_pos; in tegra_spi_copy_spi_rxbuf_to_client_rxbuf()
421 tspi->cur_rx_pos += tspi->curr_dma_words * tspi->bytes_per_word; in tegra_spi_copy_spi_rxbuf_to_client_rxbuf()
678 tspi->cur_rx_pos = 0; in tegra_spi_setup_transfer_one()
905 tspi->cur_pos = tspi->cur_rx_pos; in handle_cpu_based_xfer()
978 tspi->cur_pos = tspi->cur_rx_pos; in handle_dma_based_xfer()
Dspi-tegra20-slink.c183 unsigned cur_rx_pos; member
350 u8 *rx_buf = (u8 *)t->rx_buf + tspi->cur_rx_pos; in tegra_slink_read_rx_fifo_to_client_rxbuf()
361 tspi->cur_rx_pos += tspi->curr_dma_words * tspi->bytes_per_word; in tegra_slink_read_rx_fifo_to_client_rxbuf()
369 tspi->cur_rx_pos += rx_full_count * tspi->bytes_per_word; in tegra_slink_read_rx_fifo_to_client_rxbuf()
417 memcpy(t->rx_buf + tspi->cur_rx_pos, tspi->rx_dma_buf, len); in tegra_slink_copy_spi_rxbuf_to_client_rxbuf()
421 unsigned char *rx_buf = t->rx_buf + tspi->cur_rx_pos; in tegra_slink_copy_spi_rxbuf_to_client_rxbuf()
430 tspi->cur_rx_pos += tspi->curr_dma_words * tspi->bytes_per_word; in tegra_slink_copy_spi_rxbuf_to_client_rxbuf()
708 tspi->cur_rx_pos = 0; in tegra_slink_start_transfer_one()
876 tspi->cur_pos = tspi->cur_rx_pos; in handle_cpu_based_xfer()
950 tspi->cur_pos = tspi->cur_rx_pos; in handle_dma_based_xfer()
Dspi-tegra20-sflash.c132 unsigned cur_rx_pos; member
218 u8 *rx_buf = (u8 *)t->rx_buf + tsd->cur_rx_pos; in tegra_sflash_read_rx_fifo_to_client_rxbuf()
230 tsd->cur_rx_pos += read_words * tsd->bytes_per_word; in tegra_sflash_read_rx_fifo_to_client_rxbuf()
277 tsd->cur_rx_pos = 0; in tegra_sflash_start_transfer_one()
394 tsd->cur_pos = tsd->cur_rx_pos; in handle_cpu_based_xfer()