#include <linux/module.h>
#include <linux/time.h>
#include <linux/sched.h>
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/videodev2.h>
#include <linux/stringify.h>
#include <media/v4l2-ioctl.h>
#include <media/v4l2-event.h>
#include "cpia2.h"
Go to the source code of this file.
|
| module_param (video_nr, int, 0) |
|
| MODULE_PARM_DESC (video_nr,"video device to register (0=/dev/video0, etc)") |
|
| module_param (buffer_size, int, 0) |
|
| MODULE_PARM_DESC (buffer_size,"Size for each frame buffer in bytes (default 68k)") |
|
| module_param (num_buffers, int, 0) |
|
| MODULE_PARM_DESC (num_buffers,"Number of frame buffers (1-"__stringify(VIDEO_MAX_FRAME)", default 3)") |
|
| module_param (alternate, int, 0) |
|
| MODULE_PARM_DESC (alternate,"USB Alternate ("__stringify(USBIF_ISO_1)"-"__stringify(USBIF_ISO_6)", default "__stringify(DEFAULT_ALT)")") |
|
| module_param (flicker_mode, int, 0) |
|
| MODULE_PARM_DESC (flicker_mode,"Flicker frequency (0 (disabled), "__stringify(50)" or "__stringify(60)", default 0)") |
|
| MODULE_AUTHOR ("Steve Miller (STMicroelectronics) <[email protected]>") |
|
| MODULE_DESCRIPTION ("V4L-driver for STMicroelectronics CPiA2 based cameras") |
|
| MODULE_SUPPORTED_DEVICE ("video") |
|
| MODULE_LICENSE ("GPL") |
|
| MODULE_VERSION (CPIA_VERSION) |
|
void | cpia2_camera_release (struct v4l2_device *v4l2_dev) |
|
int | cpia2_register_camera (struct camera_data *cam) |
|
void | cpia2_unregister_camera (struct camera_data *cam) |
|
| module_init (cpia2_init) |
|
| module_exit (cpia2_exit) |
|
#define ABOUT "V4L-Driver for Vision CPiA2 based cameras" |
#define CPIA_VERSION "3.0.1" |
MODULE_DESCRIPTION |
( |
"V4L-driver for STMicroelectronics CPiA2 based cameras" |
| ) |
|
module_exit |
( |
cpia2_exit |
| ) |
|
module_init |
( |
cpia2_init |
| ) |
|
module_param |
( |
num_buffers |
, |
|
|
int |
, |
|
|
0 |
|
|
) |
| |
module_param |
( |
flicker_mode |
, |
|
|
int |
, |
|
|
0 |
|
|
) |
| |
MODULE_PARM_DESC |
( |
num_buffers |
, |
|
|
"Number of frame buffers (1-"__stringify(VIDEO_MAX_FRAME)", default 3)" |
|
|
) |
| |
MODULE_PARM_DESC |
( |
flicker_mode |
, |
|
|
"Flicker frequency (0 (disabled), "__stringify(50)" or "__stringify(60)", default 0)" |
|
|
) |
| |
MODULE_SUPPORTED_DEVICE |
( |
"video" |
| ) |
|