Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Functions | Variables
v4l2-ioctl.h File Reference
#include <linux/poll.h>
#include <linux/fs.h>
#include <linux/mutex.h>
#include <linux/compiler.h>
#include <linux/videodev2.h>

Go to the source code of this file.

Data Structures

struct  v4l2_ioctl_ops


#define V4L2_DEBUG_IOCTL   0x01
#define V4L2_DEBUG_IOCTL_ARG   0x02


typedef long(* v4l2_kioctl )(struct file *file, unsigned int cmd, void *arg)


const charv4l2_norm_to_name (v4l2_std_id id)
void v4l2_video_std_frame_period (int id, struct v4l2_fract *frameperiod)
int v4l2_video_std_construct (struct v4l2_standard *vs, int id, const char *name)
void v4l_printk_ioctl (const char *prefix, unsigned int cmd)
struct mutexv4l2_ioctl_get_lock (struct video_device *vdev, unsigned cmd)
long video_usercopy (struct file *file, unsigned int cmd, unsigned long arg, v4l2_kioctl func)
long video_ioctl2 (struct file *file, unsigned int cmd, unsigned long arg)


const charv4l2_field_names []
const charv4l2_type_names []

Macro Definition Documentation

#define V4L2_DEBUG_IOCTL   0x01

Definition at line 289 of file v4l2-ioctl.h.

#define V4L2_DEBUG_IOCTL_ARG   0x02

Definition at line 290 of file v4l2-ioctl.h.

Typedef Documentation

typedef long(* v4l2_kioctl)(struct file *file, unsigned int cmd, void *arg)

Definition at line 316 of file v4l2-ioctl.h.

Function Documentation

struct mutex* v4l2_ioctl_get_lock ( struct video_device vdev,
unsigned  cmd 

Definition at line 2045 of file v4l2-ioctl.c.

const char* v4l2_norm_to_name ( v4l2_std_id  id)

Definition at line 79 of file v4l2-ioctl.c.

int v4l2_video_std_construct ( struct v4l2_standard vs,
int  id,
const char name 

Definition at line 112 of file v4l2-ioctl.c.

void v4l2_video_std_frame_period ( int  id,
struct v4l2_fract frameperiod 

Definition at line 98 of file v4l2-ioctl.c.

void v4l_printk_ioctl ( const char prefix,
unsigned int  cmd 

Definition at line 2059 of file v4l2-ioctl.c.

long video_ioctl2 ( struct file file,
unsigned int  cmd,
unsigned long  arg 

Definition at line 2357 of file v4l2-ioctl.c.

long video_usercopy ( struct file file,
unsigned int  cmd,
unsigned long  arg,
v4l2_kioctl  func 

Definition at line 2250 of file v4l2-ioctl.c.

Variable Documentation

const char* v4l2_field_names[]

Definition at line 126 of file v4l2-ioctl.c.

const char* v4l2_type_names[]

Definition at line 140 of file v4l2-ioctl.c.