Home
last modified time | relevance | path

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

/linux-4.1.27/include/asm-generic/
Dpci-dma-compat.h10 pci_dma_supported(struct pci_dev *hwdev, u64 mask) in pci_dma_supported()
16 pci_alloc_consistent(struct pci_dev *hwdev, size_t size, in pci_alloc_consistent()
23 pci_zalloc_consistent(struct pci_dev *hwdev, size_t size, in pci_zalloc_consistent()
31 pci_free_consistent(struct pci_dev *hwdev, size_t size, in pci_free_consistent()
38 pci_map_single(struct pci_dev *hwdev, void *ptr, size_t size, int direction) in pci_map_single()
44 pci_unmap_single(struct pci_dev *hwdev, dma_addr_t dma_addr, in pci_unmap_single()
51 pci_map_page(struct pci_dev *hwdev, struct page *page, in pci_map_page()
58 pci_unmap_page(struct pci_dev *hwdev, dma_addr_t dma_address, in pci_unmap_page()
65 pci_map_sg(struct pci_dev *hwdev, struct scatterlist *sg, in pci_map_sg()
72 pci_unmap_sg(struct pci_dev *hwdev, struct scatterlist *sg, in pci_unmap_sg()
[all …]
/linux-4.1.27/lib/
Dswiotlb.c135 static dma_addr_t swiotlb_virt_to_bus(struct device *hwdev, in swiotlb_virt_to_bus()
425 phys_addr_t swiotlb_tbl_map_single(struct device *hwdev, in swiotlb_tbl_map_single()
541 map_single(struct device *hwdev, phys_addr_t phys, size_t size, in map_single()
552 void swiotlb_tbl_unmap_single(struct device *hwdev, phys_addr_t tlb_addr, in swiotlb_tbl_unmap_single()
596 void swiotlb_tbl_sync_single(struct device *hwdev, phys_addr_t tlb_addr, in swiotlb_tbl_sync_single()
629 swiotlb_alloc_coherent(struct device *hwdev, size_t size, in swiotlb_alloc_coherent()
685 swiotlb_free_coherent(struct device *hwdev, size_t size, void *vaddr, in swiotlb_free_coherent()
777 static void unmap_single(struct device *hwdev, dma_addr_t dev_addr, in unmap_single()
801 void swiotlb_unmap_page(struct device *hwdev, dma_addr_t dev_addr, in swiotlb_unmap_page()
820 swiotlb_sync_single(struct device *hwdev, dma_addr_t dev_addr, in swiotlb_sync_single()
[all …]
/linux-4.1.27/arch/x86/include/asm/xen/
Dpage-coherent.h8 static inline void *xen_alloc_coherent_pages(struct device *hwdev, size_t size, in xen_alloc_coherent_pages()
17 static inline void xen_free_coherent_pages(struct device *hwdev, size_t size, in xen_free_coherent_pages()
24 static inline void xen_dma_map_page(struct device *hwdev, struct page *page, in xen_dma_map_page()
28 static inline void xen_dma_unmap_page(struct device *hwdev, dma_addr_t handle, in xen_dma_unmap_page()
32 static inline void xen_dma_sync_single_for_cpu(struct device *hwdev, in xen_dma_sync_single_for_cpu()
35 static inline void xen_dma_sync_single_for_device(struct device *hwdev, in xen_dma_sync_single_for_device()
/linux-4.1.27/arch/arm/include/asm/xen/
Dpage-coherent.h20 static inline void *xen_alloc_coherent_pages(struct device *hwdev, size_t size, in xen_alloc_coherent_pages()
27 static inline void xen_free_coherent_pages(struct device *hwdev, size_t size, in xen_free_coherent_pages()
34 static inline void xen_dma_map_page(struct device *hwdev, struct page *page, in xen_dma_map_page()
49 static inline void xen_dma_unmap_page(struct device *hwdev, dma_addr_t handle, in xen_dma_unmap_page()
65 static inline void xen_dma_sync_single_for_cpu(struct device *hwdev, in xen_dma_sync_single_for_cpu()
76 static inline void xen_dma_sync_single_for_device(struct device *hwdev, in xen_dma_sync_single_for_device()
/linux-4.1.27/drivers/xen/
Dswiotlb-xen.c296 xen_swiotlb_alloc_coherent(struct device *hwdev, size_t size, in xen_swiotlb_alloc_coherent()
352 xen_swiotlb_free_coherent(struct device *hwdev, size_t size, void *vaddr, in xen_swiotlb_free_coherent()
442 static void xen_unmap_single(struct device *hwdev, dma_addr_t dev_addr, in xen_unmap_single()
470 void xen_swiotlb_unmap_page(struct device *hwdev, dma_addr_t dev_addr, in xen_swiotlb_unmap_page()
489 xen_swiotlb_sync_single(struct device *hwdev, dma_addr_t dev_addr, in xen_swiotlb_sync_single()
514 xen_swiotlb_sync_single_for_cpu(struct device *hwdev, dma_addr_t dev_addr, in xen_swiotlb_sync_single_for_cpu()
522 xen_swiotlb_sync_single_for_device(struct device *hwdev, dma_addr_t dev_addr, in xen_swiotlb_sync_single_for_device()
546 xen_swiotlb_map_sg_attrs(struct device *hwdev, struct scatterlist *sgl, in xen_swiotlb_map_sg_attrs()
607 xen_swiotlb_unmap_sg_attrs(struct device *hwdev, struct scatterlist *sgl, in xen_swiotlb_unmap_sg_attrs()
630 xen_swiotlb_sync_sg(struct device *hwdev, struct scatterlist *sgl, in xen_swiotlb_sync_sg()
[all …]
/linux-4.1.27/arch/arm/xen/
Dmm.c87 static void __xen_dma_page_dev_to_cpu(struct device *hwdev, dma_addr_t handle, in __xen_dma_page_dev_to_cpu()
93 static void __xen_dma_page_cpu_to_dev(struct device *hwdev, dma_addr_t handle, in __xen_dma_page_cpu_to_dev()
99 void __xen_dma_map_page(struct device *hwdev, struct page *page, in __xen_dma_map_page()
111 void __xen_dma_unmap_page(struct device *hwdev, dma_addr_t handle, in __xen_dma_unmap_page()
124 void __xen_dma_sync_single_for_cpu(struct device *hwdev, in __xen_dma_sync_single_for_cpu()
132 void __xen_dma_sync_single_for_device(struct device *hwdev, in __xen_dma_sync_single_for_device()
/linux-4.1.27/drivers/hwmon/
Dhwmon.c100 struct hwmon_device *hwdev; in hwmon_device_register_with_groups() local
173 struct device *hwdev = *(struct device **)res; in devm_hwmon_release() local
193 struct device **ptr, *hwdev; in devm_hwmon_device_register_with_groups() local
218 struct device **hwdev = res; in devm_hwmon_match() local
/linux-4.1.27/arch/ia64/kernel/
Dmachvec.c77 machvec_dma_sync_single(struct device *hwdev, dma_addr_t dma_handle, size_t size, in machvec_dma_sync_single()
85 machvec_dma_sync_sg(struct device *hwdev, struct scatterlist *sg, int n, in machvec_dma_sync_sg()
/linux-4.1.27/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.c37 void *dma_alloc_coherent(struct device *hwdev, size_t size, dma_addr_t *dma_handle, gfp_t gfp) in dma_alloc_coherent()
89 void dma_free_coherent(struct device *hwdev, size_t size, void *vaddr, dma_addr_t dma_handle) in dma_free_coherent()
/linux-4.1.27/arch/x86/kernel/
Dpci-nommu.c15 check_addr(char *name, struct device *hwdev, dma_addr_t bus, size_t size) in check_addr()
56 static int nommu_map_sg(struct device *hwdev, struct scatterlist *sg, in nommu_map_sg()
Dpci-swiotlb.c17 void *x86_swiotlb_alloc_coherent(struct device *hwdev, size_t size, in x86_swiotlb_alloc_coherent()
/linux-4.1.27/arch/ia64/sn/pci/pcibr/
Dpcibr_dma.c208 pcibr_dma_unmap(struct pci_dev *hwdev, dma_addr_t dma_handle, int direction) in pcibr_dma_unmap()
357 pcibr_dma_map(struct pci_dev * hwdev, unsigned long phys_addr, size_t size, int dma_flags) in pcibr_dma_map()
395 pcibr_dma_map_consistent(struct pci_dev * hwdev, unsigned long phys_addr, in pcibr_dma_map_consistent()
/linux-4.1.27/drivers/infiniband/hw/ipath/
Dipath_user_pages.c106 dma_addr_t ipath_map_page(struct pci_dev *hwdev, struct page *page, in ipath_map_page()
130 dma_addr_t ipath_map_single(struct pci_dev *hwdev, void *ptr, size_t size, in ipath_map_single()
/linux-4.1.27/arch/hexagon/kernel/
Ddma.c103 static int check_addr(const char *name, struct device *hwdev, in check_addr()
117 static int hexagon_map_sg(struct device *hwdev, struct scatterlist *sg, in hexagon_map_sg()
/linux-4.1.27/arch/xtensa/kernel/
Dpci-dma.c67 void dma_free_coherent(struct device *hwdev, size_t size, in dma_free_coherent()
/linux-4.1.27/drivers/net/ethernet/via/
Dvia-rhine.c680 static inline int verify_mmio(struct device *hwdev, in verify_mmio()
907 static int rhine_init_one_common(struct device *hwdev, u32 quirks, in rhine_init_one_common()
1042 struct device *hwdev = &pdev->dev; in rhine_init_one_pci() local
1162 struct device *hwdev = dev->dev.parent; in alloc_ring() local
1200 struct device *hwdev = dev->dev.parent; in free_ring() local
1219 struct device *hwdev = dev->dev.parent; in alloc_rbufs() local
1264 struct device *hwdev = dev->dev.parent; in free_rbufs() local
1306 struct device *hwdev = dev->dev.parent; in free_tbufs() local
1737 struct device *hwdev = dev->dev.parent; in rhine_start_tx() local
1868 struct device *hwdev = dev->dev.parent; in rhine_tx() local
[all …]
/linux-4.1.27/drivers/infiniband/hw/qib/
Dqib_user_pages.c101 dma_addr_t qib_map_page(struct pci_dev *hwdev, struct page *page, in qib_map_page()
/linux-4.1.27/arch/mips/include/asm/mach-pmcs-msp71xx/
Dmsp_usb.h51 u32 hwdev; /* 0xc: Device HW params */ member
/linux-4.1.27/drivers/parisc/
Dsba_iommu.c868 static void *sba_alloc_consistent(struct device *hwdev, size_t size, in sba_alloc_consistent()
900 sba_free_consistent(struct device *hwdev, size_t size, void *vaddr, in sba_free_consistent()
/linux-4.1.27/include/linux/
Dfmc.h177 struct device *hwdev; /* The underlying hardware device */ member
/linux-4.1.27/drivers/isdn/hardware/eicon/
Ddivasmain.c336 static void *diva_pci_alloc_consistent(struct pci_dev *hwdev, in diva_pci_alloc_consistent()
/linux-4.1.27/drivers/net/ethernet/toshiba/
Dtc35815.c451 struct pci_dev *hwdev, in alloc_rxbuf_skb()
468 static void free_rxbuf_skb(struct pci_dev *hwdev, struct sk_buff *skb, dma_addr_t dma_handle) in free_rxbuf_skb()
/linux-4.1.27/drivers/gpu/drm/i915/
Di915_gem_gtt.c622 struct pci_dev *hwdev = ppgtt->base.dev->pdev; in gen8_ppgtt_unmap_pages() local