Lines Matching refs:ahc_dma_seg
364 static struct ahc_dma_seg *
369 sg_index = (sg_busaddr - scb->sg_list_phys)/sizeof(struct ahc_dma_seg);
377 ahc_sg_virt_to_bus(struct scb *scb, struct ahc_dma_seg *sg)
411 * sizeof(struct ahc_dma_seg),
412 /*len*/sizeof(struct ahc_dma_seg) * scb->sg_count, op);
1051 struct ahc_dma_seg *sg;
4169 struct ahc_dma_seg *sg;
4244 struct ahc_dma_seg *sg;
4935 struct ahc_dma_seg *segs;
4968 newcount = (PAGE_SIZE / (AHC_NSEG * sizeof(struct ahc_dma_seg)));
4983 next_scb->sg_list_phys = physaddr + sizeof(struct ahc_dma_seg);
4991 physaddr += (AHC_NSEG * sizeof(struct ahc_dma_seg));
5379 (u_int)sizeof(struct ahc_dma_seg));
6634 struct ahc_dma_seg *sg;
6814 if (sg_prefetch_cnt < (2 * sizeof(struct ahc_dma_seg)))
6815 sg_prefetch_cnt = 2 * sizeof(struct ahc_dma_seg);