Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
videobuf2-dma-contig.c File Reference
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/dma-mapping.h>
#include <media/videobuf2-core.h>
#include <media/videobuf2-dma-contig.h>
#include <media/videobuf2-memops.h>

Go to the source code of this file.

Data Structures

struct  vb2_dc_conf
struct  vb2_dc_buf


 EXPORT_SYMBOL_GPL (vb2_dma_contig_memops)
voidvb2_dma_contig_init_ctx (struct device *dev)
 EXPORT_SYMBOL_GPL (vb2_dma_contig_init_ctx)
void vb2_dma_contig_cleanup_ctx (void *alloc_ctx)
 EXPORT_SYMBOL_GPL (vb2_dma_contig_cleanup_ctx)
 MODULE_DESCRIPTION ("DMA-contig memory handling routines for videobuf2")
 MODULE_AUTHOR ("Pawel Osciak <[email protected]>")


struct vb2_mem_ops vb2_dma_contig_memops

Function Documentation

EXPORT_SYMBOL_GPL ( vb2_dma_contig_memops  )
EXPORT_SYMBOL_GPL ( vb2_dma_contig_init_ctx  )
EXPORT_SYMBOL_GPL ( vb2_dma_contig_cleanup_ctx  )
MODULE_AUTHOR ( "Pawel Osciak <[email protected]>"  )
MODULE_DESCRIPTION ( "DMA-contig memory handling routines for videobuf2"  )
void vb2_dma_contig_cleanup_ctx ( void alloc_ctx)

Definition at line 178 of file videobuf2-dma-contig.c.

void* vb2_dma_contig_init_ctx ( struct device dev)

Definition at line 164 of file videobuf2-dma-contig.c.

Variable Documentation

struct vb2_mem_ops vb2_dma_contig_memops
Initial value:
= {
.alloc = vb2_dma_contig_alloc,
.put = vb2_dma_contig_put,
.cookie = vb2_dma_contig_cookie,
.vaddr = vb2_dma_contig_vaddr,
.mmap = vb2_dma_contig_mmap,
.get_userptr = vb2_dma_contig_get_userptr,
.put_userptr = vb2_dma_contig_put_userptr,
.num_users = vb2_dma_contig_num_users,

Definition at line 152 of file videobuf2-dma-contig.c.