Lines Matching refs:dma_handle
145 sn_pci_alloc_consistent(struct pci_dev *hwdev, size_t size, dma_addr_t *dma_handle) in sn_pci_alloc_consistent() argument
154 *dma_handle = 0; in sn_pci_alloc_consistent()
184 *dma_handle = pciio_dmatrans_addr(vhdl, NULL, phys_addr, size, in sn_pci_alloc_consistent()
192 if (*dma_handle > hwdev->consistent_dma_mask) { in sn_pci_alloc_consistent()
201 if (!(*dma_handle)) { in sn_pci_alloc_consistent()
209 *dma_handle = (dma_addr_t) pciio_dmamap_addr(dma_map,phys_addr, in sn_pci_alloc_consistent()
212 sn_dma_map->dma_addr = *dma_handle; in sn_pci_alloc_consistent()
229 sn_pci_free_consistent(struct pci_dev *hwdev, size_t size, void *vaddr, dma_addr_t dma_handle) in sn_pci_free_consistent() argument
236 if (IS_PCI32_MAPPED(dma_handle)) in sn_pci_free_consistent()
237 sn_dma_map = find_sn_dma_map(dma_handle, hwdev->bus->number); in sn_pci_free_consistent()
517 sn_pci_dma_sync_single(struct pci_dev *hwdev, dma_addr_t dma_handle, size_t size, int direction) in sn_pci_dma_sync_single() argument