Home
last modified time | relevance | path

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

/linux-4.4.14/include/asm-generic/
Dpci-dma-compat.h10 pci_alloc_consistent(struct pci_dev *hwdev, size_t size, in pci_alloc_consistent()
17 pci_zalloc_consistent(struct pci_dev *hwdev, size_t size, in pci_zalloc_consistent()
25 pci_free_consistent(struct pci_dev *hwdev, size_t size, in pci_free_consistent()
32 pci_map_single(struct pci_dev *hwdev, void *ptr, size_t size, int direction) in pci_map_single()
38 pci_unmap_single(struct pci_dev *hwdev, dma_addr_t dma_addr, in pci_unmap_single()
45 pci_map_page(struct pci_dev *hwdev, struct page *page, in pci_map_page()
52 pci_unmap_page(struct pci_dev *hwdev, dma_addr_t dma_address, in pci_unmap_page()
59 pci_map_sg(struct pci_dev *hwdev, struct scatterlist *sg, in pci_map_sg()
66 pci_unmap_sg(struct pci_dev *hwdev, struct scatterlist *sg, in pci_unmap_sg()
73 pci_dma_sync_single_for_cpu(struct pci_dev *hwdev, dma_addr_t dma_handle, in pci_dma_sync_single_for_cpu()
[all …]
/linux-4.4.14/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()
692 swiotlb_free_coherent(struct device *hwdev, size_t size, void *vaddr, in swiotlb_free_coherent()
784 static void unmap_single(struct device *hwdev, dma_addr_t dev_addr, in unmap_single()
808 void swiotlb_unmap_page(struct device *hwdev, dma_addr_t dev_addr, in swiotlb_unmap_page()
827 swiotlb_sync_single(struct device *hwdev, dma_addr_t dev_addr, in swiotlb_sync_single()
[all …]
/linux-4.4.14/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.4.14/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()
60 static inline void xen_dma_unmap_page(struct device *hwdev, dma_addr_t handle, in xen_dma_unmap_page()
80 static inline void xen_dma_sync_single_for_cpu(struct device *hwdev, in xen_dma_sync_single_for_cpu()
91 static inline void xen_dma_sync_single_for_device(struct device *hwdev, in xen_dma_sync_single_for_device()
/linux-4.4.14/drivers/xen/
Dswiotlb-xen.c295 xen_swiotlb_alloc_coherent(struct device *hwdev, size_t size, in xen_swiotlb_alloc_coherent()
348 xen_swiotlb_free_coherent(struct device *hwdev, size_t size, void *vaddr, in xen_swiotlb_free_coherent()
435 static void xen_unmap_single(struct device *hwdev, dma_addr_t dev_addr, in xen_unmap_single()
463 void xen_swiotlb_unmap_page(struct device *hwdev, dma_addr_t dev_addr, in xen_swiotlb_unmap_page()
482 xen_swiotlb_sync_single(struct device *hwdev, dma_addr_t dev_addr, in xen_swiotlb_sync_single()
507 xen_swiotlb_sync_single_for_cpu(struct device *hwdev, dma_addr_t dev_addr, in xen_swiotlb_sync_single_for_cpu()
515 xen_swiotlb_sync_single_for_device(struct device *hwdev, dma_addr_t dev_addr, in xen_swiotlb_sync_single_for_device()
539 xen_swiotlb_map_sg_attrs(struct device *hwdev, struct scatterlist *sgl, in xen_swiotlb_map_sg_attrs()
600 xen_swiotlb_unmap_sg_attrs(struct device *hwdev, struct scatterlist *sgl, in xen_swiotlb_unmap_sg_attrs()
623 xen_swiotlb_sync_sg(struct device *hwdev, struct scatterlist *sgl, in xen_swiotlb_sync_sg()
[all …]
/linux-4.4.14/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.4.14/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
Dscpi-hwmon.c118 struct device *hwdev, *dev = &pdev->dev; in scpi_hwmon_probe() local
/linux-4.4.14/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.4.14/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.4.14/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.4.14/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.4.14/drivers/staging/rdma/ipath/
Dipath_user_pages.c105 dma_addr_t ipath_map_page(struct pci_dev *hwdev, struct page *page, in ipath_map_page()
129 dma_addr_t ipath_map_single(struct pci_dev *hwdev, void *ptr, size_t size, in ipath_map_single()
/linux-4.4.14/arch/hexagon/kernel/
Ddma.c92 static int check_addr(const char *name, struct device *hwdev, in check_addr()
106 static int hexagon_map_sg(struct device *hwdev, struct scatterlist *sg, in hexagon_map_sg()
/linux-4.4.14/drivers/net/ethernet/via/
Dvia-rhine.c678 static inline int verify_mmio(struct device *hwdev, in verify_mmio()
905 static int rhine_init_one_common(struct device *hwdev, u32 quirks, in rhine_init_one_common()
1040 struct device *hwdev = &pdev->dev; in rhine_init_one_pci() local
1160 struct device *hwdev = dev->dev.parent; in alloc_ring() local
1198 struct device *hwdev = dev->dev.parent; in free_ring() local
1223 struct device *hwdev = dev->dev.parent; in rhine_skb_dma_init() local
1303 struct device *hwdev = dev->dev.parent; in free_rbufs() local
1345 struct device *hwdev = dev->dev.parent; in free_tbufs() local
1790 struct device *hwdev = dev->dev.parent; in rhine_start_tx() local
1933 struct device *hwdev = dev->dev.parent; in rhine_tx() local
[all …]
/linux-4.4.14/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.4.14/drivers/staging/rdma/hfi1/
Duser_pages.c109 dma_addr_t hfi1_map_page(struct pci_dev *hwdev, struct page *page, in hfi1_map_page()
/linux-4.4.14/arch/xtensa/kernel/
Dpci-dma.c173 static void xtensa_dma_free(struct device *hwdev, size_t size, void *vaddr, in xtensa_dma_free()
/linux-4.4.14/arch/mips/include/asm/mach-pmcs-msp71xx/
Dmsp_usb.h51 u32 hwdev; /* 0xc: Device HW params */ member
/linux-4.4.14/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.4.14/arch/arm64/mm/
Ddma-mapping.c487 static int __dummy_mapping_error(struct device *hwdev, dma_addr_t dma_addr) in __dummy_mapping_error()
492 static int __dummy_dma_supported(struct device *hwdev, u64 mask) in __dummy_dma_supported()
/linux-4.4.14/include/linux/
Dfmc.h177 struct device *hwdev; /* The underlying hardware device */ member
/linux-4.4.14/drivers/isdn/hardware/eicon/
Ddivasmain.c336 static void *diva_pci_alloc_consistent(struct pci_dev *hwdev, in diva_pci_alloc_consistent()
/linux-4.4.14/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()