Lines Matching refs:phys_addr
150 unsigned long phys_addr; in sn_pci_alloc_consistent() local
176 phys_addr = __pa(cpuaddr); in sn_pci_alloc_consistent()
184 *dma_handle = pciio_dmatrans_addr(vhdl, NULL, phys_addr, size, in sn_pci_alloc_consistent()
209 *dma_handle = (dma_addr_t) pciio_dmamap_addr(dma_map,phys_addr, in sn_pci_alloc_consistent()
266 unsigned long phys_addr; in sn_pci_map_sg() local
287 phys_addr = __pa(sg->address ? sg->address : in sn_pci_map_sg()
295 sg->dma_address = pciio_dmatrans_addr(vhdl, NULL, phys_addr, in sn_pci_map_sg()
305 sg->dma_address = pciio_dmatrans_addr(vhdl, NULL, phys_addr, in sn_pci_map_sg()
334 sg->dma_address = pciio_dmamap_addr(dma_map, phys_addr, sg->length); in sn_pci_map_sg()
407 unsigned long phys_addr; in sn_pci_map_single() local
429 phys_addr = __pa(ptr); in sn_pci_map_single()
433 dma_addr = pciio_dmatrans_addr(vhdl, NULL, phys_addr, size, in sn_pci_map_single()
445 dma_addr = pciio_dmatrans_addr(vhdl, NULL, phys_addr, size, in sn_pci_map_single()
464 dma_addr = (dma_addr_t) pciio_dmamap_addr(dma_map, phys_addr, size); in sn_pci_map_single()