Lines Matching refs:dma_map
92 free_pciio_dmamap(pcibr_dmamap_t dma_map) in free_pciio_dmamap() argument
96 sn_dma_map = (struct sn_dma_maps_s *) dma_map; in free_pciio_dmamap()
151 pciio_dmamap_t dma_map = 0; in sn_pci_alloc_consistent() local
202 dma_map = pciio_dmamap_alloc(vhdl, NULL, size, in sn_pci_alloc_consistent()
204 if (!dma_map) { in sn_pci_alloc_consistent()
209 *dma_handle = (dma_addr_t) pciio_dmamap_addr(dma_map,phys_addr, in sn_pci_alloc_consistent()
211 sn_dma_map = (struct sn_dma_maps_s *)dma_map; in sn_pci_alloc_consistent()
268 pciio_dmamap_t dma_map; in sn_pci_map_sg() local
321 dma_map = pciio_dmamap_alloc(vhdl, NULL, sg->length, PCIIO_DMA_DATA); in sn_pci_map_sg()
322 if (!dma_map) { in sn_pci_map_sg()
334 sg->dma_address = pciio_dmamap_addr(dma_map, phys_addr, sg->length); in sn_pci_map_sg()
336 sn_dma_map = (struct sn_dma_maps_s *)dma_map; in sn_pci_map_sg()
409 pciio_dmamap_t dma_map = NULL; in sn_pci_map_single() local
455 dma_map = NULL; in sn_pci_map_single()
456 dma_map = pciio_dmamap_alloc(vhdl, NULL, size, PCIIO_DMA_DATA); in sn_pci_map_single()
458 if (!dma_map) { in sn_pci_map_single()
464 dma_addr = (dma_addr_t) pciio_dmamap_addr(dma_map, phys_addr, size); in sn_pci_map_single()
465 sn_dma_map = (struct sn_dma_maps_s *)dma_map; in sn_pci_map_single()