Lines Matching refs:daddr
527 size_t len, u64 daddr, size_t dlen, in vop_virtio_copy_to_user() argument
531 void __iomem *dbuf = vpdev->hw_ops->ioremap(vpdev, daddr, len); in vop_virtio_copy_to_user()
551 dma_offset = daddr - round_down(daddr, dma_alignment); in vop_virtio_copy_to_user()
552 daddr -= dma_offset; in vop_virtio_copy_to_user()
561 daddr += vpdev->aper->pa; in vop_virtio_copy_to_user()
564 err = vop_sync_dma(vdev, vvr->buf_da, daddr, in vop_virtio_copy_to_user()
578 daddr += partlen; in vop_virtio_copy_to_user()
602 size_t len, u64 daddr, size_t dlen, in vop_virtio_copy_from_user() argument
606 void __iomem *dbuf = vpdev->hw_ops->ioremap(vpdev, daddr, len); in vop_virtio_copy_from_user()
615 if (daddr & (dma_alignment - 1)) { in vop_virtio_copy_from_user()
633 daddr += vpdev->aper->pa; in vop_virtio_copy_from_user()
643 err = vop_sync_dma(vdev, daddr, vvr->buf_da, in vop_virtio_copy_from_user()
650 daddr += partlen; in vop_virtio_copy_from_user()