Home
last modified time | relevance | path

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

/linux-2.6.39/arch/sparc/kernel/
Diommu_common.h26 #define IO_PAGE_ALIGN(addr) ALIGN(addr, IO_PAGE_SIZE) macro
Diommu.c292 size = IO_PAGE_ALIGN(size); in dma_4u_alloc_coherent()
338 npages = IO_PAGE_ALIGN(size) >> IO_PAGE_SHIFT; in dma_4u_free_coherent()
372 npages = IO_PAGE_ALIGN(oaddr + sz) - (oaddr & IO_PAGE_MASK); in dma_4u_map_page()
493 npages = IO_PAGE_ALIGN(bus_addr + sz) - (bus_addr & IO_PAGE_MASK); in dma_4u_unmap_page()
761 npages = IO_PAGE_ALIGN(bus_addr + sz) - (bus_addr & IO_PAGE_MASK); in dma_4u_sync_single_for_cpu()
820 npages = (IO_PAGE_ALIGN(sgprv->dma_address + sgprv->dma_length) in dma_4u_sync_sg_for_cpu()
Dpci_sun4v.c139 size = IO_PAGE_ALIGN(size); in dma_4v_alloc_coherent()
207 npages = IO_PAGE_ALIGN(size) >> IO_PAGE_SHIFT; in dma_4v_free_coherent()
251 npages = IO_PAGE_ALIGN(oaddr + sz) - (oaddr & IO_PAGE_MASK); in dma_4v_map_page()
319 npages = IO_PAGE_ALIGN(bus_addr + sz) - (bus_addr & IO_PAGE_MASK); in dma_4v_unmap_page()