Searched refs:startsg (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/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), 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 | 278 sba_dump_sg( struct ioc *ioc, struct scatterlist *startsg, int nents) in sba_dump_sg() argument 283 (unsigned long) sg_dma_address(startsg), in sba_dump_sg() 284 sg_dma_len(startsg), in sba_dump_sg() 285 sg_virt(startsg), startsg->length); in sba_dump_sg() 286 startsg++; in sba_dump_sg()
|