Home
last modified time | relevance | path

Searched defs:hwdev (Results 1 – 13 of 13) sorted by relevance

/arch/blackfin/include/asm/
Dpci.h51 static inline dma_addr_t pci_map_single(struct pci_dev *hwdev, void *ptr, in pci_map_single()
68 static inline void pci_unmap_single(struct pci_dev *hwdev, dma_addr_t dma_addr, in pci_unmap_single()
92 static inline int pci_map_sg(struct pci_dev *hwdev, struct scatterlist *sg, in pci_map_sg()
104 static inline void pci_unmap_sg(struct pci_dev *hwdev, struct scatterlist *sg, in pci_unmap_sg()
122 static inline void pci_dma_sync_single(struct pci_dev *hwdev, in pci_dma_sync_single()
138 static inline void pci_dma_sync_sg(struct pci_dev *hwdev, in pci_dma_sync_sg()
/arch/x86/kernel/
Dpci-nommu.c15 check_addr(char *name, struct device *hwdev, dma_addr_t bus, size_t size) in check_addr()
29 nommu_map_single(struct device *hwdev, phys_addr_t paddr, size_t size, in nommu_map_single()
56 static int nommu_map_sg(struct device *hwdev, struct scatterlist *sg, in nommu_map_sg()
Dpci-swiotlb_64.c26 dma_addr_t swiotlb_phys_to_bus(struct device *hwdev, phys_addr_t paddr) in swiotlb_phys_to_bus()
42 swiotlb_map_single_phys(struct device *hwdev, phys_addr_t paddr, size_t size, in swiotlb_map_single_phys()
48 static void *x86_swiotlb_alloc_coherent(struct device *hwdev, size_t size, in x86_swiotlb_alloc_coherent()
/arch/x86/include/asm/
Ddma-mapping.h92 dma_map_single(struct device *hwdev, void *ptr, size_t size, in dma_map_single()
113 dma_map_sg(struct device *hwdev, struct scatterlist *sg, in dma_map_sg()
123 dma_unmap_sg(struct device *hwdev, struct scatterlist *sg, int nents, in dma_unmap_sg()
134 dma_sync_single_for_cpu(struct device *hwdev, dma_addr_t dma_handle, in dma_sync_single_for_cpu()
146 dma_sync_single_for_device(struct device *hwdev, dma_addr_t dma_handle, in dma_sync_single_for_device()
158 dma_sync_single_range_for_cpu(struct device *hwdev, dma_addr_t dma_handle, in dma_sync_single_range_for_cpu()
171 dma_sync_single_range_for_device(struct device *hwdev, dma_addr_t dma_handle, in dma_sync_single_range_for_device()
185 dma_sync_sg_for_cpu(struct device *hwdev, struct scatterlist *sg, in dma_sync_sg_for_cpu()
197 dma_sync_sg_for_device(struct device *hwdev, struct scatterlist *sg, in dma_sync_sg_for_device()
/arch/sparc/kernel/
Dioport.c492 dma_addr_t pci_map_single(struct pci_dev *hwdev, void *ptr, size_t size, in pci_map_single()
508 void pci_unmap_single(struct pci_dev *hwdev, dma_addr_t ba, size_t size, in pci_unmap_single()
522 dma_addr_t pci_map_page(struct pci_dev *hwdev, struct page *page, in pci_map_page()
531 void pci_unmap_page(struct pci_dev *hwdev, in pci_unmap_page()
554 int pci_map_sg(struct pci_dev *hwdev, struct scatterlist *sgl, int nents, in pci_map_sg()
575 void pci_unmap_sg(struct pci_dev *hwdev, struct scatterlist *sgl, int nents, in pci_unmap_sg()
603 void pci_dma_sync_single_for_cpu(struct pci_dev *hwdev, dma_addr_t ba, size_t size, int direction) in pci_dma_sync_single_for_cpu()
613 void pci_dma_sync_single_for_device(struct pci_dev *hwdev, dma_addr_t ba, size_t size, int directio… in pci_dma_sync_single_for_device()
629 void pci_dma_sync_sg_for_cpu(struct pci_dev *hwdev, struct scatterlist *sgl, int nents, int directi… in pci_dma_sync_sg_for_cpu()
646 void pci_dma_sync_sg_for_device(struct pci_dev *hwdev, struct scatterlist *sgl, int nents, int dire… in pci_dma_sync_sg_for_device()
/arch/ia64/kernel/
Dmachvec.c78 machvec_dma_sync_single (struct device *hwdev, dma_addr_t dma_handle, size_t size, int dir) in machvec_dma_sync_single()
85 machvec_dma_sync_sg (struct device *hwdev, struct scatterlist *sg, int n, int dir) in machvec_dma_sync_sg()
/arch/frv/mb93090-mb00/
Dpci-dma.c21 void *dma_alloc_coherent(struct device *hwdev, size_t size, dma_addr_t *dma_handle, gfp_t gfp) in dma_alloc_coherent()
34 void dma_free_coherent(struct device *hwdev, size_t size, void *vaddr, dma_addr_t dma_handle) in dma_free_coherent()
Dpci-dma-nommu.c36 void *dma_alloc_coherent(struct device *hwdev, size_t size, dma_addr_t *dma_handle, gfp_t gfp) in dma_alloc_coherent()
88 void dma_free_coherent(struct device *hwdev, size_t size, void *vaddr, dma_addr_t dma_handle) in dma_free_coherent()
/arch/m68k/include/asm/
Dpci_no.h22 static inline int pci_dma_supported(struct pci_dev *hwdev, u64 mask) in pci_dma_supported()
/arch/ia64/sn/pci/pcibr/
Dpcibr_dma.c207 pcibr_dma_unmap(struct pci_dev *hwdev, dma_addr_t dma_handle, int direction) in pcibr_dma_unmap()
358 pcibr_dma_map(struct pci_dev * hwdev, unsigned long phys_addr, size_t size, int dma_flags) in pcibr_dma_map()
396 pcibr_dma_map_consistent(struct pci_dev * hwdev, unsigned long phys_addr, in pcibr_dma_map_consistent()
/arch/xtensa/kernel/
Dpci-dma.c65 void dma_free_coherent(struct device *hwdev, size_t size, in dma_free_coherent()
/arch/sparc/include/asm/
Dpci_32.h142 static inline int pci_dma_supported(struct pci_dev *hwdev, u64 mask) in pci_dma_supported()
/arch/alpha/kernel/
Dpci-noop.c151 pci_dma_supported(struct pci_dev *hwdev, dma_addr_t mask) in pci_dma_supported()