Lines Matching refs:dma_handle
992 dma_addr_t *dma_handle) in pci_alloc_consistent() argument
1002 PPCDBG(PPCDBG_TCE, "\tdma_handle = 0x%16.16lx\n", dma_handle); in pci_alloc_consistent()
1030 *dma_handle = tce; in pci_alloc_consistent()
1039 PPCDBG(PPCDBG_TCE, "\tpci_alloc_consistent: dma_handle = 0x%16.16lx\n", *dma_handle); in pci_alloc_consistent()
1045 void *vaddr, dma_addr_t dma_handle) in pci_free_consistent() argument
1051 …ize = 0x%16.16lx, dma_handle = 0x%16.16lx, vaddr = 0x%16.16lx\n", hwdev, size, dma_handle, vaddr); in pci_free_consistent()
1067 tce_free(tbl, dma_handle, order, nPages); in pci_free_consistent()
1082 dma_addr_t dma_handle = NO_TCE; in pci_map_single() local
1100 return dma_handle; in pci_map_single()
1107 dma_handle = get_tces( tbl, order, vaddr, nPages, direction ); in pci_map_single()
1108 dma_handle |= ( uaddr & ~PAGE_MASK ); in pci_map_single()
1113 return dma_handle; in pci_map_single()
1116 void pci_unmap_single( struct pci_dev *hwdev, dma_addr_t dma_handle, size_t size, int direction ) in pci_unmap_single() argument
1122 …%16.16lx, direction = 0x%16.16lx, dma_handle = 0x%16.16lx\n", hwdev, size, direction, dma_handle); in pci_unmap_single()
1126 nPages = PAGE_ALIGN( dma_handle + size ) - ( dma_handle & PAGE_MASK ); in pci_unmap_single()
1140 tce_free(tbl, dma_handle, order, nPages); in pci_unmap_single()
1364 dma_addr_t dma_handle; in pci_map_sg() local
1386 dma_handle = create_tces_sg( tbl, sg, nents, numTces, direction ); in pci_map_sg()
1388 if(dma_handle == NO_TCE) return 0; in pci_map_sg()
1391 num_dma = fill_scatterlist_sg( sg, nents, dma_handle, numTces ); in pci_map_sg()