Linux Kernel
3.7.1
|
#include "cpia2.h"
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/mm.h>
#include <linux/vmalloc.h>
#include <linux/firmware.h>
Go to the source code of this file.
Macros | |
#define | FIRMWARE "cpia2/stv0672_vp4.bin" |
#define | DIR(cmd) ((cmd->direction == TRANSFER_WRITE) ? "Write" : "Read") |
#define | BINDEX(cmd) (cmd->req_mode & 0x03) |
Definition at line 518 of file cpia2_core.c.
#define DIR | ( | cmd | ) | ((cmd->direction == TRANSFER_WRITE) ? "Write" : "Read") |
Definition at line 517 of file cpia2_core.c.
#define FIRMWARE "cpia2/stv0672_vp4.bin" |
Definition at line 40 of file cpia2_core.c.
int cpia2_allocate_buffers | ( | struct camera_data * | cam | ) |
Definition at line 2233 of file cpia2_core.c.
void cpia2_dbg_dump_registers | ( | struct camera_data * | cam | ) |
Definition at line 1888 of file cpia2_core.c.
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_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_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.
MODULE_FIRMWARE | ( | FIRMWARE | ) |