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

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

Completed in 690 milliseconds