Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
tcm825x.c File Reference
#include <linux/i2c.h>
#include <linux/module.h>
#include <media/v4l2-int-device.h>
#include "tcm825x.h"

Go to the source code of this file.

Data Structures

struct  tcm825x_sensor
 
struct  vcontrol
 

Macros

#define MAX_FPS   30
 
#define MIN_FPS   8
 
#define MAX_HALF_FPS   (MAX_FPS / 2)
 
#define HIGH_FPS_MODE_LOWER_LIMIT   14
 
#define DEFAULT_FPS   MAX_HALF_FPS
 
#define TCM825X_NUM_CAPTURE_FORMATS   ARRAY_SIZE(tcm825x_formats)
 
#define V4L2_CID_ALC   V4L2_CID_PRIVATE_BASE
 
#define V4L2_CID_H_EDGE_EN   V4L2_CID_PRIVATE_BASE + 1
 
#define V4L2_CID_V_EDGE_EN   V4L2_CID_PRIVATE_BASE + 2
 
#define V4L2_CID_LENS   V4L2_CID_PRIVATE_BASE + 3
 
#define V4L2_CID_MAX_EXPOSURE_TIME   V4L2_CID_PRIVATE_BASE + 4
 
#define V4L2_CID_LAST_PRIV   V4L2_CID_MAX_EXPOSURE_TIME
 
#define tcm825x_write_reg_mask(client, regmask, val)
 

Functions

 MODULE_DEVICE_TABLE (i2c, tcm825x_id)
 
 late_initcall (tcm825x_init)
 
 module_exit (tcm825x_exit)
 
 MODULE_AUTHOR ("Sakari Ailus <[email protected]>")
 
 MODULE_DESCRIPTION ("TCM825x camera sensor driver")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define DEFAULT_FPS   MAX_HALF_FPS

Definition at line 43 of file tcm825x.c.

#define HIGH_FPS_MODE_LOWER_LIMIT   14

Definition at line 42 of file tcm825x.c.

#define MAX_FPS   30

Definition at line 39 of file tcm825x.c.

#define MAX_HALF_FPS   (MAX_FPS / 2)

Definition at line 41 of file tcm825x.c.

#define MIN_FPS   8

Definition at line 40 of file tcm825x.c.

#define TCM825X_NUM_CAPTURE_FORMATS   ARRAY_SIZE(tcm825x_formats)

Definition at line 74 of file tcm825x.c.

#define tcm825x_write_reg_mask (   client,
  regmask,
  val 
)
Value:
__tcm825x_write_reg_mask(client, TCM825X_ADDR((regmask)), val, \

Definition at line 336 of file tcm825x.c.

#define V4L2_CID_ALC   V4L2_CID_PRIVATE_BASE

Definition at line 91 of file tcm825x.c.

#define V4L2_CID_H_EDGE_EN   V4L2_CID_PRIVATE_BASE + 1

Definition at line 92 of file tcm825x.c.

#define V4L2_CID_LAST_PRIV   V4L2_CID_MAX_EXPOSURE_TIME

Definition at line 96 of file tcm825x.c.

#define V4L2_CID_LENS   V4L2_CID_PRIVATE_BASE + 3

Definition at line 94 of file tcm825x.c.

#define V4L2_CID_MAX_EXPOSURE_TIME   V4L2_CID_PRIVATE_BASE + 4

Definition at line 95 of file tcm825x.c.

#define V4L2_CID_V_EDGE_EN   V4L2_CID_PRIVATE_BASE + 2

Definition at line 93 of file tcm825x.c.

Function Documentation

late_initcall ( tcm825x_init  )
MODULE_AUTHOR ( "Sakari Ailus <[email protected]>"  )
MODULE_DESCRIPTION ( "TCM825x camera sensor driver )
MODULE_DEVICE_TABLE ( i2c  ,
tcm825x_id   
)
module_exit ( tcm825x_exit  )
MODULE_LICENSE ( "GPL"  )