Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
isph3a.h File Reference
#include <linux/omap3isp.h>

Go to the source code of this file.

Macros

#define AEWB_PACKET_SIZE   16
 
#define AEWB_SATURATION_LIMIT   0x3ff
 
#define PCR_CHNG   (1 << 0)
 
#define AEWWIN1_CHNG   (1 << 1)
 
#define AEWINSTART_CHNG   (1 << 2)
 
#define AEWINBLK_CHNG   (1 << 3)
 
#define AEWSUBWIN_CHNG   (1 << 4)
 
#define PRV_WBDGAIN_CHNG   (1 << 5)
 
#define PRV_WBGAIN_CHNG   (1 << 6)
 
#define ISPH3A_PCR_AF_EN   (1 << 0)
 
#define ISPH3A_PCR_AF_ALAW_EN   (1 << 1)
 
#define ISPH3A_PCR_AF_MED_EN   (1 << 2)
 
#define ISPH3A_PCR_AF_BUSY   (1 << 15)
 
#define ISPH3A_PCR_AEW_EN   (1 << 16)
 
#define ISPH3A_PCR_AEW_ALAW_EN   (1 << 17)
 
#define ISPH3A_PCR_AEW_BUSY   (1 << 18)
 
#define ISPH3A_PCR_AEW_MASK
 
#define AFPID   0x0
 
#define AFCOEF_OFFSET   0x00000004 /* COEF base address */
 
#define AF_BUSYAF   (1 << 15)
 
#define AF_FVMODE   (1 << 14)
 
#define AF_RGBPOS   (0x7 << 11)
 
#define AF_MED_TH   (0xFF << 3)
 
#define AF_MED_EN   (1 << 2)
 
#define AF_ALAW_EN   (1 << 1)
 
#define AF_EN   (1 << 0)
 
#define AF_PCR_MASK
 
#define AF_PAXW   (0x7F << 16)
 
#define AF_PAXH   0x7F
 
#define AF_AFINCV   (0xF << 13)
 
#define AF_PAXVC   (0x7F << 6)
 
#define AF_PAXHC   0x3F
 
#define AF_PAXSH   (0xFFF<<16)
 
#define AF_PAXSV   0xFFF
 
#define AF_COEF_MASK0   0xFFF
 
#define AF_COEF_MASK1   (0xFFF<<16)
 
#define AF_RGBPOS_SHIFT   11
 
#define AF_MED_TH_SHIFT   3
 
#define AF_PAXW_SHIFT   16
 
#define AF_LINE_INCR_SHIFT   13
 
#define AF_VT_COUNT_SHIFT   6
 
#define AF_HZ_START_SHIFT   16
 
#define AF_COEF_SHIFT   16
 

Functions

int omap3isp_h3a_aewb_init (struct isp_device *isp)
 
int omap3isp_h3a_af_init (struct isp_device *isp)
 
void omap3isp_h3a_aewb_cleanup (struct isp_device *isp)
 
void omap3isp_h3a_af_cleanup (struct isp_device *isp)
 

Macro Definition Documentation

#define AEWB_PACKET_SIZE   16

Definition at line 39 of file isph3a.h.

#define AEWB_SATURATION_LIMIT   0x3ff

Definition at line 40 of file isph3a.h.

#define AEWINBLK_CHNG   (1 << 3)

Definition at line 46 of file isph3a.h.

#define AEWINSTART_CHNG   (1 << 2)

Definition at line 45 of file isph3a.h.

#define AEWSUBWIN_CHNG   (1 << 4)

Definition at line 47 of file isph3a.h.

#define AEWWIN1_CHNG   (1 << 1)

Definition at line 44 of file isph3a.h.

#define AF_AFINCV   (0xF << 13)

Definition at line 89 of file isph3a.h.

#define AF_ALAW_EN   (1 << 1)

Definition at line 79 of file isph3a.h.

#define AF_BUSYAF   (1 << 15)

Definition at line 74 of file isph3a.h.

#define AF_COEF_MASK0   0xFFF

