Lines Matching refs:attrs
212 dma_addr_t *dma_handle, gfp_t gfp, unsigned long attrs) in dma_direct_alloc() argument
219 if (attrs & DMA_ATTR_NO_WARN) in dma_direct_alloc()
222 if ((attrs & DMA_ATTR_NO_KERNEL_MAPPING) && in dma_direct_alloc()
236 attrs); in dma_direct_alloc()
286 pgprot_t prot = dma_pgprot(dev, PAGE_KERNEL, attrs); in dma_direct_alloc()
327 void *cpu_addr, dma_addr_t dma_addr, unsigned long attrs) in dma_direct_free() argument
331 if ((attrs & DMA_ATTR_NO_KERNEL_MAPPING) && in dma_direct_free()
343 arch_dma_free(dev, size, cpu_addr, dma_addr, attrs); in dma_direct_free()
466 int nents, enum dma_data_direction dir, unsigned long attrs) in dma_direct_unmap_sg() argument
476 sg_dma_len(sg), dir, attrs); in dma_direct_unmap_sg()
482 enum dma_data_direction dir, unsigned long attrs) in dma_direct_map_sg() argument
510 sg->offset, sg->length, dir, attrs); in dma_direct_map_sg()
521 dma_direct_unmap_sg(dev, sgl, i, dir, attrs | DMA_ATTR_SKIP_CPU_SYNC); in dma_direct_map_sg()
526 size_t size, enum dma_data_direction dir, unsigned long attrs) in dma_direct_map_resource() argument
543 unsigned long attrs) in dma_direct_get_sgtable() argument
562 unsigned long attrs) in dma_direct_mmap() argument
569 vma->vm_page_prot = dma_pgprot(dev, vma->vm_page_prot, attrs); in dma_direct_mmap()