• Home
  • Raw
  • Download

Lines Matching defs:dev

32 static void dmam_release(struct device *dev, void *res)  in dmam_release()
40 static int dmam_match(struct device *dev, void *res, void *match_data) in dmam_match()
61 void dmam_free_coherent(struct device *dev, size_t size, void *vaddr, in dmam_free_coherent()
85 void *dmam_alloc_attrs(struct device *dev, size_t size, dma_addr_t *dma_handle, in dmam_alloc_attrs()
112 static bool dma_go_direct(struct device *dev, dma_addr_t mask, in dma_go_direct()
131 static inline bool dma_alloc_direct(struct device *dev, in dma_alloc_direct()
137 static inline bool dma_map_direct(struct device *dev, in dma_map_direct()
143 dma_addr_t dma_map_page_attrs(struct device *dev, struct page *page, in dma_map_page_attrs()
167 void dma_unmap_page_attrs(struct device *dev, dma_addr_t addr, size_t size, in dma_unmap_page_attrs()
182 static int __dma_map_sg_attrs(struct device *dev, struct scatterlist *sg, in __dma_map_sg_attrs()
227 unsigned int dma_map_sg_attrs(struct device *dev, struct scatterlist *sg, in dma_map_sg_attrs()
266 int dma_map_sgtable(struct device *dev, struct sg_table *sgt, in dma_map_sgtable()
279 void dma_unmap_sg_attrs(struct device *dev, struct scatterlist *sg, in dma_unmap_sg_attrs()
295 dma_addr_t dma_map_resource(struct device *dev, phys_addr_t phys_addr, in dma_map_resource()
316 void dma_unmap_resource(struct device *dev, dma_addr_t addr, size_t size, in dma_unmap_resource()
328 void dma_sync_single_for_cpu(struct device *dev, dma_addr_t addr, size_t size, in dma_sync_single_for_cpu()
342 void dma_sync_single_for_device(struct device *dev, dma_addr_t addr, in dma_sync_single_for_device()
356 void dma_sync_sg_for_cpu(struct device *dev, struct scatterlist *sg, in dma_sync_sg_for_cpu()
370 void dma_sync_sg_for_device(struct device *dev, struct scatterlist *sg, in dma_sync_sg_for_device()
395 int dma_get_sgtable_attrs(struct device *dev, struct sg_table *sgt, in dma_get_sgtable_attrs()
415 pgprot_t dma_pgprot(struct device *dev, pgprot_t prot, unsigned long attrs) in dma_pgprot()
437 bool dma_can_mmap(struct device *dev) in dma_can_mmap()
460 int dma_mmap_attrs(struct device *dev, struct vm_area_struct *vma, in dma_mmap_attrs()
475 u64 dma_get_required_mask(struct device *dev) in dma_get_required_mask()
496 void *dma_alloc_attrs(struct device *dev, size_t size, dma_addr_t *dma_handle, in dma_alloc_attrs()
522 void dma_free_attrs(struct device *dev, size_t size, void *cpu_addr, in dma_free_attrs()
549 static struct page *__dma_alloc_pages(struct device *dev, size_t size, in __dma_alloc_pages()
567 struct page *dma_alloc_pages(struct device *dev, size_t size, in dma_alloc_pages()
578 static void __dma_free_pages(struct device *dev, size_t size, struct page *page, in __dma_free_pages()
590 void dma_free_pages(struct device *dev, size_t size, struct page *page, in dma_free_pages()
598 int dma_mmap_pages(struct device *dev, struct vm_area_struct *vma, in dma_mmap_pages()
611 static struct sg_table *alloc_single_sgt(struct device *dev, size_t size, in alloc_single_sgt()
635 struct sg_table *dma_alloc_noncontiguous(struct device *dev, size_t size, in dma_alloc_noncontiguous()
657 static void free_single_sgt(struct device *dev, size_t size, in free_single_sgt()
666 void dma_free_noncontiguous(struct device *dev, size_t size, in dma_free_noncontiguous()
679 void *dma_vmap_noncontiguous(struct device *dev, size_t size, in dma_vmap_noncontiguous()
691 void dma_vunmap_noncontiguous(struct device *dev, void *vaddr) in dma_vunmap_noncontiguous()
700 int dma_mmap_noncontiguous(struct device *dev, struct vm_area_struct *vma, in dma_mmap_noncontiguous()
717 static int dma_supported(struct device *dev, u64 mask) in dma_supported()
732 bool dma_pci_p2pdma_supported(struct device *dev) in dma_pci_p2pdma_supported()
753 #define arch_dma_set_mask(dev, mask) do { } while (0) argument
756 int dma_set_mask(struct device *dev, u64 mask) in dma_set_mask()
773 int dma_set_coherent_mask(struct device *dev, u64 mask) in dma_set_coherent_mask()
789 size_t dma_max_mapping_size(struct device *dev) in dma_max_mapping_size()
803 size_t dma_opt_mapping_size(struct device *dev) in dma_opt_mapping_size()
815 bool dma_need_sync(struct device *dev, dma_addr_t dma_addr) in dma_need_sync()
825 unsigned long dma_get_merge_boundary(struct device *dev) in dma_get_merge_boundary()