Searched refs:IO_PAGE_SIZE (Results 1 – 3 of 3) sorted by relevance
/arch/sparc/kernel/ |
D | iommu_common.h | 24 #define IO_PAGE_SIZE (1UL << IO_PAGE_SHIFT) macro 25 #define IO_PAGE_MASK (~(IO_PAGE_SIZE-1)) 26 #define IO_PAGE_ALIGN(addr) ALIGN(addr, IO_PAGE_SIZE) 46 IO_PAGE_SIZE); in is_span_boundary()
|
D | iommu.c | 240 first_page += IO_PAGE_SIZE; in dma_4u_alloc_coherent() 307 for (i = 0; i < npages; i++, base++, base_paddr += IO_PAGE_SIZE) in dma_4u_map_page() 356 for (i = 0; i < npages; i++, vaddr += IO_PAGE_SIZE) in strbuf_flush() 476 IO_PAGE_SIZE) >> IO_PAGE_SHIFT; in dma_4u_map_sg() 490 npages = iommu_num_pages(paddr, slen, IO_PAGE_SIZE); in dma_4u_map_sg() 514 paddr += IO_PAGE_SIZE; in dma_4u_map_sg() 564 IO_PAGE_SIZE); in dma_4u_map_sg() 636 npages = iommu_num_pages(dma_handle, len, IO_PAGE_SIZE); in dma_4u_unmap_sg()
|
D | pci_sun4v.c | 273 for (i = 0; i < npages; i++, base_paddr += IO_PAGE_SIZE) { in dma_4v_map_page() 361 IO_PAGE_SIZE) >> IO_PAGE_SHIFT; in dma_4v_map_sg() 374 npages = iommu_num_pages(paddr, slen, IO_PAGE_SIZE); in dma_4v_map_sg() 398 paddr += IO_PAGE_SIZE; in dma_4v_map_sg() 452 IO_PAGE_SIZE); in dma_4v_map_sg() 495 npages = iommu_num_pages(dma_handle, len, IO_PAGE_SIZE); in dma_4v_unmap_sg() 578 num_tsb_entries = vdma[1] / IO_PAGE_SIZE; in pci_sun4v_iommu_init()
|