Lines Matching full:seg
55 struct fwdma_seg seg[0]; member
64 return ((caddr_t)am->seg[offset / ssize].v_addr + (offset % ssize)); in fwdma_v_addr()
73 return (am->seg[offset / ssize].bus_addr + (offset % ssize)); in fwdma_bus_addr()
86 struct fwdma_seg *seg, *eseg; in fwdma_sync_multiseg() local
88 seg = &am->seg[am->esize * start / am->ssize]; in fwdma_sync_multiseg()
89 eseg = &am->seg[am->esize * end / am->ssize]; in fwdma_sync_multiseg()
90 for (; seg <= eseg; seg++) in fwdma_sync_multiseg()
91 bus_dmamap_sync(am->dma_tag, seg->dma_map, op); in fwdma_sync_multiseg()
97 struct fwdma_seg *seg; in fwdma_sync_multiseg_all() local
100 seg = &am->seg[0]; in fwdma_sync_multiseg_all()
101 for (i = 0; i < am->nseg; i++, seg++) in fwdma_sync_multiseg_all()
102 bus_dmamap_sync(am->dma_tag, seg->dma_map, op); in fwdma_sync_multiseg_all()