Home
last modified time | relevance | path

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

/linux-6.1.9/arch/sparc/kernel/
Diommu.c208 size = IO_PAGE_ALIGN(size); in dma_4u_alloc_coherent()
253 npages = IO_PAGE_ALIGN(size) >> IO_PAGE_SHIFT; in dma_4u_free_coherent()
283 npages = IO_PAGE_ALIGN(oaddr + sz) - (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()
673 npages = IO_PAGE_ALIGN(bus_addr + sz) - (bus_addr & IO_PAGE_MASK); in dma_4u_sync_single_for_cpu()
734 npages = (IO_PAGE_ALIGN(sgprv->dma_address + sgprv->dma_length) in dma_4u_sync_sg_for_cpu()
Diommu_common.h26 #define IO_PAGE_ALIGN(addr) ALIGN(addr, IO_PAGE_SIZE) macro
Dpci_sun4v.c194 size = IO_PAGE_ALIGN(size); in dma_4v_alloc_coherent()
333 npages = IO_PAGE_ALIGN(size) >> IO_PAGE_SHIFT; in dma_4v_free_coherent()
376 npages = IO_PAGE_ALIGN(oaddr + sz) - (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()