Lines Matching refs:phys_addr_t
47 static inline phys_addr_t xen_phys_to_bus(struct device *dev, phys_addr_t paddr) in xen_phys_to_bus()
50 phys_addr_t baddr = (phys_addr_t)bfn << XEN_PAGE_SHIFT; in xen_phys_to_bus()
56 static inline dma_addr_t xen_phys_to_dma(struct device *dev, phys_addr_t paddr) in xen_phys_to_dma()
61 static inline phys_addr_t xen_bus_to_phys(struct device *dev, in xen_bus_to_phys()
62 phys_addr_t baddr) in xen_bus_to_phys()
65 phys_addr_t paddr = (xen_pfn << XEN_PAGE_SHIFT) | in xen_bus_to_phys()
71 static inline phys_addr_t xen_dma_to_phys(struct device *dev, in xen_dma_to_phys()
77 static inline int range_straddles_page_boundary(phys_addr_t p, size_t size) in range_straddles_page_boundary()
95 phys_addr_t paddr = (phys_addr_t)xen_pfn << XEN_PAGE_SHIFT; in is_xen_swiotlb_buffer()
113 phys_addr_t p = virt_to_phys(buf); in xen_swiotlb_fixup()
139 phys_addr_t phys; in xen_swiotlb_alloc_coherent()
171 phys_addr_t phys = virt_to_phys(vaddr); in xen_swiotlb_free_coherent()
199 phys_addr_t map, phys = page_to_phys(page) + offset; in xen_swiotlb_map_page()
220 if (map == (phys_addr_t)DMA_MAPPING_ERROR) in xen_swiotlb_map_page()
256 phys_addr_t paddr = xen_dma_to_phys(hwdev, dev_addr); in xen_swiotlb_unmap_page()
276 phys_addr_t paddr = xen_dma_to_phys(dev, dma_addr); in xen_swiotlb_sync_single_for_cpu()
293 phys_addr_t paddr = xen_dma_to_phys(dev, dma_addr); in xen_swiotlb_sync_single_for_device()