Searched refs:startsg (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/drivers/parisc/ |
D | iommu-helpers.h | 15 iommu_fill_pdir(struct ioc *ioc, struct scatterlist *startsg, int nents, in iommu_fill_pdir() argument 20 struct scatterlist *dma_sg = startsg; /* pointer to current DMA */ in iommu_fill_pdir() 35 (unsigned long)sg_dma_address(startsg), cnt, in iommu_fill_pdir() 36 sg_virt(startsg), startsg->length in iommu_fill_pdir() 44 if (sg_dma_address(startsg) & PIDE_FLAG) { in iommu_fill_pdir() 45 u32 pide = sg_dma_address(startsg) & ~PIDE_FLAG; in iommu_fill_pdir() 51 dma_len = sg_dma_len(startsg); in iommu_fill_pdir() 52 sg_dma_len(startsg) = 0; in iommu_fill_pdir() 70 vaddr = (unsigned long)sg_virt(startsg); in iommu_fill_pdir() 71 sg_dma_len(dma_sg) += startsg->length; in iommu_fill_pdir() [all …]
|
D | sba_iommu.c | 276 sba_dump_sg( struct ioc *ioc, struct scatterlist *startsg, int nents) in sba_dump_sg() argument 281 (unsigned long) sg_dma_address(startsg), in sba_dump_sg() 282 sg_dma_len(startsg), in sba_dump_sg() 283 sg_virt(startsg), startsg->length); in sba_dump_sg() 284 startsg++; in sba_dump_sg()
|
/Linux-v4.19/arch/ia64/hp/common/ |
D | sba_iommu.c | 395 sba_dump_sg( struct ioc *ioc, struct scatterlist *startsg, int nents) in sba_dump_sg() argument 399 startsg->dma_address, startsg->dma_length, in sba_dump_sg() 400 sba_sg_address(startsg)); in sba_dump_sg() 401 startsg = sg_next(startsg); in sba_dump_sg() 406 sba_check_sg( struct ioc *ioc, struct scatterlist *startsg, int nents) in sba_check_sg() argument 408 struct scatterlist *the_sg = startsg; in sba_check_sg() 413 sba_dump_sg(NULL, startsg, nents); in sba_check_sg() 1226 struct scatterlist *startsg, in sba_fill_pdir() argument 1229 struct scatterlist *dma_sg = startsg; /* pointer to current DMA */ in sba_fill_pdir() 1235 int cnt = startsg->dma_length; in sba_fill_pdir() [all …]
|