Searched refs:attrs (Results 1 - 25 of 62) sorted by relevance

123

/arch/powerpc/kernel/
H A Ddma-iommu.c21 struct dma_attrs *attrs)
30 struct dma_attrs *attrs)
43 struct dma_attrs *attrs)
46 size, device_to_mask(dev), direction, attrs);
52 struct dma_attrs *attrs)
55 attrs); local
61 struct dma_attrs *attrs)
64 device_to_mask(dev), direction, attrs);
69 struct dma_attrs *attrs)
72 attrs); local
19 dma_iommu_alloc_coherent(struct device *dev, size_t size, dma_addr_t *dma_handle, gfp_t flag, struct dma_attrs *attrs) argument
28 dma_iommu_free_coherent(struct device *dev, size_t size, void *vaddr, dma_addr_t dma_handle, struct dma_attrs *attrs) argument
40 dma_iommu_map_page(struct device *dev, struct page *page, unsigned long offset, size_t size, enum dma_data_direction direction, struct dma_attrs *attrs) argument
50 dma_iommu_unmap_page(struct device *dev, dma_addr_t dma_handle, size_t size, enum dma_data_direction direction, struct dma_attrs *attrs) argument
59 dma_iommu_map_sg(struct device *dev, struct scatterlist *sglist, int nelems, enum dma_data_direction direction, struct dma_attrs *attrs) argument
67 dma_iommu_unmap_sg(struct device *dev, struct scatterlist *sglist, int nelems, enum dma_data_direction direction, struct dma_attrs *attrs) argument
[all...]
H A Dsysfs.c338 struct device_attribute *attrs, *pmc_attrs; local
350 attrs = ibm_common_attrs;
357 attrs = g4_common_attrs;
365 attrs = pa6t_attrs;
371 attrs = NULL;
377 device_create_file(s, &attrs[i]);
408 struct device_attribute *attrs, *pmc_attrs; local
422 attrs = ibm_common_attrs;
429 attrs = g4_common_attrs;
437 attrs
536 cpu_add_dev_attr_group(struct attribute_group *attrs) argument
570 cpu_remove_dev_attr_group(struct attribute_group *attrs) argument
[all...]
H A Ddma.c30 struct dma_attrs *attrs)
59 struct dma_attrs *attrs)
70 struct dma_attrs *attrs)
86 struct dma_attrs *attrs)
119 struct dma_attrs *attrs)
130 struct dma_attrs *attrs)
28 dma_direct_alloc_coherent(struct device *dev, size_t size, dma_addr_t *dma_handle, gfp_t flag, struct dma_attrs *attrs) argument
57 dma_direct_free_coherent(struct device *dev, size_t size, void *vaddr, dma_addr_t dma_handle, struct dma_attrs *attrs) argument
68 dma_direct_map_sg(struct device *dev, struct scatterlist *sgl, int nents, enum dma_data_direction direction, struct dma_attrs *attrs) argument
84 dma_direct_unmap_sg(struct device *dev, struct scatterlist *sg, int nents, enum dma_data_direction direction, struct dma_attrs *attrs) argument
114 dma_direct_map_page(struct device *dev, struct page *page, unsigned long offset, size_t size, enum dma_data_direction dir, struct dma_attrs *attrs) argument
126 dma_direct_unmap_page(struct device *dev, dma_addr_t dma_address, size_t size, enum dma_data_direction direction, struct dma_attrs *attrs) argument
/arch/alpha/include/asm/
H A Ddma-mapping.h4 #include <linux/dma-attrs.h>
19 struct dma_attrs *attrs)
21 return get_dma_ops(dev)->alloc(dev, size, dma_handle, gfp, attrs);
28 struct dma_attrs *attrs)
30 get_dma_ops(dev)->free(dev, size, vaddr, dma_handle, attrs);
17 dma_alloc_attrs(struct device *dev, size_t size, dma_addr_t *dma_handle, gfp_t gfp, struct dma_attrs *attrs) argument
26 dma_free_attrs(struct device *dev, size_t size, void *vaddr, dma_addr_t dma_handle, struct dma_attrs *attrs) argument
/arch/sh/include/asm/
H A Ddma-mapping.h59 struct dma_attrs *attrs)
69 memory = ops->alloc(dev, size, dma_handle, gfp, attrs);
79 struct dma_attrs *attrs)
88 ops->free(dev, size, vaddr, dma_handle, attrs);
94 struct dma_attrs *attrs);
97 struct dma_attrs *attrs);
57 dma_alloc_attrs(struct device *dev, size_t size, dma_addr_t *dma_handle, gfp_t gfp, struct dma_attrs *attrs) argument
77 dma_free_attrs(struct device *dev, size_t size, void *vaddr, dma_addr_t dma_handle, struct dma_attrs *attrs) argument
/arch/unicore32/mm/
H A Ddma-swiotlb.c22 struct dma_attrs *attrs)
29 struct dma_attrs *attrs)
20 unicore_swiotlb_alloc_coherent(struct device *dev, size_t size, dma_addr_t *dma_handle, gfp_t flags, struct dma_attrs *attrs) argument
27 unicore_swiotlb_free_coherent(struct device *dev, size_t size, void *vaddr, dma_addr_t dma_addr, struct dma_attrs *attrs) argument
/arch/sparc/include/asm/
H A Ddma-mapping.h33 struct dma_attrs *attrs)
38 cpu_addr = ops->alloc(dev, size, dma_handle, flag, attrs);
47 struct dma_attrs *attrs)
52 ops->free(dev, size, cpu_addr, dma_handle, attrs);
31 dma_alloc_attrs(struct device *dev, size_t size, dma_addr_t *dma_handle, gfp_t flag, struct dma_attrs *attrs) argument
45 dma_free_attrs(struct device *dev, size_t size, void *cpu_addr, dma_addr_t dma_handle, struct dma_attrs *attrs) argument
/arch/hexagon/include/asm/
H A Ddma-mapping.h30 #include <linux/dma-attrs.h>
78 struct dma_attrs *attrs)
85 ret = ops->alloc(dev, size, dma_handle, flag, attrs);
96 struct dma_attrs *attrs)
102 dma_ops->free(dev, size, cpu_addr, dma_handle, attrs);
76 dma_alloc_attrs(struct device *dev, size_t size, dma_addr_t *dma_handle, gfp_t flag, struct dma_attrs *attrs) argument
94 dma_free_attrs(struct device *dev, size_t size, void *cpu_addr, dma_addr_t dma_handle, struct dma_attrs *attrs) argument
/arch/microblaze/kernel/
H A Ddma.c37 struct dma_attrs *attrs)
62 struct dma_attrs *attrs)
73 struct dma_attrs *attrs)
90 struct dma_attrs *attrs)
104 struct dma_attrs *attrs)
114 struct dma_attrs *attrs)
35 dma_direct_alloc_coherent(struct device *dev, size_t size, dma_addr_t *dma_handle, gfp_t flag, struct dma_attrs *attrs) argument
60 dma_direct_free_coherent(struct device *dev, size_t size, void *vaddr, dma_addr_t dma_handle, struct dma_attrs *attrs) argument
71 dma_direct_map_sg(struct device *dev, struct scatterlist *sgl, int nents, enum dma_data_direction direction, struct dma_attrs *attrs) argument
88 dma_direct_unmap_sg(struct device *dev, struct scatterlist *sg, int nents, enum dma_data_direction direction, struct dma_attrs *attrs) argument
99 dma_direct_map_page(struct device *dev, struct page *page, unsigned long offset, size_t size, enum dma_data_direction direction, struct dma_attrs *attrs) argument
110 dma_direct_unmap_page(struct device *dev, dma_addr_t dma_address, size_t size, enum dma_data_direction direction, struct dma_attrs *attrs) argument
/arch/x86/include/asm/
H A Ddma-mapping.h12 #include <linux/dma-attrs.h>
63 struct dma_attrs *attrs);
119 gfp_t gfp, struct dma_attrs *attrs)
139 dma_alloc_coherent_gfp_flags(dev, gfp), attrs);
149 struct dma_attrs *attrs)
160 ops->free(dev, size, vaddr, bus, attrs);
118 dma_alloc_attrs(struct device *dev, size_t size, dma_addr_t *dma_handle, gfp_t gfp, struct dma_attrs *attrs) argument
147 dma_free_attrs(struct device *dev, size_t size, void *vaddr, dma_addr_t bus, struct dma_attrs *attrs) argument
/arch/x86/kernel/
H A Dpci-nommu.c32 struct dma_attrs *attrs)
59 struct dma_attrs *attrs)
78 dma_addr_t dma_addr, struct dma_attrs *attrs)
29 nommu_map_page(struct device *dev, struct page *page, unsigned long offset, size_t size, enum dma_data_direction dir, struct dma_attrs *attrs) argument
57 nommu_map_sg(struct device *hwdev, struct scatterlist *sg, int nents, enum dma_data_direction dir, struct dma_attrs *attrs) argument
77 nommu_free_coherent(struct device *dev, size_t size, void *vaddr, dma_addr_t dma_addr, struct dma_attrs *attrs) argument
H A Dpci-swiotlb.c19 struct dma_attrs *attrs)
24 attrs);
33 struct dma_attrs *attrs)
17 x86_swiotlb_alloc_coherent(struct device *hwdev, size_t size, dma_addr_t *dma_handle, gfp_t flags, struct dma_attrs *attrs) argument
31 x86_swiotlb_free_coherent(struct device *dev, size_t size, void *vaddr, dma_addr_t dma_addr, struct dma_attrs *attrs) argument
/arch/ia64/include/asm/
H A Ddma-mapping.h30 struct dma_attrs *attrs)
35 caddr = ops->alloc(dev, size, daddr, gfp, attrs);
44 struct dma_attrs *attrs)
48 ops->free(dev, size, caddr, daddr, attrs);
28 dma_alloc_attrs(struct device *dev, size_t size, dma_addr_t *daddr, gfp_t gfp, struct dma_attrs *attrs) argument
42 dma_free_attrs(struct device *dev, size_t size, void *caddr, dma_addr_t daddr, struct dma_attrs *attrs) argument
/arch/mips/include/asm/
H A Ddma-mapping.h64 struct dma_attrs *attrs)
69 ret = ops->alloc(dev, size, dma_handle, gfp, attrs);
80 struct dma_attrs *attrs)
84 ops->free(dev, size, vaddr, dma_handle, attrs);
62 dma_alloc_attrs(struct device *dev, size_t size, dma_addr_t *dma_handle, gfp_t gfp, struct dma_attrs *attrs) argument
78 dma_free_attrs(struct device *dev, size_t size, void *vaddr, dma_addr_t dma_handle, struct dma_attrs *attrs) argument
/arch/powerpc/include/asm/
H A Diommu.h95 struct dma_attrs *attrs);
98 struct dma_attrs *attrs);
109 struct dma_attrs *attrs);
112 struct dma_attrs *attrs);
H A Ddma-mapping.h16 #include <linux/dma-attrs.h>
26 struct dma_attrs *attrs);
29 struct dma_attrs *attrs);
139 struct dma_attrs *attrs)
146 cpu_addr = dma_ops->alloc(dev, size, dma_handle, flag, attrs);
157 struct dma_attrs *attrs)
165 dma_ops->free(dev, size, cpu_addr, dma_handle, attrs);
137 dma_alloc_attrs(struct device *dev, size_t size, dma_addr_t *dma_handle, gfp_t flag, struct dma_attrs *attrs) argument
155 dma_free_attrs(struct device *dev, size_t size, void *cpu_addr, dma_addr_t dma_handle, struct dma_attrs *attrs) argument
/arch/unicore32/include/asm/
H A Ddma-mapping.h89 struct dma_attrs *attrs)
93 return dma_ops->alloc(dev, size, dma_handle, flag, attrs);
100 struct dma_attrs *attrs)
104 dma_ops->free(dev, size, cpu_addr, dma_handle, attrs);
87 dma_alloc_attrs(struct device *dev, size_t size, dma_addr_t *dma_handle, gfp_t flag, struct dma_attrs *attrs) argument
98 dma_free_attrs(struct device *dev, size_t size, void *cpu_addr, dma_addr_t dma_handle, struct dma_attrs *attrs) argument
/arch/ia64/kernel/
H A Dpci-swiotlb.c19 struct dma_attrs *attrs)
28 struct dma_attrs *attrs)
17 ia64_swiotlb_alloc_coherent(struct device *dev, size_t size, dma_addr_t *dma_handle, gfp_t gfp, struct dma_attrs *attrs) argument
26 ia64_swiotlb_free_coherent(struct device *dev, size_t size, void *vaddr, dma_addr_t dma_addr, struct dma_attrs *attrs) argument
/arch/microblaze/include/asm/
H A Ddma-mapping.h28 #include <linux/dma-attrs.h>
130 struct dma_attrs *attrs)
137 memory = ops->alloc(dev, size, dma_handle, flag, attrs);
147 struct dma_attrs *attrs)
153 ops->free(dev, size, cpu_addr, dma_handle, attrs);
128 dma_alloc_attrs(struct device *dev, size_t size, dma_addr_t *dma_handle, gfp_t flag, struct dma_attrs *attrs) argument
145 dma_free_attrs(struct device *dev, size_t size, void *cpu_addr, dma_addr_t dma_handle, struct dma_attrs *attrs) argument
/arch/ia64/sn/pci/
H A Dpci_dma.c80 struct dma_attrs *attrs)
141 dma_addr_t dma_handle, struct dma_attrs *attrs)
158 * @attrs: optional dma attributes
179 struct dma_attrs *attrs)
188 dmabarr = dma_get_attr(DMA_ATTR_WRITE_BARRIER, attrs);
213 * @attrs: optional dma attributes
221 struct dma_attrs *attrs)
237 * @attrs: optional dma attributes
243 struct dma_attrs *attrs)
265 * @attrs
78 sn_dma_alloc_coherent(struct device *dev, size_t size, dma_addr_t * dma_handle, gfp_t flags, struct dma_attrs *attrs) argument
140 sn_dma_free_coherent(struct device *dev, size_t size, void *cpu_addr, dma_addr_t dma_handle, struct dma_attrs *attrs) argument
176 sn_dma_map_page(struct device *dev, struct page *page, unsigned long offset, size_t size, enum dma_data_direction dir, struct dma_attrs *attrs) argument
219 sn_dma_unmap_page(struct device *dev, dma_addr_t dma_addr, size_t size, enum dma_data_direction dir, struct dma_attrs *attrs) argument
241 sn_dma_unmap_sg(struct device *dev, struct scatterlist *sgl, int nhwentries, enum dma_data_direction dir, struct dma_attrs *attrs) argument
274 sn_dma_map_sg(struct device *dev, struct scatterlist *sgl, int nhwentries, enum dma_data_direction dir, struct dma_attrs *attrs) argument
[all...]
/arch/alpha/kernel/
H A Dpci-noop.c112 struct dma_attrs *attrs)
128 struct dma_attrs *attrs)
136 struct dma_attrs *attrs)
142 enum dma_data_direction dir, struct dma_attrs *attrs)
110 alpha_noop_alloc_coherent(struct device *dev, size_t size, dma_addr_t *dma_handle, gfp_t gfp, struct dma_attrs *attrs) argument
126 alpha_noop_free_coherent(struct device *dev, size_t size, void *cpu_addr, dma_addr_t dma_addr, struct dma_attrs *attrs) argument
133 alpha_noop_map_page(struct device *dev, struct page *page, unsigned long offset, size_t size, enum dma_data_direction dir, struct dma_attrs *attrs) argument
141 alpha_noop_map_sg(struct device *dev, struct scatterlist *sgl, int nents, enum dma_data_direction dir, struct dma_attrs *attrs) argument
/arch/hexagon/kernel/
H A Ddma.c59 struct dma_attrs *attrs)
86 dma_addr_t dma_addr, struct dma_attrs *attrs)
107 struct dma_attrs *attrs)
164 * @attrs: pointer to DMA attrs (not used)
179 struct dma_attrs *attrs)
57 hexagon_dma_alloc_coherent(struct device *dev, size_t size, dma_addr_t *dma_addr, gfp_t flag, struct dma_attrs *attrs) argument
85 hexagon_free_coherent(struct device *dev, size_t size, void *vaddr, dma_addr_t dma_addr, struct dma_attrs *attrs) argument
105 hexagon_map_sg(struct device *hwdev, struct scatterlist *sg, int nents, enum dma_data_direction dir, struct dma_attrs *attrs) argument
176 hexagon_map_page(struct device *dev, struct page *page, unsigned long offset, size_t size, enum dma_data_direction dir, struct dma_attrs *attrs) argument
/arch/openrisc/kernel/
H A Ddma.c120 struct dma_attrs *attrs)
152 struct dma_attrs *attrs)
159 struct dma_attrs *attrs)
174 struct dma_attrs *attrs)
117 or1k_map_page(struct device *dev, struct page *page, unsigned long offset, size_t size, enum dma_data_direction dir, struct dma_attrs *attrs) argument
150 or1k_unmap_page(struct device *dev, dma_addr_t dma_handle, size_t size, enum dma_data_direction dir, struct dma_attrs *attrs) argument
157 or1k_map_sg(struct device *dev, struct scatterlist *sg, int nents, enum dma_data_direction dir, struct dma_attrs *attrs) argument
172 or1k_unmap_sg(struct device *dev, struct scatterlist *sg, int nents, enum dma_data_direction dir, struct dma_attrs *attrs) argument
/arch/sh/kernel/
H A Ddma-nommu.c16 struct dma_attrs *attrs)
28 struct dma_attrs *attrs)
13 nommu_map_page(struct device *dev, struct page *page, unsigned long offset, size_t size, enum dma_data_direction dir, struct dma_attrs *attrs) argument
26 nommu_map_sg(struct device *dev, struct scatterlist *sg, int nents, enum dma_data_direction dir, struct dma_attrs *attrs) argument
/arch/powerpc/platforms/cell/
H A Diommu.c168 struct dma_attrs *attrs)
195 if (unlikely(dma_get_attr(DMA_ATTR_WEAK_ORDERING, attrs)))
568 struct dma_attrs *attrs)
577 attrs);
582 struct dma_attrs *attrs)
588 dma_direct_ops.free(dev, size, vaddr, dma_handle, attrs);
594 struct dma_attrs *attrs)
596 if (iommu_fixed_is_weak == dma_get_attr(DMA_ATTR_WEAK_ORDERING, attrs))
598 direction, attrs);
602 direction, attrs);
166 tce_build_cell(struct iommu_table *tbl, long index, long npages, unsigned long uaddr, enum dma_data_direction direction, struct dma_attrs *attrs) argument
566 dma_fixed_alloc_coherent(struct device *dev, size_t size, dma_addr_t *dma_handle, gfp_t flag, struct dma_attrs *attrs) argument
580 dma_fixed_free_coherent(struct device *dev, size_t size, void *vaddr, dma_addr_t dma_handle, struct dma_attrs *attrs) argument
591 dma_fixed_map_page(struct device *dev, struct page *page, unsigned long offset, size_t size, enum dma_data_direction direction, struct dma_attrs *attrs) argument
605 dma_fixed_unmap_page(struct device *dev, dma_addr_t dma_addr, size_t size, enum dma_data_direction direction, struct dma_attrs *attrs) argument
614 direction, attrs); local
617 dma_fixed_map_sg(struct device *dev, struct scatterlist *sg, int nents, enum dma_data_direction direction, struct dma_attrs *attrs) argument
628 dma_fixed_unmap_sg(struct device *dev, struct scatterlist *sg, int nents, enum dma_data_direction direction, struct dma_attrs *attrs) argument
636 attrs); local
[all...]

Completed in 484 milliseconds

123