Searched refs:dma_ofs (Results 1 – 1 of 1) sorted by relevance
236 long npages, dma_ofs, i; in pci_map_single_1() local284 dma_ofs = iommu_arena_alloc(dev, arena, npages, align); in pci_map_single_1()285 if (dma_ofs < 0) { in pci_map_single_1()293 arena->ptes[i + dma_ofs] = mk_iommu_pte(paddr); in pci_map_single_1()295 ret = arena->dma_base + dma_ofs * PAGE_SIZE; in pci_map_single_1()357 long dma_ofs, npages; in alpha_pci_unmap_page() local381 dma_ofs = (dma_addr - arena->dma_base) >> PAGE_SHIFT; in alpha_pci_unmap_page()382 if (dma_ofs * PAGE_SIZE >= arena->size) { in alpha_pci_unmap_page()394 iommu_arena_free(arena, dma_ofs, npages); in alpha_pci_unmap_page()399 if (dma_ofs >= arena->next_entry) in alpha_pci_unmap_page()[all …]