Lines Matching refs:dma_address
507 sg->dma_address = -1; in sg_classify()
510 sg->dma_address = -2; in sg_classify()
515 leader->dma_address = leader_flag; in sg_classify()
525 leader->dma_address = leader_flag; in sg_classify()
546 if (leader->dma_address == 0 in sg_fill()
549 out->dma_address = paddr + __direct_map_base; in sg_fill()
553 __va(paddr), size, out->dma_address); in sg_fill()
560 if (leader->dma_address == 0 && dac_allowed) { in sg_fill()
561 out->dma_address = paddr + alpha_mv.pci_dac_offset; in sg_fill()
565 __va(paddr), size, out->dma_address); in sg_fill()
578 if (leader->dma_address == 0) in sg_fill()
587 out->dma_address = arena->dma_base + dma_ofs*PAGE_SIZE + paddr; in sg_fill()
591 __va(paddr), size, out->dma_address, npages); in sg_fill()
605 while (sg+1 < end && (int) sg[1].dma_address == -1) { in sg_fill()
626 } while (++sg < end && (int) sg->dma_address < 0); in sg_fill()
649 sg->dma_address in alpha_pci_map_sg()
652 if (sg->dma_address == DMA_MAPPING_ERROR) in alpha_pci_map_sg()
679 if ((int) sg->dma_address < 0) in alpha_pci_map_sg()
746 addr = sg->dma_address; in alpha_pci_unmap_sg()