Definition at line 98 of file isph3a.h.

#define AF_COEF_MASK1   (0xFFF<<16)

Definition at line 99 of file isph3a.h.

#define AF_COEF_SHIFT   16

Definition at line 108 of file isph3a.h.

#define AF_EN   (1 << 0)

Definition at line 80 of file isph3a.h.

#define AF_FVMODE   (1 << 14)

Definition at line 75 of file isph3a.h.

#define AF_HZ_START_SHIFT   16

Definition at line 107 of file isph3a.h.

#define AF_LINE_INCR_SHIFT   13

Definition at line 105 of file isph3a.h.

#define AF_MED_EN   (1 << 2)

Definition at line 78 of file isph3a.h.

#define AF_MED_TH   (0xFF << 3)

Definition at line 77 of file isph3a.h.

#define AF_MED_TH_SHIFT   3

Definition at line 103 of file isph3a.h.

#define AF_PAXH   0x7F

Definition at line 86 of file isph3a.h.

#define AF_PAXHC   0x3F

Definition at line 91 of file isph3a.h.

#define AF_PAXSH   (0xFFF<<16)

Definition at line 94 of file isph3a.h.

#define AF_PAXSV   0xFFF

Definition at line 95 of file isph3a.h.

#define AF_PAXVC   (0x7F << 6)

Definition at line 90 of file isph3a.h.

#define AF_PAXW   (0x7F << 16)

Definition at line 85 of file isph3a.h.

#define AF_PAXW_SHIFT   16

Definition at line 104 of file isph3a.h.

#define AF_PCR_MASK
Value:
AF_MED_EN | AF_ALAW_EN)

Definition at line 81 of file isph3a.h.

#define AF_RGBPOS   (0x7 << 11)

Definition at line 76 of file isph3a.h.

#define AF_RGBPOS_SHIFT   11

Definition at line 102 of file isph3a.h.

#define AF_VT_COUNT_SHIFT   6

Definition at line 106 of file isph3a.h.

#define AFCOEF_OFFSET   0x00000004 /* COEF base address */

Definition at line 71 of file isph3a.h.

#define AFPID   0x0

Definition at line 69 of file isph3a.h.

#define ISPH3A_PCR_AEW_ALAW_EN   (1 << 17)

Definition at line 57 of file isph3a.h.

#define ISPH3A_PCR_AEW_BUSY   (1 << 18)

Definition at line 58 of file isph3a.h.

#define ISPH3A_PCR_AEW_EN   (1 << 16)

Definition at line 56 of file isph3a.h.

#define ISPH3A_PCR_AEW_MASK
Value:
ISPH3A_PCR_AEW_AVE2LMT_MASK)

Definition at line 59 of file isph3a.h.

#define ISPH3A_PCR_AF_ALAW_EN   (1 << 1)

Definition at line 53 of file isph3a.h.

#define ISPH3A_PCR_AF_BUSY   (1 << 15)

Definition at line 55 of file isph3a.h.

#define ISPH3A_PCR_AF_EN   (1 << 0)

Definition at line 52 of file isph3a.h.

#define ISPH3A_PCR_AF_MED_EN   (1 << 2)

Definition at line 54 of file isph3a.h.

#define PCR_CHNG   (1 << 0)

Definition at line 43 of file isph3a.h.

#define PRV_WBDGAIN_CHNG   (1 << 5)

Definition at line 48 of file isph3a.h.

#define PRV_WBGAIN_CHNG   (1 << 6)

Definition at line 49 of file isph3a.h.

Function Documentation

void omap3isp_h3a_aewb_cleanup ( struct isp_device isp)

Definition at line 363 of file isph3a_aewb.c.

int omap3isp_h3a_aewb_init ( struct isp_device isp)

Definition at line 298 of file isph3a_aewb.c.

void omap3isp_h3a_af_cleanup ( struct isp_device isp)

Definition at line 418 of file isph3a_af.c.

int omap3isp_h3a_af_init ( struct isp_device isp)

Definition at line 361 of file isph3a_af.c.