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

/arch/xtensa/kernel/
H A Dpci-dma.c66 void dma_free_coherent(struct device *hwdev, size_t size, argument
/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) argument
34 void dma_free_coherent(struct device *hwdev, size_t size, void *vaddr, dma_addr_t dma_handle) argument
H A Dpci-dma-nommu.c36 void *dma_alloc_coherent(struct device *hwdev, size_t size, dma_addr_t *dma_handle, gfp_t gfp) argument
88 void dma_free_coherent(struct device *hwdev, size_t size, void *vaddr, dma_addr_t dma_handle) argument
/arch/x86/kernel/
H A Dpci-swiotlb.c17 static void *x86_swiotlb_alloc_coherent(struct device *hwdev, size_t size, argument
23 vaddr = dma_generic_alloc_coherent(hwdev, size, dma_handle, flags,
28 return swiotlb_alloc_coherent(hwdev, size, dma_handle, flags);
H A Dpci-nommu.c16 check_addr(char *name, struct device *hwdev, dma_addr_t bus, size_t size) argument
18 if (hwdev && !dma_capable(hwdev, bus, size)) {
19 if (*hwdev->dma_mask >= DMA_BIT_MASK(32))
23 (long long)*hwdev->dma_mask);
57 static int nommu_map_sg(struct device *hwdev, struct scatterlist *sg, argument
69 if (!check_addr("map_sg", hwdev, s->dma_address, s->length))
/arch/ia64/kernel/
H A Dmachvec.c77 machvec_dma_sync_single(struct device *hwdev, dma_addr_t dma_handle, size_t size, argument
85 machvec_dma_sync_sg(struct device *hwdev, struct scatterlist *sg, int n, argument
/arch/hexagon/kernel/
H A Ddma.c91 static int check_addr(const char *name, struct device *hwdev, argument
94 if (hwdev && hwdev->dma_mask && !dma_capable(hwdev, bus, size)) {
95 if (*hwdev->dma_mask >= DMA_BIT_MASK(32))
99 (long long)*hwdev->dma_mask);
105 static int hexagon_map_sg(struct device *hwdev, struct scatterlist *sg, argument
116 if (!check_addr("map_sg", hwdev, s->dma_address, s->length))
/arch/ia64/sn/pci/pcibr/
H A Dpcibr_dma.c208 pcibr_dma_unmap(struct pci_dev *hwdev, dma_addr_t dma_handle, int direction) argument
210 struct pcidev_info *pcidev_info = SN_PCIDEV_INFO(hwdev);
357 pcibr_dma_map(struct pci_dev * hwdev, unsigned long phys_addr, size_t size, int dma_flags) argument
360 struct pcidev_info *pcidev_info = SN_PCIDEV_INFO(hwdev);
363 if (hwdev->dma_mask < 0x7fffffff) {
367 if (hwdev->dma_mask == ~0UL) {
395 pcibr_dma_map_consistent(struct pci_dev * hwdev, unsigned long phys_addr, argument
399 struct pcidev_info *pcidev_info = SN_PCIDEV_INFO(hwdev);
401 if (hwdev->dev.coherent_dma_mask == ~0UL) {
/arch/mips/include/asm/pmc-sierra/msp71xx/
H A Dmsp_usb.h55 u32 hwdev; /* 0xc: Device HW params */ member in struct:msp_usbid_regs

Completed in 227 milliseconds