Home
last modified time | relevance | path

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

/drivers/spi/
Dspi-tegra114.c192 unsigned cur_rx_pos; member
345 u8 *rx_buf = (u8 *)t->rx_buf + tspi->cur_rx_pos; in tegra_spi_read_rx_fifo_to_client_rxbuf()
356 tspi->cur_rx_pos += tspi->curr_dma_words * tspi->bytes_per_word; in tegra_spi_read_rx_fifo_to_client_rxbuf()
369 tspi->cur_rx_pos += rx_full_count * tspi->bytes_per_word; in tegra_spi_read_rx_fifo_to_client_rxbuf()
420 memcpy(t->rx_buf + tspi->cur_rx_pos, tspi->rx_dma_buf, len); in tegra_spi_copy_spi_rxbuf_to_client_rxbuf()
424 unsigned char *rx_buf = t->rx_buf + tspi->cur_rx_pos; in tegra_spi_copy_spi_rxbuf_to_client_rxbuf()
437 tspi->cur_rx_pos += tspi->curr_dma_words * tspi->bytes_per_word; in tegra_spi_copy_spi_rxbuf_to_client_rxbuf()
698 tspi->cur_rx_pos = 0; in tegra_spi_start_transfer_one()
892 tspi->cur_pos = tspi->cur_rx_pos; in handle_cpu_based_xfer()
965 tspi->cur_pos = tspi->cur_rx_pos; in handle_dma_based_xfer()
Dspi-tegra20-slink.c185 unsigned cur_rx_pos; member
362 u8 *rx_buf = (u8 *)t->rx_buf + tspi->cur_rx_pos; in tegra_slink_read_rx_fifo_to_client_rxbuf()
373 tspi->cur_rx_pos += tspi->curr_dma_words * tspi->bytes_per_word; in tegra_slink_read_rx_fifo_to_client_rxbuf()
381 tspi->cur_rx_pos += rx_full_count * tspi->bytes_per_word; in tegra_slink_read_rx_fifo_to_client_rxbuf()
432 memcpy(t->rx_buf + tspi->cur_rx_pos, tspi->rx_dma_buf, len); in tegra_slink_copy_spi_rxbuf_to_client_rxbuf()
436 unsigned char *rx_buf = t->rx_buf + tspi->cur_rx_pos; in tegra_slink_copy_spi_rxbuf_to_client_rxbuf()
449 tspi->cur_rx_pos += tspi->curr_dma_words * tspi->bytes_per_word; in tegra_slink_copy_spi_rxbuf_to_client_rxbuf()
730 tspi->cur_rx_pos = 0; in tegra_slink_start_transfer_one()
914 tspi->cur_pos = tspi->cur_rx_pos; in handle_cpu_based_xfer()
988 tspi->cur_pos = tspi->cur_rx_pos; in handle_dma_based_xfer()
Dspi-tegra20-sflash.c133 unsigned cur_rx_pos; member
219 u8 *rx_buf = (u8 *)t->rx_buf + tsd->cur_rx_pos; in tegra_sflash_read_rx_fifo_to_client_rxbuf()
232 tsd->cur_rx_pos += read_words * tsd->bytes_per_word; in tegra_sflash_read_rx_fifo_to_client_rxbuf()
279 tsd->cur_rx_pos = 0; in tegra_sflash_start_transfer_one()
412 tsd->cur_pos = tsd->cur_rx_pos; in handle_cpu_based_xfer()