Searched refs:IO_PAGE_MASK (Results 1 – 3 of 3) sorted by relevance
283 npages = IO_PAGE_ALIGN(oaddr + sz) - (oaddr & IO_PAGE_MASK); in dma_4u_map_page()298 ret = bus_addr | (oaddr & ~IO_PAGE_MASK); in dma_4u_map_page()299 base_paddr = __pa(oaddr & IO_PAGE_MASK); in dma_4u_map_page()408 bus_addr &= IO_PAGE_MASK; in dma_4u_unmap_page()506 dma_addr |= (s->offset & ~IO_PAGE_MASK); in dma_4u_map_sg()509 paddr &= IO_PAGE_MASK; in dma_4u_map_sg()560 vaddr = s->dma_address & IO_PAGE_MASK; in dma_4u_map_sg()596 bus_addr = sg->dma_address & IO_PAGE_MASK; in fetch_sg_ctx()639 dma_handle &= IO_PAGE_MASK; in dma_4u_unmap_sg()675 bus_addr &= IO_PAGE_MASK; in dma_4u_sync_single_for_cpu()[all …]
376 npages = IO_PAGE_ALIGN(oaddr + sz) - (oaddr & IO_PAGE_MASK); in dma_4v_map_page()392 ret = bus_addr | (oaddr & ~IO_PAGE_MASK); in dma_4v_map_page()393 base_paddr = __pa(oaddr & IO_PAGE_MASK); in dma_4v_map_page()452 npages = IO_PAGE_ALIGN(bus_addr + sz) - (bus_addr & IO_PAGE_MASK); in dma_4v_unmap_page()454 bus_addr &= IO_PAGE_MASK; in dma_4v_unmap_page()548 dma_addr |= (s->offset & ~IO_PAGE_MASK); in dma_4v_map_sg()551 paddr &= IO_PAGE_MASK; in dma_4v_map_sg()607 vaddr = s->dma_address & IO_PAGE_MASK; in dma_4v_map_sg()877 if ((vdma[0] | vdma[1]) & ~IO_PAGE_MASK) { in pci_sun4v_iommu_init()
25 #define IO_PAGE_MASK (~(IO_PAGE_SIZE-1)) macro
Completed in 8 milliseconds