Lines Matching full:rx_dma
836 xfer->rx_buf, (unsigned long long)xfer->rx_dma); in atmel_spi_next_xfer_dma_submit()
867 dma_addr_t *rx_dma, in atmel_spi_next_xfer_data() argument
870 *rx_dma = xfer->rx_dma + xfer->len - *plen; in atmel_spi_next_xfer_data()
933 dma_addr_t tx_dma, rx_dma; in atmel_spi_pdc_next_xfer() local
938 atmel_spi_next_xfer_data(host, xfer, &tx_dma, &rx_dma, &len); in atmel_spi_pdc_next_xfer()
941 spi_writel(as, RPR, rx_dma); in atmel_spi_pdc_next_xfer()
953 (unsigned long long)xfer->rx_dma); in atmel_spi_pdc_next_xfer()
957 atmel_spi_next_xfer_data(host, xfer, &tx_dma, &rx_dma, &len); in atmel_spi_pdc_next_xfer()
960 spi_writel(as, RNPR, rx_dma); in atmel_spi_pdc_next_xfer()
972 (unsigned long long)xfer->rx_dma); in atmel_spi_pdc_next_xfer()
990 * For DMA, tx_buf/tx_dma have the same relationship as rx_buf/rx_dma:
1001 xfer->tx_dma = xfer->rx_dma = INVALID_DMA_ADDRESS; in atmel_spi_dma_map_xfer()
1014 xfer->rx_dma = dma_map_single(dev, in atmel_spi_dma_map_xfer()
1017 if (dma_mapping_error(dev, xfer->rx_dma)) { in atmel_spi_dma_map_xfer()
1034 if (xfer->rx_dma != INVALID_DMA_ADDRESS) in atmel_spi_dma_unmap_xfer()
1035 dma_unmap_single(host->dev.parent, xfer->rx_dma, in atmel_spi_dma_unmap_xfer()