Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Enumerations | Functions | Variables
pwc-v4l.c File Reference
#include <linux/errno.h>
#include <linux/init.h>
#include <linux/mm.h>
#include <linux/module.h>
#include <linux/poll.h>
#include <linux/vmalloc.h>
#include <linux/jiffies.h>
#include <asm/io.h>
#include "pwc.h"

Go to the source code of this file.

Macros

#define PWC_CID_CUSTOM(ctrl)   ((V4L2_CID_USER_BASE | 0xf000) + custom_ ## ctrl)
 

Enumerations

enum  {
  awb_indoor, awb_outdoor, awb_fl, awb_manual,
  awb_auto
}
 
enum  {
  custom_autocontour, custom_contour, custom_noise_reduction, custom_awb_speed,
  custom_awb_delay, custom_save_user, custom_restore_user, custom_restore_factory
}
 

Functions

int pwc_init_controls (struct pwc_device *pdev)
 

Variables

const char *const pwc_auto_whitebal_qmenu []
 
struct v4l2_ioctl_ops pwc_ioctl_ops
 

Macro Definition Documentation

#define PWC_CID_CUSTOM (   ctrl)    ((V4L2_CID_USER_BASE | 0xf000) + custom_ ## ctrl)

Definition at line 40 of file pwc-v4l.c.

Enumeration Type Documentation

anonymous enum
Enumerator:
awb_indoor 
awb_outdoor 
awb_fl 
awb_manual 
awb_auto 

Definition at line 50 of file pwc-v4l.c.

anonymous enum
Enumerator:
custom_autocontour 
custom_contour 
custom_noise_reduction 
custom_awb_speed 
custom_awb_delay 
custom_save_user 
custom_restore_user 
custom_restore_factory 

Definition at line 51 of file pwc-v4l.c.

Function Documentation

int pwc_init_controls ( struct pwc_device pdev)

Definition at line 162 of file pwc-v4l.c.

Variable Documentation

const char* const pwc_auto_whitebal_qmenu[]
Initial value:
= {
"Indoor (Incandescant Lighting) Mode",
"Outdoor (Sunlight) Mode",
"Indoor (Fluorescent Lighting) Mode",
"Manual Mode",
"Auto Mode",
}

Definition at line 55 of file pwc-v4l.c.

struct v4l2_ioctl_ops pwc_ioctl_ops
Initial value:
= {
.vidioc_querycap = pwc_querycap,
.vidioc_enum_input = pwc_enum_input,
.vidioc_g_input = pwc_g_input,
.vidioc_s_input = pwc_s_input,
.vidioc_enum_fmt_vid_cap = pwc_enum_fmt_vid_cap,
.vidioc_g_fmt_vid_cap = pwc_g_fmt_vid_cap,
.vidioc_s_fmt_vid_cap = pwc_s_fmt_vid_cap,
.vidioc_try_fmt_vid_cap = pwc_try_fmt_vid_cap,
.vidioc_reqbufs = vb2_ioctl_reqbufs,
.vidioc_querybuf = vb2_ioctl_querybuf,
.vidioc_qbuf = vb2_ioctl_qbuf,
.vidioc_dqbuf = vb2_ioctl_dqbuf,
.vidioc_streamon = vb2_ioctl_streamon,
.vidioc_streamoff = vb2_ioctl_streamoff,
.vidioc_log_status = v4l2_ctrl_log_status,
.vidioc_enum_framesizes = pwc_enum_framesizes,
.vidioc_enum_frameintervals = pwc_enum_frameintervals,
.vidioc_g_parm = pwc_g_parm,
.vidioc_s_parm = pwc_s_parm,
.vidioc_subscribe_event = v4l2_ctrl_subscribe_event,
.vidioc_unsubscribe_event = v4l2_event_unsubscribe,
}

Definition at line 1031 of file pwc-v4l.c.