Home
last modified time | relevance | path

Searched refs:dma_offset (Results 1 – 2 of 2) sorted by relevance

/linux-4.19.296/drivers/parisc/
Diommu-helpers.h22 unsigned long dma_offset = 0, dma_len = 0; in iommu_fill_pdir() local
53 dma_offset = (unsigned long) pide & ~IOVP_MASK; in iommu_fill_pdir()
72 size = startsg->length + dma_offset; in iommu_fill_pdir()
73 dma_offset = 0; in iommu_fill_pdir()
106 unsigned long dma_offset, dma_len; /* start/len of DMA stream */ in iommu_coalesce_chunks() local
121 dma_offset = startsg->offset; in iommu_coalesce_chunks()
149 if (unlikely(ALIGN(dma_len + dma_offset + startsg->length, IOVP_SIZE) > in iommu_coalesce_chunks()
172 dma_len = ALIGN(dma_len + dma_offset, IOVP_SIZE); in iommu_coalesce_chunks()
176 | dma_offset; in iommu_coalesce_chunks()
/linux-4.19.296/drivers/misc/mic/vop/
Dvop_vringh.c536 size_t dma_offset, partlen; in vop_virtio_copy_to_user() local
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()
553 len += dma_offset; in vop_virtio_copy_to_user()
571 if (copy_to_user(ubuf, vvr->buf + dma_offset, in vop_virtio_copy_to_user()
572 partlen - dma_offset)) { in vop_virtio_copy_to_user()
584 dma_offset = 0; in vop_virtio_copy_to_user()