Searched refs:cur_rx_pos (Results 1 – 3 of 3) sorted by relevance
184 unsigned cur_rx_pos; member335 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()
183 unsigned cur_rx_pos; member350 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()
132 unsigned cur_rx_pos; member218 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()