• Home
  • Raw
  • Download

Lines Matching refs:device

46 static inline int is_device_dma_capable(struct device *dev)  in is_device_dma_capable()
66 static inline u64 dma_get_mask(struct device *dev) in dma_get_mask()
73 extern u64 dma_get_required_mask(struct device *dev);
75 static inline unsigned int dma_get_max_seg_size(struct device *dev) in dma_get_max_seg_size()
80 static inline unsigned int dma_set_max_seg_size(struct device *dev, in dma_set_max_seg_size()
90 static inline unsigned long dma_get_seg_boundary(struct device *dev) in dma_get_seg_boundary()
96 static inline int dma_set_seg_boundary(struct device *dev, unsigned long mask) in dma_set_seg_boundary()
113 dma_declare_coherent_memory(struct device *dev, dma_addr_t bus_addr, in dma_declare_coherent_memory()
120 dma_release_declared_memory(struct device *dev) in dma_release_declared_memory()
125 dma_mark_declared_memory_occupied(struct device *dev, in dma_mark_declared_memory_occupied()
135 extern void *dmam_alloc_coherent(struct device *dev, size_t size,
137 extern void dmam_free_coherent(struct device *dev, size_t size, void *vaddr,
139 extern void *dmam_alloc_noncoherent(struct device *dev, size_t size,
141 extern void dmam_free_noncoherent(struct device *dev, size_t size, void *vaddr,
144 extern int dmam_declare_coherent_memory(struct device *dev, dma_addr_t bus_addr,
147 extern void dmam_release_declared_memory(struct device *dev);
149 static inline int dmam_declare_coherent_memory(struct device *dev, in dmam_declare_coherent_memory()
156 static inline void dmam_release_declared_memory(struct device *dev) in dmam_release_declared_memory()