Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
go7007-v4l2.c File Reference
#include <linux/module.h>
#include <linux/init.h>
#include <linux/version.h>
#include <linux/delay.h>
#include <linux/sched.h>
#include <linux/spinlock.h>
#include <linux/slab.h>
#include <linux/fs.h>
#include <linux/unistd.h>
#include <linux/time.h>
#include <linux/vmalloc.h>
#include <linux/pagemap.h>
#include <linux/videodev2.h>
#include <media/v4l2-common.h>
#include <media/v4l2-ioctl.h>
#include <media/v4l2-subdev.h>
#include <linux/i2c.h>
#include <linux/mutex.h>
#include <linux/uaccess.h>
#include "go7007.h"
#include "go7007-priv.h"
#include "wis-i2c.h"

Go to the source code of this file.

Macros

#define V4L2_MPEG_STREAM_TYPE_MPEG_ELEM   6 /* MPEG elementary stream */
 
#define V4L2_MPEG_VIDEO_ENCODING_MPEG_4   3
 
#define call_all(dev, o, f, args...)   v4l2_device_call_until_err(dev, 0, o, f, ##args)
 

Functions

int go7007_v4l2_init (struct go7007 *go)
 
void go7007_v4l2_remove (struct go7007 *go)
 

Macro Definition Documentation

#define call_all (   dev,
  o,
  f,
  args... 
)    v4l2_device_call_until_err(dev, 0, o, f, ##args)

Definition at line 50 of file go7007-v4l2.c.

#define V4L2_MPEG_STREAM_TYPE_MPEG_ELEM   6 /* MPEG elementary stream */

Definition at line 44 of file go7007-v4l2.c.

#define V4L2_MPEG_VIDEO_ENCODING_MPEG_4   3

Definition at line 47 of file go7007-v4l2.c.

Function Documentation

int go7007_v4l2_init ( struct go7007 go)

Definition at line 1791 of file go7007-v4l2.c.

void go7007_v4l2_remove ( struct go7007 go)

Definition at line 1820 of file go7007-v4l2.c.