Searched refs:IO_PAGE_SIZE (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/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 | 241 first_page += IO_PAGE_SIZE; in dma_4u_alloc_coherent() 308 for (i = 0; i < npages; i++, base++, base_paddr += IO_PAGE_SIZE) in dma_4u_map_page() 357 for (i = 0; i < npages; i++, vaddr += IO_PAGE_SIZE) in strbuf_flush() 477 IO_PAGE_SIZE) >> IO_PAGE_SHIFT; in dma_4u_map_sg() 491 npages = iommu_num_pages(paddr, slen, IO_PAGE_SIZE); in dma_4u_map_sg() 515 paddr += IO_PAGE_SIZE; in dma_4u_map_sg() 565 IO_PAGE_SIZE); in dma_4u_map_sg() 637 npages = iommu_num_pages(dma_handle, len, IO_PAGE_SIZE); in dma_4u_unmap_sg()
|
D | pci_sun4v.c | 402 for (i = 0; i < npages; i++, base_paddr += IO_PAGE_SIZE) { in dma_4v_map_page() 510 IO_PAGE_SIZE) >> IO_PAGE_SHIFT; in dma_4v_map_sg() 531 npages = iommu_num_pages(paddr, slen, IO_PAGE_SIZE); in dma_4v_map_sg() 554 paddr += IO_PAGE_SIZE; in dma_4v_map_sg() 608 IO_PAGE_SIZE); in dma_4v_map_sg() 654 npages = iommu_num_pages(dma_handle, len, IO_PAGE_SIZE); in dma_4v_unmap_sg() 769 table_size = (atu->size / IO_PAGE_SIZE) * 8; in pci_sun4v_atu_alloc_iotsb() 781 iotsb->page_size = IO_PAGE_SIZE; in pci_sun4v_atu_alloc_iotsb() 861 num_iotte = atu->size / IO_PAGE_SIZE; in pci_sun4v_atu_init() 896 num_tsb_entries = vdma[1] / IO_PAGE_SIZE; in pci_sun4v_iommu_init()
|