Linux Kernel
3.7.1
|
#include <linux/videodev2.h>
#include <linux/usb.h>
#include <linux/poll.h>
#include <media/v4l2-common.h>
#include <media/v4l2-device.h>
#include <media/v4l2-ctrls.h>
#include "cpia2_registers.h"
Go to the source code of this file.
Data Structures | |
struct | cpia2_register |
struct | cpia2_reg_mask |
struct | cpia2_command |
union | cpia2_command::reg_types |
struct | camera_params |
struct | cpia2_sbuf |
struct | framebuf |
struct | camera_data |
#define DEFAULT_ALT USBIF_ISO_6 |
#define HI_POWER_MODE CPIA2_SYSTEM_CONTROL_HIGH_POWER |
#define LO_POWER_MODE CPIA2_SYSTEM_CONTROL_LOW_POWER |
anonymous enum |
anonymous enum |
anonymous enum |
enum frame_status |
enum sensors |
enum user_cmd |
int cpia2_allocate_buffers | ( | struct camera_data * | cam | ) |
Definition at line 2233 of file cpia2_core.c.
void cpia2_camera_release | ( | struct v4l2_device * | v4l2_dev | ) |
Definition at line 1087 of file cpia2_v4l.c.
void cpia2_dbg_dump_registers | ( | struct camera_data * | cam | ) |
Definition at line 1888 of file cpia2_core.c.
int cpia2_do_command | ( | struct camera_data * | cam, |
unsigned int | command, | ||
unsigned char | direction, | ||
unsigned char | param | ||
) |
Definition at line 140 of file cpia2_core.c.
void cpia2_free_buffers | ( | struct camera_data * | cam | ) |
Definition at line 2282 of file cpia2_core.c.
int cpia2_init_camera | ( | struct camera_data * | cam | ) |
Definition at line 2197 of file cpia2_core.c.
|
read |
Definition at line 2167 of file cpia2_core.c.
Definition at line 1012 of file cpia2_core.c.
unsigned int cpia2_poll | ( | struct camera_data * | cam, |
struct file * | filp, | ||
poll_table * | wait | ||
) |
Definition at line 2359 of file cpia2_core.c.
Definition at line 2299 of file cpia2_core.c.
int cpia2_register_camera | ( | struct camera_data * | cam | ) |
Definition at line 1106 of file cpia2_v4l.c.
int cpia2_remap_buffer | ( | struct camera_data * | cam, |
struct vm_area_struct * | vma | ||
) |
Definition at line 2384 of file cpia2_core.c.
int cpia2_reset_camera | ( | struct camera_data * | cam | ) |
Definition at line 610 of file cpia2_core.c.
void cpia2_save_camera_state | ( | struct camera_data * | cam | ) |
Definition at line 1566 of file cpia2_core.c.
int cpia2_send_command | ( | struct camera_data * | cam, |
struct cpia2_command * | cmd | ||
) |
Definition at line 520 of file cpia2_core.c.
void cpia2_set_brightness | ( | struct camera_data * | cam, |
unsigned char | value | ||
) |
Definition at line 1779 of file cpia2_core.c.
void cpia2_set_camera_state | ( | struct camera_data * | cam | ) |
void cpia2_set_color_params | ( | struct camera_data * | cam | ) |
void cpia2_set_contrast | ( | struct camera_data * | cam, |
unsigned char | value | ||
) |
Definition at line 1796 of file cpia2_core.c.
int cpia2_set_flicker_mode | ( | struct camera_data * | cam, |
int | mode | ||
) |
Definition at line 1581 of file cpia2_core.c.
void cpia2_set_format | ( | struct camera_data * | cam | ) |
Definition at line 1867 of file cpia2_core.c.
int cpia2_set_fps | ( | struct camera_data * | cam, |
int | framerate | ||
) |
Definition at line 1737 of file cpia2_core.c.
int cpia2_set_gpio | ( | struct camera_data * | cam, |
unsigned char | setting | ||
) |
Definition at line 1704 of file cpia2_core.c.
int cpia2_set_low_power | ( | struct camera_data * | cam | ) |
Definition at line 880 of file cpia2_core.c.
void cpia2_set_property_flip | ( | struct camera_data * | cam, |
int | prop_val | ||
) |
Definition at line 1654 of file cpia2_core.c.
void cpia2_set_property_mirror | ( | struct camera_data * | cam, |
int | prop_val | ||
) |
Definition at line 1679 of file cpia2_core.c.
void cpia2_set_saturation | ( | struct camera_data * | cam, |
unsigned char | value | ||
) |
Definition at line 1807 of file cpia2_core.c.
void cpia2_unregister_camera | ( | struct camera_data * | cam | ) |
Definition at line 1187 of file cpia2_v4l.c.
int cpia2_usb_change_streaming_alternate | ( | struct camera_data * | cam, |
unsigned int | alt | ||
) |
Definition at line 456 of file cpia2_usb.c.
Definition at line 951 of file cpia2_usb.c.
Definition at line 941 of file cpia2_usb.c.
int cpia2_usb_stream_pause | ( | struct camera_data * | cam | ) |
Definition at line 755 of file cpia2_usb.c.
int cpia2_usb_stream_resume | ( | struct camera_data * | cam | ) |
Definition at line 770 of file cpia2_usb.c.
int cpia2_usb_stream_start | ( | struct camera_data * | cam, |
unsigned int | alternate | ||
) |
Definition at line 708 of file cpia2_usb.c.
int cpia2_usb_stream_stop | ( | struct camera_data * | cam | ) |
Definition at line 792 of file cpia2_usb.c.
int cpia2_usb_transfer_cmd | ( | struct camera_data * | cam, |
void * | registers, | ||
u8 | request, | ||
u8 | start, | ||
u8 | count, | ||
u8 | direction | ||
) |
Definition at line 589 of file cpia2_usb.c.