Home
last modified time | relevance | path

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

/arch/sparc/kernel/
Diommu_common.h26 #define IO_PAGE_ALIGN(addr) ALIGN(addr, IO_PAGE_SIZE) macro
Diommu.c294 size = IO_PAGE_ALIGN(size); in dma_4u_alloc_coherent()
341 npages = IO_PAGE_ALIGN(size) >> IO_PAGE_SHIFT; in dma_4u_free_coherent()
375 npages = IO_PAGE_ALIGN(oaddr + sz) - (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()
764 npages = IO_PAGE_ALIGN(bus_addr + sz) - (bus_addr & IO_PAGE_MASK); in dma_4u_sync_single_for_cpu()
823 npages = (IO_PAGE_ALIGN(sgprv->dma_address + sgprv->dma_length) in dma_4u_sync_sg_for_cpu()
Dpci_sun4v.c141 size = IO_PAGE_ALIGN(size); in dma_4v_alloc_coherent()
209 npages = IO_PAGE_ALIGN(size) >> IO_PAGE_SHIFT; in dma_4v_free_coherent()
253 npages = IO_PAGE_ALIGN(oaddr + sz) - (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()