Lines Matching refs:IO_PAGE_MASK
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()
404 npages = IO_PAGE_ALIGN(bus_addr + sz) - (bus_addr & IO_PAGE_MASK); in dma_4u_unmap_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()
673 npages = IO_PAGE_ALIGN(bus_addr + sz) - (bus_addr & IO_PAGE_MASK); in dma_4u_sync_single_for_cpu()
675 bus_addr &= IO_PAGE_MASK; in dma_4u_sync_single_for_cpu()
726 bus_addr = sglist[0].dma_address & IO_PAGE_MASK; in dma_4u_sync_sg_for_cpu()