Lines Matching full:rx_dma
833 xfer->rx_buf, (unsigned long long)xfer->rx_dma); in atmel_spi_next_xfer_dma_submit()
864 dma_addr_t *rx_dma, in atmel_spi_next_xfer_data() argument
867 *rx_dma = xfer->rx_dma + xfer->len - *plen; in atmel_spi_next_xfer_data()
930 dma_addr_t tx_dma, rx_dma; in atmel_spi_pdc_next_xfer() local
935 atmel_spi_next_xfer_data(host, xfer, &tx_dma, &rx_dma, &len); in atmel_spi_pdc_next_xfer()
938 spi_writel(as, RPR, rx_dma); in atmel_spi_pdc_next_xfer()
950 (unsigned long long)xfer->rx_dma); in atmel_spi_pdc_next_xfer()
954 atmel_spi_next_xfer_data(host, xfer, &tx_dma, &rx_dma, &len); in atmel_spi_pdc_next_xfer()
957 spi_writel(as, RNPR, rx_dma); in atmel_spi_pdc_next_xfer()
969 (unsigned long long)xfer->rx_dma); in atmel_spi_pdc_next_xfer()
987 * For DMA, tx_buf/tx_dma have the same relationship as rx_buf/rx_dma:
996 xfer->tx_dma = xfer->rx_dma = INVALID_DMA_ADDRESS; in atmel_spi_dma_map_xfer()
1009 xfer->rx_dma = dma_map_single(dev, in atmel_spi_dma_map_xfer()
1012 if (dma_mapping_error(dev, xfer->rx_dma)) { in atmel_spi_dma_map_xfer()
1029 if (xfer->rx_dma != INVALID_DMA_ADDRESS) in atmel_spi_dma_unmap_xfer()
1030 dma_unmap_single(host->dev.parent, xfer->rx_dma, in atmel_spi_dma_unmap_xfer()