Searched refs:hwdev (Results 1 – 4 of 4) sorted by relevance
/include/linux/ |
D | pci-dma-compat.h | 17 pci_alloc_consistent(struct pci_dev *hwdev, size_t size, in pci_alloc_consistent() argument 20 return dma_alloc_coherent(&hwdev->dev, size, dma_handle, GFP_ATOMIC); in pci_alloc_consistent() 24 pci_zalloc_consistent(struct pci_dev *hwdev, size_t size, in pci_zalloc_consistent() argument 27 return dma_alloc_coherent(&hwdev->dev, size, dma_handle, GFP_ATOMIC); in pci_zalloc_consistent() 31 pci_free_consistent(struct pci_dev *hwdev, size_t size, in pci_free_consistent() argument 34 dma_free_coherent(&hwdev->dev, size, vaddr, dma_handle); in pci_free_consistent() 38 pci_map_single(struct pci_dev *hwdev, void *ptr, size_t size, int direction) in pci_map_single() argument 40 return dma_map_single(&hwdev->dev, ptr, size, (enum dma_data_direction)direction); in pci_map_single() 44 pci_unmap_single(struct pci_dev *hwdev, dma_addr_t dma_addr, in pci_unmap_single() argument 47 dma_unmap_single(&hwdev->dev, dma_addr, size, (enum dma_data_direction)direction); in pci_unmap_single() [all …]
|
D | swiotlb.h | 46 phys_addr_t swiotlb_tbl_map_single(struct device *hwdev, phys_addr_t phys, 51 extern void swiotlb_tbl_unmap_single(struct device *hwdev,
|
D | iommu.h | 399 struct device *hwdev); 948 struct device *hwdev) in iommu_device_register() argument
|
/include/xen/arm/ |
D | page-coherent.h | 8 static inline void *xen_alloc_coherent_pages(struct device *hwdev, size_t size, in xen_alloc_coherent_pages() argument 11 return dma_direct_alloc(hwdev, size, dma_handle, flags, attrs); in xen_alloc_coherent_pages() 14 static inline void xen_free_coherent_pages(struct device *hwdev, size_t size, in xen_free_coherent_pages() argument 17 dma_direct_free(hwdev, size, cpu_addr, dma_handle, attrs); in xen_free_coherent_pages()
|