Home
last modified time | relevance | path

Searched refs:startsg (Results 1 – 3 of 3) sorted by relevance

/linux-3.4.99/drivers/parisc/
Diommu-helpers.h14 iommu_fill_pdir(struct ioc *ioc, struct scatterlist *startsg, int nents, in iommu_fill_pdir() argument
19 struct scatterlist *dma_sg = startsg; /* pointer to current DMA */ in iommu_fill_pdir()
34 (unsigned long)sg_dma_address(startsg), cnt, in iommu_fill_pdir()
35 sg_virt_addr(startsg), startsg->length in iommu_fill_pdir()
43 if (sg_dma_address(startsg) & PIDE_FLAG) { in iommu_fill_pdir()
44 u32 pide = sg_dma_address(startsg) & ~PIDE_FLAG; in iommu_fill_pdir()
50 dma_len = sg_dma_len(startsg); in iommu_fill_pdir()
51 sg_dma_len(startsg) = 0; in iommu_fill_pdir()
69 vaddr = sg_virt_addr(startsg); in iommu_fill_pdir()
70 sg_dma_len(dma_sg) += startsg->length; in iommu_fill_pdir()
[all …]
Dsba_iommu.c274 sba_dump_sg( struct ioc *ioc, struct scatterlist *startsg, int nents) in sba_dump_sg() argument
279 (unsigned long) sg_dma_address(startsg), in sba_dump_sg()
280 sg_dma_len(startsg), in sba_dump_sg()
281 sg_virt_addr(startsg), startsg->length); in sba_dump_sg()
282 startsg++; in sba_dump_sg()
/linux-3.4.99/arch/ia64/hp/common/
Dsba_iommu.c395 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()
1228 struct scatterlist *startsg, in sba_fill_pdir() argument
1231 struct scatterlist *dma_sg = startsg; /* pointer to current DMA */ in sba_fill_pdir()
1237 int cnt = startsg->dma_length; in sba_fill_pdir()
[all …]