Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
imx074.c File Reference
#include <linux/delay.h>
#include <linux/i2c.h>
#include <linux/v4l2-mediabus.h>
#include <linux/slab.h>
#include <linux/videodev2.h>
#include <linux/module.h>
#include <media/soc_camera.h>
#include <media/v4l2-subdev.h>
#include <media/v4l2-chip-ident.h>

Go to the source code of this file.

Data Structures

struct  imx074_datafmt
 
struct  imx074
 

Macros

#define MODE_SELECT   0x0100
 
#define IMAGE_ORIENTATION   0x0101
 
#define GROUPED_PARAMETER_HOLD   0x0104
 
#define COARSE_INTEGRATION_TIME_HI   0x0202
 
#define COARSE_INTEGRATION_TIME_LO   0x0203
 
#define ANALOGUE_GAIN_CODE_GLOBAL_HI   0x0204
 
#define ANALOGUE_GAIN_CODE_GLOBAL_LO   0x0205
 
#define PRE_PLL_CLK_DIV   0x0305
 
#define PLL_MULTIPLIER   0x0307
 
#define PLSTATIM   0x302b
 
#define VNDMY_ABLMGSHLMT   0x300a
 
#define Y_OPBADDR_START_DI   0x3014
 
#define FRAME_LENGTH_LINES_HI   0x0340
 
#define FRAME_LENGTH_LINES_LO   0x0341
 
#define LINE_LENGTH_PCK_HI   0x0342
 
#define LINE_LENGTH_PCK_LO   0x0343
 
#define YADDR_START   0x0347
 
#define YADDR_END   0x034b
 
#define X_OUTPUT_SIZE_MSB   0x034c
 
#define X_OUTPUT_SIZE_LSB   0x034d
 
#define Y_OUTPUT_SIZE_MSB   0x034e
 
#define Y_OUTPUT_SIZE_LSB   0x034f
 
#define X_EVEN_INC   0x0381
 
#define X_ODD_INC   0x0383
 
#define Y_EVEN_INC   0x0385
 
#define Y_ODD_INC   0x0387
 
#define HMODEADD   0x3001
 
#define VMODEADD   0x3016
 
#define VAPPLINE_START   0x3069
 
#define VAPPLINE_END   0x306b
 
#define SHUTTER   0x3086
 
#define HADDAVE   0x30e8
 
#define LANESEL   0x3301
 
#define IMX074_WIDTH   1052
 
#define IMX074_HEIGHT   780
 

Functions

 MODULE_DEVICE_TABLE (i2c, imx074_id)
 
 module_i2c_driver (imx074_i2c_driver)
 
 MODULE_DESCRIPTION ("Sony IMX074 Camera driver")
 
 MODULE_AUTHOR ("Guennadi Liakhovetski <[email protected]>")
 
 MODULE_LICENSE ("GPL v2")
 

Macro Definition Documentation

#define ANALOGUE_GAIN_CODE_GLOBAL_HI   0x0204

Definition at line 34 of file imx074.c.

#define ANALOGUE_GAIN_CODE_GLOBAL_LO   0x0205

Definition at line 35 of file imx074.c.

#define COARSE_INTEGRATION_TIME_HI   0x0202

Definition at line 31 of file imx074.c.

#define COARSE_INTEGRATION_TIME_LO   0x0203

Definition at line 32 of file imx074.c.

#define FRAME_LENGTH_LINES_HI   0x0340

Definition at line 44 of file imx074.c.

#define FRAME_LENGTH_LINES_LO   0x0341

Definition at line 45 of file imx074.c.

#define GROUPED_PARAMETER_HOLD   0x0104

Definition at line 28 of file imx074.c.

#define HADDAVE   0x30e8

Definition at line 64 of file imx074.c.

#define HMODEADD   0x3001

Definition at line 59 of file imx074.c.

#define IMAGE_ORIENTATION   0x0101

Definition at line 27 of file imx074.c.

#define IMX074_HEIGHT   780

Definition at line 69 of file imx074.c.

#define IMX074_WIDTH   1052

Definition at line 68 of file imx074.c.

#define LANESEL   0x3301

Definition at line 65 of file imx074.c.

#define LINE_LENGTH_PCK_HI   0x0342

Definition at line 46 of file imx074.c.

#define LINE_LENGTH_PCK_LO   0x0343

Definition at line 47 of file imx074.c.

#define MODE_SELECT   0x0100

Definition at line 26 of file imx074.c.

#define PLL_MULTIPLIER   0x0307

Definition at line 39 of file imx074.c.

#define PLSTATIM   0x302b

Definition at line 40 of file imx074.c.

#define PRE_PLL_CLK_DIV   0x0305

Definition at line 38 of file imx074.c.

#define SHUTTER   0x3086

Definition at line 63 of file imx074.c.

#define VAPPLINE_END   0x306b

Definition at line 62 of file imx074.c.

#define VAPPLINE_START   0x3069

Definition at line 61 of file imx074.c.

#define VMODEADD   0x3016

Definition at line 60 of file imx074.c.

#define VNDMY_ABLMGSHLMT   0x300a

Definition at line 41 of file imx074.c.

#define X_EVEN_INC   0x0381

Definition at line 54 of file imx074.c.

#define X_ODD_INC   0x0383

Definition at line 55 of file imx074.c.

#define X_OUTPUT_SIZE_LSB   0x034d

Definition at line 51 of file imx074.c.

#define X_OUTPUT_SIZE_MSB   0x034c

Definition at line 50 of file imx074.c.

#define Y_EVEN_INC   0x0385

Definition at line 56 of file imx074.c.

#define Y_ODD_INC   0x0387

Definition at line 57 of file imx074.c.

#define Y_OPBADDR_START_DI   0x3014

Definition at line 42 of file imx074.c.

#define Y_OUTPUT_SIZE_LSB   0x034f

Definition at line 53 of file imx074.c.

#define Y_OUTPUT_SIZE_MSB   0x034e

Definition at line 52 of file imx074.c.

#define YADDR_END   0x034b

Definition at line 49 of file imx074.c.

#define YADDR_START   0x0347

Definition at line 48 of file imx074.c.

Function Documentation

MODULE_AUTHOR ( "Guennadi Liakhovetski <[email protected]>"  )
MODULE_DESCRIPTION ( "Sony IMX074 Camera driver )
MODULE_DEVICE_TABLE ( i2c  ,
imx074_id   
)
module_i2c_driver ( imx074_i2c_driver  )
MODULE_LICENSE ( "GPL v2 )