• Home
  • Raw
  • Download

Lines Matching defs:dev

25 static inline dma_addr_t phys_to_dma_direct(struct device *dev,  in phys_to_dma_direct()
33 static inline struct page *dma_direct_to_page(struct device *dev, in dma_direct_to_page()
39 u64 dma_direct_get_required_mask(struct device *dev) in dma_direct_get_required_mask()
48 static gfp_t dma_direct_optimal_gfp_mask(struct device *dev, u64 dma_mask, in dma_direct_optimal_gfp_mask()
70 static bool dma_coherent_ok(struct device *dev, phys_addr_t phys, size_t size) in dma_coherent_ok()
80 static int dma_set_decrypted(struct device *dev, void *vaddr, size_t size) in dma_set_decrypted()
87 static int dma_set_encrypted(struct device *dev, void *vaddr, size_t size) in dma_set_encrypted()
99 static void __dma_direct_free_pages(struct device *dev, struct page *page, in __dma_direct_free_pages()
107 static struct page *dma_direct_alloc_swiotlb(struct device *dev, size_t size) in dma_direct_alloc_swiotlb()
119 static struct page *__dma_direct_alloc_pages(struct device *dev, size_t size, in __dma_direct_alloc_pages()
169 static bool dma_direct_use_pool(struct device *dev, gfp_t gfp) in dma_direct_use_pool()
174 static void *dma_direct_alloc_from_pool(struct device *dev, size_t size, in dma_direct_alloc_from_pool()
193 static void *dma_direct_alloc_no_mapping(struct device *dev, size_t size, in dma_direct_alloc_no_mapping()
211 void *dma_direct_alloc(struct device *dev, size_t size, in dma_direct_alloc()
326 void dma_direct_free(struct device *dev, size_t size, in dma_direct_free()
372 struct page *dma_direct_alloc_pages(struct device *dev, size_t size, in dma_direct_alloc_pages()
396 void dma_direct_free_pages(struct device *dev, size_t size, in dma_direct_free_pages()
414 void dma_direct_sync_sg_for_device(struct device *dev, in dma_direct_sync_sg_for_device()
437 void dma_direct_sync_sg_for_cpu(struct device *dev, in dma_direct_sync_sg_for_cpu()
465 void dma_direct_unmap_sg(struct device *dev, struct scatterlist *sgl, in dma_direct_unmap_sg()
481 int dma_direct_map_sg(struct device *dev, struct scatterlist *sgl, int nents, in dma_direct_map_sg()
525 dma_addr_t dma_direct_map_resource(struct device *dev, phys_addr_t paddr, in dma_direct_map_resource()
541 int dma_direct_get_sgtable(struct device *dev, struct sg_table *sgt, in dma_direct_get_sgtable()
554 bool dma_direct_can_mmap(struct device *dev) in dma_direct_can_mmap()
560 int dma_direct_mmap(struct device *dev, struct vm_area_struct *vma, in dma_direct_mmap()
584 int dma_direct_supported(struct device *dev, u64 mask) in dma_direct_supported()
607 size_t dma_direct_max_mapping_size(struct device *dev) in dma_direct_max_mapping_size()
616 bool dma_direct_need_sync(struct device *dev, dma_addr_t dma_addr) in dma_direct_need_sync()
638 int dma_direct_set_offset(struct device *dev, phys_addr_t cpu_start, in dma_direct_set_offset()