Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | stk_iso_buf |
struct | stk_sio_buffer |
struct | stk_video |
struct | regval |
struct | stk_camera |
Enumerations | |
enum | stk_mode { MODE_VGA, MODE_SXGA, MODE_CIF, MODE_QVGA, MODE_QCIF } |
enum | stk_status { S_PRESENT = 1, S_INITIALISED = 2, S_MEMALLOCD = 4, S_STREAMING = 8 } |
Functions | |
int | stk_camera_write_reg (struct stk_camera *, u16, u8) |
int | stk_camera_read_reg (struct stk_camera *, u16, int *) |
int | stk_sensor_init (struct stk_camera *) |
int | stk_sensor_configure (struct stk_camera *) |
int | stk_sensor_sleep (struct stk_camera *dev) |
int | stk_sensor_wakeup (struct stk_camera *dev) |
int | stk_sensor_set_brightness (struct stk_camera *dev, int br) |
#define DRIVER_VERSION "v0.0.1" |
Definition at line 28 of file stk-webcam.h.
#define DRIVER_VERSION_NUM 0x000001 |
Definition at line 29 of file stk-webcam.h.
#define is_initialised | ( | dev | ) | ((dev)->status & S_INITIALISED) |
Definition at line 75 of file stk-webcam.h.
#define is_memallocd | ( | dev | ) | ((dev)->status & S_MEMALLOCD) |
Definition at line 77 of file stk-webcam.h.
#define is_streaming | ( | dev | ) | ((dev)->status & S_STREAMING) |
Definition at line 76 of file stk-webcam.h.
#define ISO_BUFFER_SIZE (ISO_FRAMES_PER_DESC * ISO_MAX_FRAME_SIZE) |
Definition at line 34 of file stk-webcam.h.
#define ISO_FRAMES_PER_DESC 16 |
Definition at line 32 of file stk-webcam.h.
#define ISO_MAX_FRAME_SIZE 3 * 1024 |
Definition at line 33 of file stk-webcam.h.
#define MAX_ISO_BUFS 3 |
Definition at line 31 of file stk-webcam.h.
#define PREFIX "stkwebcam: " |
Definition at line 37 of file stk-webcam.h.
#define set_initialised | ( | dev | ) | ((dev)->status |= S_INITIALISED) |
Definition at line 81 of file stk-webcam.h.
#define set_memallocd | ( | dev | ) | ((dev)->status |= S_MEMALLOCD) |
Definition at line 83 of file stk-webcam.h.
#define set_streaming | ( | dev | ) | ((dev)->status |= S_STREAMING) |
Definition at line 85 of file stk-webcam.h.
Definition at line 39 of file stk-webcam.h.
Definition at line 38 of file stk-webcam.h.
Definition at line 40 of file stk-webcam.h.
#define unset_initialised | ( | dev | ) | ((dev)->status &= ~S_INITIALISED) |
Definition at line 82 of file stk-webcam.h.
#define unset_memallocd | ( | dev | ) | ((dev)->status &= ~S_MEMALLOCD) |
Definition at line 84 of file stk-webcam.h.
#define unset_present | ( | dev | ) |
Definition at line 79 of file stk-webcam.h.
#define unset_streaming | ( | dev | ) | ((dev)->status &= ~S_STREAMING) |
Definition at line 86 of file stk-webcam.h.
#define vdev_to_camera | ( | d | ) | container_of(d, struct stk_camera, vdev) |
Definition at line 123 of file stk-webcam.h.
enum stk_mode |
Definition at line 58 of file stk-webcam.h.
enum stk_status |
Definition at line 68 of file stk-webcam.h.
int stk_camera_read_reg | ( | struct stk_camera * | , |
u16 | , | ||
int * | |||
) |
Definition at line 91 of file stk-webcam.c.
int stk_camera_write_reg | ( | struct stk_camera * | , |
u16 | , | ||
u8 | |||
) |
Definition at line 72 of file stk-webcam.c.
int stk_sensor_configure | ( | struct stk_camera * | ) |
Definition at line 500 of file stk-sensor.c.
int stk_sensor_init | ( | struct stk_camera * | ) |
Definition at line 365 of file stk-sensor.c.
int stk_sensor_set_brightness | ( | struct stk_camera * | dev, |
int | br | ||
) |
Definition at line 587 of file stk-sensor.c.
int stk_sensor_sleep | ( | struct stk_camera * | dev | ) |
Definition at line 296 of file stk-sensor.c.
int stk_sensor_wakeup | ( | struct stk_camera * | dev | ) |
Definition at line 303 of file stk-sensor.c.