Searched refs:IO_PAGE_SIZE (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/arch/sparc/kernel/ |
H A 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()
|
H A 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() 489 npages = iommu_num_pages(paddr, slen, IO_PAGE_SIZE); in dma_4u_map_sg() 513 paddr += IO_PAGE_SIZE; in dma_4u_map_sg() 562 IO_PAGE_SIZE); in dma_4u_map_sg() 633 npages = iommu_num_pages(dma_handle, len, IO_PAGE_SIZE); in dma_4u_unmap_sg()
|
H A D | pci_sun4v.c | 406 for (i = 0; i < npages; i++, base_paddr += IO_PAGE_SIZE) { in dma_4v_map_page() 534 npages = iommu_num_pages(paddr, slen, IO_PAGE_SIZE); in dma_4v_map_sg() 557 paddr += IO_PAGE_SIZE; in dma_4v_map_sg() 610 IO_PAGE_SIZE); in dma_4v_map_sg() 655 npages = iommu_num_pages(dma_handle, len, IO_PAGE_SIZE); in dma_4v_unmap_sg() 758 table_size = (atu->size / IO_PAGE_SIZE) * 8; in pci_sun4v_atu_alloc_iotsb() 770 iotsb->page_size = IO_PAGE_SIZE; in pci_sun4v_atu_alloc_iotsb() 850 num_iotte = atu->size / IO_PAGE_SIZE; in pci_sun4v_atu_init() 885 num_tsb_entries = vdma[1] / IO_PAGE_SIZE; in pci_sun4v_iommu_init()
|