Lines Matching refs:device

25 struct device;
37 extern void debug_dma_map_page(struct device *dev, struct page *page,
42 extern void debug_dma_mapping_error(struct device *dev, dma_addr_t dma_addr);
44 extern void debug_dma_unmap_page(struct device *dev, dma_addr_t addr,
47 extern void debug_dma_map_sg(struct device *dev, struct scatterlist *sg,
50 extern void debug_dma_unmap_sg(struct device *dev, struct scatterlist *sglist,
53 extern void debug_dma_alloc_coherent(struct device *dev, size_t size,
56 extern void debug_dma_free_coherent(struct device *dev, size_t size,
59 extern void debug_dma_sync_single_for_cpu(struct device *dev,
63 extern void debug_dma_sync_single_for_device(struct device *dev,
67 extern void debug_dma_sync_single_range_for_cpu(struct device *dev,
73 extern void debug_dma_sync_single_range_for_device(struct device *dev,
78 extern void debug_dma_sync_sg_for_cpu(struct device *dev,
82 extern void debug_dma_sync_sg_for_device(struct device *dev,
86 extern void debug_dma_dump_mappings(struct device *dev);
105 static inline void debug_dma_map_page(struct device *dev, struct page *page, in debug_dma_map_page()
112 static inline void debug_dma_mapping_error(struct device *dev, in debug_dma_mapping_error()
117 static inline void debug_dma_unmap_page(struct device *dev, dma_addr_t addr, in debug_dma_unmap_page()
123 static inline void debug_dma_map_sg(struct device *dev, struct scatterlist *sg, in debug_dma_map_sg()
128 static inline void debug_dma_unmap_sg(struct device *dev, in debug_dma_unmap_sg()
134 static inline void debug_dma_alloc_coherent(struct device *dev, size_t size, in debug_dma_alloc_coherent()
139 static inline void debug_dma_free_coherent(struct device *dev, size_t size, in debug_dma_free_coherent()
144 static inline void debug_dma_sync_single_for_cpu(struct device *dev, in debug_dma_sync_single_for_cpu()
150 static inline void debug_dma_sync_single_for_device(struct device *dev, in debug_dma_sync_single_for_device()
156 static inline void debug_dma_sync_single_range_for_cpu(struct device *dev, in debug_dma_sync_single_range_for_cpu()
164 static inline void debug_dma_sync_single_range_for_device(struct device *dev, in debug_dma_sync_single_range_for_device()
172 static inline void debug_dma_sync_sg_for_cpu(struct device *dev, in debug_dma_sync_sg_for_cpu()
178 static inline void debug_dma_sync_sg_for_device(struct device *dev, in debug_dma_sync_sg_for_device()
184 static inline void debug_dma_dump_mappings(struct device *dev) in debug_dma_dump_mappings()