Home
last modified time | relevance | path

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

/linux-2.4.37.9/arch/sparc64/kernel/
Dpci_iommu.c211 size = IO_PAGE_ALIGN(size); in pci_alloc_consistent()
272 npages = IO_PAGE_ALIGN(size) >> IO_PAGE_SHIFT; in pci_free_consistent()
348 npages = IO_PAGE_ALIGN(oaddr + sz) - (oaddr & IO_PAGE_MASK); in pci_map_single()
399 npages = IO_PAGE_ALIGN(bus_addr + sz) - (bus_addr & IO_PAGE_MASK); in pci_unmap_single()
638 npages = (IO_PAGE_ALIGN(sglist[i].dma_address + sglist[i].dma_length) - bus_addr) >> IO_PAGE_SHIFT; in pci_unmap_sg()
708 npages = IO_PAGE_ALIGN(bus_addr + sz) - (bus_addr & IO_PAGE_MASK); in pci_dma_sync_single()
801 …npages = (IO_PAGE_ALIGN(sglist[i].dma_address + sglist[i].dma_length) - bus_addr) >> IO_PAGE_SHIFT; in pci_dma_sync_sg()
Diommu_common.h21 #define IO_PAGE_ALIGN(addr) (((addr)+IO_PAGE_SIZE-1)&IO_PAGE_MASK) macro
Dsbus.c302 size = IO_PAGE_ALIGN(size); in sbus_alloc_consistent()
344 npages = IO_PAGE_ALIGN(size) >> IO_PAGE_SHIFT; in sbus_free_consistent()
370 size = (IO_PAGE_ALIGN(pbase + size) - (pbase & IO_PAGE_MASK)); in sbus_map_single()
404 size = (IO_PAGE_ALIGN(dma_addr + size) - dma_base); in sbus_unmap_single()
570 size = IO_PAGE_ALIGN(sg[i].dma_address + sg[i].dma_length) - dvma_base; in sbus_unmap_sg()
584 size = (IO_PAGE_ALIGN(base + size) - (base & IO_PAGE_MASK)); in sbus_dma_sync_single()
604 size = IO_PAGE_ALIGN(sg[i].dma_address + sg[i].dma_length) - base; in sbus_dma_sync_sg()