Lines Matching refs:rx_dma
753 as->dma.sgrx.dma_address = xfer->rx_dma + xfer->len - *plen; in atmel_spi_next_xfer_dma_submit()
796 xfer->rx_buf, (unsigned long long)xfer->rx_dma); in atmel_spi_next_xfer_dma_submit()
830 dma_addr_t *rx_dma, in atmel_spi_next_xfer_data() argument
838 *rx_dma = xfer->rx_dma + xfer->len - *plen; in atmel_spi_next_xfer_data()
840 *rx_dma = as->buffer_dma; in atmel_spi_next_xfer_data()
910 dma_addr_t tx_dma, rx_dma; in atmel_spi_pdc_next_xfer() local
915 atmel_spi_next_xfer_data(master, xfer, &tx_dma, &rx_dma, &len); in atmel_spi_pdc_next_xfer()
918 spi_writel(as, RPR, rx_dma); in atmel_spi_pdc_next_xfer()
930 (unsigned long long)xfer->rx_dma); in atmel_spi_pdc_next_xfer()
934 atmel_spi_next_xfer_data(master, xfer, &tx_dma, &rx_dma, &len); in atmel_spi_pdc_next_xfer()
937 spi_writel(as, RNPR, rx_dma); in atmel_spi_pdc_next_xfer()
949 (unsigned long long)xfer->rx_dma); in atmel_spi_pdc_next_xfer()
978 xfer->tx_dma = xfer->rx_dma = INVALID_DMA_ADDRESS; in atmel_spi_dma_map_xfer()
991 xfer->rx_dma = dma_map_single(dev, in atmel_spi_dma_map_xfer()
994 if (dma_mapping_error(dev, xfer->rx_dma)) { in atmel_spi_dma_map_xfer()
1011 if (xfer->rx_dma != INVALID_DMA_ADDRESS) in atmel_spi_dma_unmap_xfer()
1012 dma_unmap_single(master->dev.parent, xfer->rx_dma, in atmel_spi_dma_unmap_xfer()
1456 xfer->rx_buf, &xfer->rx_dma); in atmel_spi_transfer_one_message()