Home
last modified time | relevance | path

Searched refs:IO_PAGE_SIZE (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/arch/sparc/kernel/
Diommu_common.h24 #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()
Diommu.c240 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()
Dpci_sun4v.c405 for (i = 0; i < npages; i++, base_paddr += IO_PAGE_SIZE) { in dma_4v_map_page()
533 npages = iommu_num_pages(paddr, slen, IO_PAGE_SIZE); in dma_4v_map_sg()
556 paddr += IO_PAGE_SIZE; in dma_4v_map_sg()
609 IO_PAGE_SIZE); in dma_4v_map_sg()
654 npages = iommu_num_pages(dma_handle, len, IO_PAGE_SIZE); in dma_4v_unmap_sg()
757 table_size = (atu->size / IO_PAGE_SIZE) * 8; in pci_sun4v_atu_alloc_iotsb()
769 iotsb->page_size = IO_PAGE_SIZE; in pci_sun4v_atu_alloc_iotsb()
849 num_iotte = atu->size / IO_PAGE_SIZE; in pci_sun4v_atu_init()
884 num_tsb_entries = vdma[1] / IO_PAGE_SIZE; in pci_sun4v_iommu_init()