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); in ahc_sg_bus_to_virt()
377 ahc_sg_virt_to_bus(struct scb *scb, struct ahc_dma_seg *sg) in ahc_sg_virt_to_bus()
411 * sizeof(struct ahc_dma_seg), in ahc_sync_sglist()
412 /*len*/sizeof(struct ahc_dma_seg) * scb->sg_count, op); in ahc_sync_sglist()
1051 struct ahc_dma_seg *sg; in ahc_handle_seqint()
4169 struct ahc_dma_seg *sg; in ahc_handle_ign_wide_residue()
4244 struct ahc_dma_seg *sg; in ahc_reinitialize_dataptrs()
4935 struct ahc_dma_seg *segs; in ahc_alloc_scbs()
4968 newcount = (PAGE_SIZE / (AHC_NSEG * sizeof(struct ahc_dma_seg))); in ahc_alloc_scbs()
4983 next_scb->sg_list_phys = physaddr + sizeof(struct ahc_dma_seg); in ahc_alloc_scbs()
4991 physaddr += (AHC_NSEG * sizeof(struct ahc_dma_seg)); in ahc_alloc_scbs()
5379 (u_int)sizeof(struct ahc_dma_seg)); in ahc_init()
6634 struct ahc_dma_seg *sg; in ahc_calc_residual()
6814 if (sg_prefetch_cnt < (2 * sizeof(struct ahc_dma_seg))) in ahc_loadseq()
6815 sg_prefetch_cnt = 2 * sizeof(struct ahc_dma_seg); in ahc_loadseq()