Lines Matching refs:rx_dma
774 xfer->rx_buf, (unsigned long long)xfer->rx_dma); in atmel_spi_next_xfer_dma_submit()
808 dma_addr_t *rx_dma, in atmel_spi_next_xfer_data() argument
811 *rx_dma = xfer->rx_dma + xfer->len - *plen; in atmel_spi_next_xfer_data()
875 dma_addr_t tx_dma, rx_dma; in atmel_spi_pdc_next_xfer() local
880 atmel_spi_next_xfer_data(master, xfer, &tx_dma, &rx_dma, &len); in atmel_spi_pdc_next_xfer()
883 spi_writel(as, RPR, rx_dma); in atmel_spi_pdc_next_xfer()
895 (unsigned long long)xfer->rx_dma); in atmel_spi_pdc_next_xfer()
899 atmel_spi_next_xfer_data(master, xfer, &tx_dma, &rx_dma, &len); in atmel_spi_pdc_next_xfer()
902 spi_writel(as, RNPR, rx_dma); in atmel_spi_pdc_next_xfer()
914 (unsigned long long)xfer->rx_dma); in atmel_spi_pdc_next_xfer()
943 xfer->tx_dma = xfer->rx_dma = INVALID_DMA_ADDRESS; in atmel_spi_dma_map_xfer()
956 xfer->rx_dma = dma_map_single(dev, in atmel_spi_dma_map_xfer()
959 if (dma_mapping_error(dev, xfer->rx_dma)) { in atmel_spi_dma_map_xfer()
976 if (xfer->rx_dma != INVALID_DMA_ADDRESS) in atmel_spi_dma_unmap_xfer()
977 dma_unmap_single(master->dev.parent, xfer->rx_dma, in atmel_spi_dma_unmap_xfer()
1459 xfer->rx_buf, &xfer->rx_dma); in atmel_spi_transfer_one_message()