Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
m5602_s5k83a.h File Reference
#include "m5602_sensor.h"

Go to the source code of this file.

Data Structures

struct  s5k83a_priv
 

Macros

#define S5K83A_FLIP   0x01
 
#define S5K83A_HFLIP_TUNE   0x03
 
#define S5K83A_VFLIP_TUNE   0x05
 
#define S5K83A_BRIGHTNESS   0x0a
 
#define S5K83A_EXPOSURE   0x18
 
#define S5K83A_GAIN   0x1b
 
#define S5K83A_PAGE_MAP   0xec
 
#define S5K83A_DEFAULT_GAIN   0x71
 
#define S5K83A_DEFAULT_BRIGHTNESS   0x7e
 
#define S5K83A_DEFAULT_EXPOSURE   0x00
 
#define S5K83A_MAXIMUM_EXPOSURE   0x3c
 
#define S5K83A_FLIP_MASK   0x10
 
#define S5K83A_GPIO_LED_MASK   0x10
 
#define S5K83A_GPIO_ROTATION_MASK   0x40
 

Functions

int s5k83a_probe (struct sd *sd)
 
int s5k83a_init (struct sd *sd)
 
int s5k83a_start (struct sd *sd)
 
int s5k83a_stop (struct sd *sd)
 
void s5k83a_disconnect (struct sd *sd)
 

Variables

int force_sensor
 
bool dump_sensor
 

Macro Definition Documentation

#define S5K83A_BRIGHTNESS   0x0a

Definition at line 27 of file m5602_s5k83a.h.

#define S5K83A_DEFAULT_BRIGHTNESS   0x7e

Definition at line 33 of file m5602_s5k83a.h.

#define S5K83A_DEFAULT_EXPOSURE   0x00

Definition at line 34 of file m5602_s5k83a.h.

#define S5K83A_DEFAULT_GAIN   0x71

Definition at line 32 of file m5602_s5k83a.h.

#define S5K83A_EXPOSURE   0x18

Definition at line 28 of file m5602_s5k83a.h.

#define S5K83A_FLIP   0x01

Definition at line 24 of file m5602_s5k83a.h.

#define S5K83A_FLIP_MASK   0x10

Definition at line 36 of file m5602_s5k83a.h.

#define S5K83A_GAIN   0x1b

Definition at line 29 of file m5602_s5k83a.h.

#define S5K83A_GPIO_LED_MASK   0x10

Definition at line 37 of file m5602_s5k83a.h.

#define S5K83A_GPIO_ROTATION_MASK   0x40

Definition at line 38 of file m5602_s5k83a.h.

#define S5K83A_HFLIP_TUNE   0x03

Definition at line 25 of file m5602_s5k83a.h.

#define S5K83A_MAXIMUM_EXPOSURE   0x3c

Definition at line 35 of file m5602_s5k83a.h.

#define S5K83A_PAGE_MAP   0xec

Definition at line 30 of file m5602_s5k83a.h.

#define S5K83A_VFLIP_TUNE   0x05

Definition at line 26 of file m5602_s5k83a.h.

Function Documentation

void s5k83a_disconnect ( struct sd sd)

Definition at line 344 of file m5602_s5k83a.c.

int s5k83a_init ( struct sd sd)

Definition at line 203 of file m5602_s5k83a.c.

int s5k83a_probe ( struct sd sd)

Definition at line 132 of file m5602_s5k83a.c.

int s5k83a_start ( struct sd sd)

Definition at line 306 of file m5602_s5k83a.c.

int s5k83a_stop ( struct sd sd)

Definition at line 334 of file m5602_s5k83a.c.

Variable Documentation

bool dump_sensor

Definition at line 31 of file m5602_core.c.

int force_sensor

Definition at line 29 of file m5602_core.c.