#include <linux/init.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/sched.h>
#include <linux/slab.h>
#include <linux/interrupt.h>
#include <linux/dma-mapping.h>
#include <linux/vmalloc.h>
#include <linux/pagemap.h>
#include <linux/scatterlist.h>
#include <asm/page.h>
#include <asm/pgtable.h>
#include <media/videobuf-dma-sg.h>
Go to the source code of this file.
|
| module_param (debug, int, 0644) |
|
| MODULE_DESCRIPTION ("helper module to manage video4linux dma sg buffers") |
|
| MODULE_AUTHOR ("Mauro Carvalho Chehab <[email protected]>") |
|
| MODULE_LICENSE ("GPL") |
|
struct videobuf_dmabuf * | videobuf_to_dma (struct videobuf_buffer *buf) |
|
| EXPORT_SYMBOL_GPL (videobuf_to_dma) |
|
void | videobuf_dma_init (struct videobuf_dmabuf *dma) |
|
| EXPORT_SYMBOL_GPL (videobuf_dma_init) |
|
int | videobuf_dma_init_user (struct videobuf_dmabuf *dma, int direction, unsigned long data, unsigned long size) |
|
| EXPORT_SYMBOL_GPL (videobuf_dma_init_user) |
|
int | videobuf_dma_init_kernel (struct videobuf_dmabuf *dma, int direction, int nr_pages) |
|
| EXPORT_SYMBOL_GPL (videobuf_dma_init_kernel) |
|
int | videobuf_dma_init_overlay (struct videobuf_dmabuf *dma, int direction, dma_addr_t addr, int nr_pages) |
|
| EXPORT_SYMBOL_GPL (videobuf_dma_init_overlay) |
|
int | videobuf_dma_map (struct device *dev, struct videobuf_dmabuf *dma) |
|
| EXPORT_SYMBOL_GPL (videobuf_dma_map) |
|
int | videobuf_dma_unmap (struct device *dev, struct videobuf_dmabuf *dma) |
|
| EXPORT_SYMBOL_GPL (videobuf_dma_unmap) |
|
int | videobuf_dma_free (struct videobuf_dmabuf *dma) |
|
| EXPORT_SYMBOL_GPL (videobuf_dma_free) |
|
void * | videobuf_sg_alloc (size_t size) |
|
| EXPORT_SYMBOL_GPL (videobuf_sg_alloc) |
|
void | videobuf_queue_sg_init (struct videobuf_queue *q, const struct videobuf_queue_ops *ops, struct device *dev, spinlock_t *irqlock, enum v4l2_buf_type type, enum v4l2_field field, unsigned int msize, void *priv, struct mutex *ext_lock) |
|
| EXPORT_SYMBOL_GPL (videobuf_queue_sg_init) |
|
#define MAGIC_DMABUF 0x19721112 |
#define MAGIC_SG_MEM 0x17890714 |
MODULE_DESCRIPTION |
( |
"helper module to manage video4linux dma sg buffers" |
| ) |
|