0001
0002
0003
0004
0005
0006
0007
0008
0009
0010 #ifndef _VIDEOBUF_DMA_CONTIG_H
0011 #define _VIDEOBUF_DMA_CONTIG_H
0012
0013 #include <linux/dma-mapping.h>
0014 #include <media/videobuf-core.h>
0015
0016 void videobuf_queue_dma_contig_init(struct videobuf_queue *q,
0017 const struct videobuf_queue_ops *ops,
0018 struct device *dev,
0019 spinlock_t *irqlock,
0020 enum v4l2_buf_type type,
0021 enum v4l2_field field,
0022 unsigned int msize,
0023 void *priv,
0024 struct mutex *ext_lock);
0025
0026 dma_addr_t videobuf_to_dma_contig(struct videobuf_buffer *buf);
0027 void videobuf_dma_contig_free(struct videobuf_queue *q,
0028 struct videobuf_buffer *buf);
0029
0030 #endif