|
Linux Kernel
3.7.1
|
#include <linux/delay.h>#include <linux/gpio.h>#include <linux/i2c.h>#include <linux/slab.h>#include <linux/regulator/consumer.h>#include <media/noon010pc30.h>#include <media/v4l2-chip-ident.h>#include <linux/videodev2.h>#include <linux/module.h>#include <media/v4l2-ctrls.h>#include <media/v4l2-device.h>#include <media/v4l2-mediabus.h>#include <media/v4l2-subdev.h>Go to the source code of this file.
Data Structures | |
| struct | noon010_format |
| struct | noon010_frmsize |
| struct | noon010_info |
| struct | i2c_regval |
Macros | |
| #define | MODULE_NAME "NOON010PC30" |
| #define | POWER_CTRL_REG 0x0001 |
| #define | PAGEMODE_REG 0x03 |
| #define | DEVICE_ID_REG 0x0004 |
| #define | NOON010PC30_ID 0x86 |
| #define | VDO_CTL_REG(n) (0x0010 + (n)) |
| #define | SYNC_CTL_REG 0x0012 |
| #define | WIN_ROWH_REG 0x0013 |
| #define | WIN_ROWL_REG 0x0014 |
| #define | WIN_COLH_REG 0x0015 |
| #define | WIN_COLL_REG 0x0016 |
| #define | WIN_HEIGHTH_REG 0x0017 |
| #define | WIN_HEIGHTL_REG 0x0018 |
| #define | WIN_WIDTHH_REG 0x0019 |
| #define | WIN_WIDTHL_REG 0x001A |
| #define | HBLANKH_REG 0x001B |
| #define | HBLANKL_REG 0x001C |
| #define | VSYNCH_REG 0x001D |
| #define | VSYNCL_REG 0x001E |
| #define | VS_CTL_REG(n) (0x00A1 + (n)) |
| #define | ISP_CTL_REG(n) (0x0110 + (n)) |
| #define | YOFS_REG 0x0119 |
| #define | DARK_YOFS_REG 0x011A |
| #define | SAT_CTL_REG 0x0120 |
| #define | BSAT_REG 0x0121 |
| #define | RSAT_REG 0x0122 |
| #define | CMC_CTL_REG 0x0130 |
| #define | CMC_OFSGH_REG 0x0133 |
| #define | CMC_OFSGL_REG 0x0135 |
| #define | CMC_SIGN_REG 0x0136 |
| #define | CMC_GOFS_REG 0x0137 |
| #define | CMC_COEF_REG(n) (0x0138 + (n)) |
| #define | CMC_OFS_REG(n) (0x0141 + (n)) |
| #define | GMA_CTL_REG 0x0160 |
| #define | GMA_COEF_REG(n) (0x0161 + (n)) |
| #define | LENS_CTRL_REG 0x01D0 |
| #define | LENS_XCEN_REG 0x01D1 |
| #define | LENS_YCEN_REG 0x01D2 |
| #define | LENS_RC_REG 0x01D3 |
| #define | LENS_GC_REG 0x01D4 |
| #define | LENS_BC_REG 0x01D5 |
| #define | L_AGON_REG 0x01D6 |
| #define | L_AGOFF_REG 0x01D7 |
| #define | AE_CTL_REG(n) (0x0310 + (n)) |
| #define | AE_CTL9_REG 0x032C |
| #define | AE_CTL10_REG 0x032D |
| #define | AE_YLVL_REG 0x031C |
| #define | AE_YTH_REG(n) (0x031D + (n)) |
| #define | AE_WGT_REG 0x0326 |
| #define | EXP_TIMEH_REG 0x0333 |
| #define | EXP_TIMEM_REG 0x0334 |
| #define | EXP_TIMEL_REG 0x0335 |
| #define | EXP_MMINH_REG 0x0336 |
| #define | EXP_MMINL_REG 0x0337 |
| #define | EXP_MMAXH_REG 0x0338 |
| #define | EXP_MMAXM_REG 0x0339 |
| #define | EXP_MMAXL_REG 0x033A |
| #define | AWB_CTL_REG(n) (0x0410 + (n)) |
| #define | AWB_ENABE 0x80 |
| #define | AWB_WGHT_REG 0x0419 |
| #define | BGAIN_PAR_REG(n) (0x044F + (n)) |
| #define | MWB_RGAIN_REG 0x0466 |
| #define | MWB_BGAIN_REG 0x0467 |
| #define | REG_TERM 0xFFFF |
| #define | NOON010_NUM_SUPPLIES ARRAY_SIZE(noon010_supply_name) |
Functions | |
| module_param (debug, int, 0644) | |
| MODULE_PARM_DESC (debug,"Enable module debug trace. Set to 1 to enable.") | |
| MODULE_DEVICE_TABLE (i2c, noon010_id) | |
| module_i2c_driver (noon010_i2c_driver) | |
| MODULE_DESCRIPTION ("Siliconfile NOON010PC30 camera driver") | |
| MODULE_AUTHOR ("Sylwester Nawrocki <[email protected]>") | |
| MODULE_LICENSE ("GPL") | |
| #define AE_CTL10_REG 0x032D |
Definition at line 91 of file noon010pc30.c.
| #define AE_CTL9_REG 0x032C |
Definition at line 90 of file noon010pc30.c.
| #define AE_CTL_REG | ( | n | ) | (0x0310 + (n)) |
Definition at line 89 of file noon010pc30.c.
| #define AE_WGT_REG 0x0326 |
Definition at line 94 of file noon010pc30.c.
| #define AE_YLVL_REG 0x031C |
Definition at line 92 of file noon010pc30.c.
| #define AE_YTH_REG | ( | n | ) | (0x031D + (n)) |
Definition at line 93 of file noon010pc30.c.
| #define AWB_CTL_REG | ( | n | ) | (0x0410 + (n)) |
Definition at line 104 of file noon010pc30.c.
| #define AWB_ENABE 0x80 |
Definition at line 105 of file noon010pc30.c.
| #define AWB_WGHT_REG 0x0419 |
Definition at line 106 of file noon010pc30.c.
| #define BGAIN_PAR_REG | ( | n | ) | (0x044F + (n)) |
Definition at line 107 of file noon010pc30.c.
| #define BSAT_REG 0x0121 |
Definition at line 66 of file noon010pc30.c.
| #define CMC_COEF_REG | ( | n | ) | (0x0138 + (n)) |
Definition at line 74 of file noon010pc30.c.
| #define CMC_CTL_REG 0x0130 |
Definition at line 69 of file noon010pc30.c.
| #define CMC_GOFS_REG 0x0137 |
Definition at line 73 of file noon010pc30.c.
| #define CMC_OFS_REG | ( | n | ) | (0x0141 + (n)) |
Definition at line 75 of file noon010pc30.c.
| #define CMC_OFSGH_REG 0x0133 |
Definition at line 70 of file noon010pc30.c.
| #define CMC_OFSGL_REG 0x0135 |
Definition at line 71 of file noon010pc30.c.
| #define CMC_SIGN_REG 0x0136 |
Definition at line 72 of file noon010pc30.c.
| #define DARK_YOFS_REG 0x011A |
Definition at line 64 of file noon010pc30.c.
| #define DEVICE_ID_REG 0x0004 |
Definition at line 42 of file noon010pc30.c.
| #define EXP_MMAXH_REG 0x0338 |
Definition at line 100 of file noon010pc30.c.
| #define EXP_MMAXL_REG 0x033A |
Definition at line 102 of file noon010pc30.c.
| #define EXP_MMAXM_REG 0x0339 |
Definition at line 101 of file noon010pc30.c.
| #define EXP_MMINH_REG 0x0336 |
Definition at line 98 of file noon010pc30.c.
| #define EXP_MMINL_REG 0x0337 |
Definition at line 99 of file noon010pc30.c.
| #define EXP_TIMEH_REG 0x0333 |
Definition at line 95 of file noon010pc30.c.
| #define EXP_TIMEL_REG 0x0335 |
Definition at line 97 of file noon010pc30.c.
| #define EXP_TIMEM_REG 0x0334 |
Definition at line 96 of file noon010pc30.c.
| #define GMA_COEF_REG | ( | n | ) | (0x0161 + (n)) |
Definition at line 78 of file noon010pc30.c.
| #define GMA_CTL_REG 0x0160 |
Definition at line 77 of file noon010pc30.c.
| #define HBLANKH_REG 0x001B |
Definition at line 55 of file noon010pc30.c.
| #define HBLANKL_REG 0x001C |
Definition at line 56 of file noon010pc30.c.
| #define ISP_CTL_REG | ( | n | ) | (0x0110 + (n)) |
Definition at line 62 of file noon010pc30.c.
| #define L_AGOFF_REG 0x01D7 |
Definition at line 87 of file noon010pc30.c.
| #define L_AGON_REG 0x01D6 |
Definition at line 86 of file noon010pc30.c.
| #define LENS_BC_REG 0x01D5 |
Definition at line 85 of file noon010pc30.c.
| #define LENS_CTRL_REG 0x01D0 |
Definition at line 80 of file noon010pc30.c.
| #define LENS_GC_REG 0x01D4 |
Definition at line 84 of file noon010pc30.c.
| #define LENS_RC_REG 0x01D3 |
Definition at line 83 of file noon010pc30.c.
| #define LENS_XCEN_REG 0x01D1 |
Definition at line 81 of file noon010pc30.c.
| #define LENS_YCEN_REG 0x01D2 |
Definition at line 82 of file noon010pc30.c.
| #define MODULE_NAME "NOON010PC30" |
Definition at line 34 of file noon010pc30.c.
| #define MWB_BGAIN_REG 0x0467 |
Definition at line 110 of file noon010pc30.c.
| #define MWB_RGAIN_REG 0x0466 |
Definition at line 109 of file noon010pc30.c.
| #define NOON010_NUM_SUPPLIES ARRAY_SIZE(noon010_supply_name) |
Definition at line 131 of file noon010pc30.c.
| #define NOON010PC30_ID 0x86 |
Definition at line 43 of file noon010pc30.c.
| #define PAGEMODE_REG 0x03 |
Definition at line 41 of file noon010pc30.c.
| #define POWER_CTRL_REG 0x0001 |
Definition at line 40 of file noon010pc30.c.
| #define REG_TERM 0xFFFF |
Definition at line 113 of file noon010pc30.c.
| #define RSAT_REG 0x0122 |
Definition at line 67 of file noon010pc30.c.
| #define SAT_CTL_REG 0x0120 |
Definition at line 65 of file noon010pc30.c.
| #define SYNC_CTL_REG 0x0012 |
Definition at line 45 of file noon010pc30.c.
| #define VDO_CTL_REG | ( | n | ) | (0x0010 + (n)) |
Definition at line 44 of file noon010pc30.c.
| #define VS_CTL_REG | ( | n | ) | (0x00A1 + (n)) |
Definition at line 60 of file noon010pc30.c.
| #define VSYNCH_REG 0x001D |
Definition at line 57 of file noon010pc30.c.
| #define VSYNCL_REG 0x001E |
Definition at line 58 of file noon010pc30.c.
| #define WIN_COLH_REG 0x0015 |
Definition at line 49 of file noon010pc30.c.
| #define WIN_COLL_REG 0x0016 |
Definition at line 50 of file noon010pc30.c.
| #define WIN_HEIGHTH_REG 0x0017 |
Definition at line 51 of file noon010pc30.c.
| #define WIN_HEIGHTL_REG 0x0018 |
Definition at line 52 of file noon010pc30.c.
| #define WIN_ROWH_REG 0x0013 |
Definition at line 47 of file noon010pc30.c.
| #define WIN_ROWL_REG 0x0014 |
Definition at line 48 of file noon010pc30.c.
| #define WIN_WIDTHH_REG 0x0019 |
Definition at line 53 of file noon010pc30.c.
| #define WIN_WIDTHL_REG 0x001A |
Definition at line 54 of file noon010pc30.c.
| #define YOFS_REG 0x0119 |
Definition at line 63 of file noon010pc30.c.
| MODULE_AUTHOR | ( | "Sylwester Nawrocki <[email protected]>" | ) |
| MODULE_DESCRIPTION | ( | "Siliconfile NOON010PC30 camera driver" | ) |
| MODULE_DEVICE_TABLE | ( | i2c | , |
| noon010_id | |||
| ) |
| module_i2c_driver | ( | noon010_i2c_driver | ) |
| MODULE_LICENSE | ( | "GPL" | ) |
1.8.2