Lines Matching refs:ahc_dma_seg
363 static struct ahc_dma_seg *
368 sg_index = (sg_busaddr - scb->sg_list_phys)/sizeof(struct ahc_dma_seg);
376 ahc_sg_virt_to_bus(struct scb *scb, struct ahc_dma_seg *sg)
410 * sizeof(struct ahc_dma_seg),
411 /*len*/sizeof(struct ahc_dma_seg) * scb->sg_count, op);
1050 struct ahc_dma_seg *sg;
4144 struct ahc_dma_seg *sg;
4219 struct ahc_dma_seg *sg;
4921 struct ahc_dma_seg *segs;
4954 newcount = (PAGE_SIZE / (AHC_NSEG * sizeof(struct ahc_dma_seg)));
4971 next_scb->sg_list_phys = physaddr + sizeof(struct ahc_dma_seg);
4985 physaddr += (AHC_NSEG * sizeof(struct ahc_dma_seg));
5391 (u_int)sizeof(struct ahc_dma_seg));
6635 struct ahc_dma_seg *sg;
6815 if (sg_prefetch_cnt < (2 * sizeof(struct ahc_dma_seg)))
6816 sg_prefetch_cnt = 2 * sizeof(struct ahc_dma_seg);