Lines Matching refs:scb_dma
817 #define SCB_DMA_ADDR(scb, addr) ((unsigned long)(addr) + (scb)->scb_dma->dma_offset)
857 struct aic7xxx_scb_dma *scb_dma; member
2642 struct aic7xxx_scb_dma *scb_dma; in aic7xxx_allocate_scb() local
2676 scb_dma = (struct aic7xxx_scb_dma *)&scb_ap[scb_count]; in aic7xxx_allocate_scb()
2679 &scb_dma->dma_address); in aic7xxx_allocate_scb()
2698 scb_dma->dma_offset = (unsigned long)scb_dma->dma_address in aic7xxx_allocate_scb()
2700 scb_dma->dma_len = scb_size * scb_count; in aic7xxx_allocate_scb()
2709 scbp->scb_dma = scb_dma; in aic7xxx_allocate_scb()
8914 struct aic7xxx_scb_dma *scb_dma = NULL; in aic7xxx_free() local
8929 if (p->scb_data->scb_array[i]->scb_dma != scb_dma) in aic7xxx_free()
8931 scb_dma = p->scb_data->scb_array[i]->scb_dma; in aic7xxx_free()
8932 pci_free_consistent(p->pdev, scb_dma->dma_len, in aic7xxx_free()
8933 (void *)((unsigned long)scb_dma->dma_address in aic7xxx_free()
8934 - scb_dma->dma_offset), in aic7xxx_free()
8935 scb_dma->dma_address); in aic7xxx_free()