Lines Matching defs:attrs

380  * @attrs: DMA attributes for the mapping
385 unsigned long attrs)
389 if (attrs & DMA_ATTR_PRIVILEGED)
577 * @attrs: DMA attributes for this allocation
586 unsigned long attrs)
592 int ioprot = dma_info_to_prot(DMA_BIDIRECTIONAL, coherent, attrs);
611 if (attrs & DMA_ATTR_ALLOC_SINGLE_PAGES)
729 unsigned long attrs)
733 int prot = dma_info_to_prot(dir, coherent, attrs);
737 if (!coherent && !(attrs & DMA_ATTR_SKIP_CPU_SYNC) &&
744 size_t size, enum dma_data_direction dir, unsigned long attrs)
746 if (!(attrs & DMA_ATTR_SKIP_CPU_SYNC))
834 int nents, enum dma_data_direction dir, unsigned long attrs)
840 int prot = dma_info_to_prot(dir, dev_is_dma_coherent(dev), attrs);
849 if (!(attrs & DMA_ATTR_SKIP_CPU_SYNC))
912 int nents, enum dma_data_direction dir, unsigned long attrs)
918 if (!(attrs & DMA_ATTR_SKIP_CPU_SYNC))
936 size_t size, enum dma_data_direction dir, unsigned long attrs)
939 dma_info_to_prot(dir, false, attrs) | IOMMU_MMIO,
944 size_t size, enum dma_data_direction dir, unsigned long attrs)
981 dma_addr_t handle, unsigned long attrs)
988 struct page **pagep, gfp_t gfp, unsigned long attrs)
1003 pgprot_t prot = dma_pgprot(dev, PAGE_KERNEL, attrs);
1025 dma_addr_t *handle, gfp_t gfp, unsigned long attrs)
1028 int ioprot = dma_info_to_prot(DMA_BIDIRECTIONAL, coherent, attrs);
1035 !(attrs & DMA_ATTR_FORCE_CONTIGUOUS)) {
1037 dma_pgprot(dev, PAGE_KERNEL, attrs), attrs);
1045 cpu_addr = iommu_dma_alloc_pages(dev, size, &page, gfp, attrs);
1089 unsigned long attrs)
1095 vma->vm_page_prot = dma_pgprot(dev, vma->vm_page_prot, attrs);
1120 unsigned long attrs)