Searched refs:IO_PAGE_MASK (Results 1 – 3 of 3) sorted by relevance
375 npages = IO_PAGE_ALIGN(oaddr + sz) - (oaddr & IO_PAGE_MASK); in dma_4u_map_page()390 ret = bus_addr | (oaddr & ~IO_PAGE_MASK); in dma_4u_map_page()391 base_paddr = __pa(oaddr & IO_PAGE_MASK); in dma_4u_map_page()496 npages = IO_PAGE_ALIGN(bus_addr + sz) - (bus_addr & IO_PAGE_MASK); in dma_4u_unmap_page()500 bus_addr &= IO_PAGE_MASK; in dma_4u_unmap_page()599 dma_addr |= (s->offset & ~IO_PAGE_MASK); in dma_4u_map_sg()602 paddr &= IO_PAGE_MASK; in dma_4u_map_sg()654 vaddr = s->dma_address & IO_PAGE_MASK; in dma_4u_map_sg()688 bus_addr = sg->dma_address & IO_PAGE_MASK; in fetch_sg_ctx()732 dma_handle &= IO_PAGE_MASK; in dma_4u_unmap_sg()[all …]
25 #define IO_PAGE_MASK (~(IO_PAGE_SIZE-1)) macro
253 npages = IO_PAGE_ALIGN(oaddr + sz) - (oaddr & IO_PAGE_MASK); in dma_4v_map_page()265 ret = bus_addr | (oaddr & ~IO_PAGE_MASK); in dma_4v_map_page()266 base_paddr = __pa(oaddr & IO_PAGE_MASK); in dma_4v_map_page()321 npages = IO_PAGE_ALIGN(bus_addr + sz) - (bus_addr & IO_PAGE_MASK); in dma_4v_unmap_page()323 bus_addr &= IO_PAGE_MASK; in dma_4v_unmap_page()409 dma_addr |= (s->offset & ~IO_PAGE_MASK); in dma_4v_map_sg()412 paddr &= IO_PAGE_MASK; in dma_4v_map_sg()469 vaddr = s->dma_address & IO_PAGE_MASK; in dma_4v_map_sg()592 if ((vdma[0] | vdma[1]) & ~IO_PAGE_MASK) { in pci_sun4v_iommu_init()