Searched refs:IO_PAGE_SIZE (Results 1 – 3 of 3) sorted by relevance
/linux-2.6.39/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 | 326 first_page += IO_PAGE_SIZE; in dma_4u_alloc_coherent() 396 for (i = 0; i < npages; i++, base++, base_paddr += IO_PAGE_SIZE) in dma_4u_map_page() 445 for (i = 0; i < npages; i++, vaddr += IO_PAGE_SIZE) in strbuf_flush() 566 IO_PAGE_SIZE) >> IO_PAGE_SHIFT; in dma_4u_map_sg() 580 npages = iommu_num_pages(paddr, slen, IO_PAGE_SIZE); in dma_4u_map_sg() 603 paddr += IO_PAGE_SIZE; in dma_4u_map_sg() 653 IO_PAGE_SIZE); in dma_4u_map_sg() 722 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() 378 IO_PAGE_SIZE) >> IO_PAGE_SHIFT; in dma_4v_map_sg() 391 npages = iommu_num_pages(paddr, slen, IO_PAGE_SIZE); in dma_4v_map_sg() 415 paddr += IO_PAGE_SIZE; in dma_4v_map_sg() 469 IO_PAGE_SIZE); in dma_4v_map_sg() 509 npages = iommu_num_pages(dma_handle, len, IO_PAGE_SIZE); in dma_4v_unmap_sg() 598 num_tsb_entries = vdma[1] / IO_PAGE_SIZE; in pci_sun4v_iommu_init()
|