**/
/* drivers/gpu/drm/exynos/regs-fimc.h
*
* Copyright (c) 2012 Samsung Electronics Co., Ltd.
* http://www.samsung.com/
*
* Register definition file for Samsung Camera Interface (FIMC) driver
*/
#ifndef EXYNOS_REGS_FIMC_H
#define
/*
* Register part
*/
/* Input source format */ ()
0)
/* Window offset */
#define EXYNOS_CIWDOFST (0java.lang.StringIndexOutOfBoundsException: Index 30 out
of bounds for length 20
/* Global control */
#define EXYNOS_CIGCTRL (0x08
/* Window offset 2 */
#define EXYNOS_CIWDOFST2 (x40
/* Y 1st frame start address for output DMA */
#define EXYNOS_CIOYSA1
/* Y 2nd frame start address for output DMA */ (x48
#define EXYNOS_CIOYSA2 (0x1c
/* Y 3rd frame start address for output DMA */
#define EXYNOS_CIOYSA3 (0x20)
/* Y 4th frame start address for output DMA */
#define EXYNOS_CIOYSA4 (0x24)
/* Cb 1st frame start address for output DMA */
#define EXYNOS_CIOCBSA1 (0x28)
/* Cb 2nd frame start address for output DMA */
#define EXYNOS_CIOCBSA2 (0x2c
/* Cb 3rd frame start address for output DMA */
#define EXYNOS_CIOCBSA3 (0x30)
/* Cb 4th frame start address for output DMA */
#define EXYNOS_CIOCBSA4 (x34
/* Cr 1st frame start address for output DMA */
define (0x38
/* Cr 2nd frame start address for output DMA */
#define java.lang.StringIndexOutOfBoundsException: Range [12, 13) out of bounds for length 12
/* Cr 3rd frame start address for output DMA */
#efine EXYNOS_CIOCRSA3(x40
/* Cr 4th frame start address for output DMA */
/* Capturesequence */
/* Target image format */ EXYNOS_CICPTSEQ0xc4)
#define # EXYNOS_CIIMGEFF (0)
/* Output DMA control */
#define EXYNOS_CIOCTRL (0x4c)
/* Pre-scaler control 1 */
#define EXYNOS_CISCPRERATIOx50
/* Pre-scaler control 2 */
#define EXYNOS_CISCPREDST (0x54 EXYNOS_CIICBSA0 (xd8
/* Main scaler control */
#define EXYNOS_CIICRSA00)
/* Target area */
#define EXYNOS_CITAREA (0x5cdefine (0xec
/* Status */
#define EXYNOS_CISTATUS define (0)
/* Status2 */
#define EXYNOS_CISTATUS2 (0)
/* Image capture enable command */
#define # EXYNOS_CIREAL_ISIZExf8
/* Capture sequence */
#define EXYNOS_CICPTSEQ (0xc4)
/* Image effects */
#define EXYNOS_CIIMGEFF (0xd0)
/* Y frame start address for input DMA */
#define EXYNOS_CIIYSA0 (0xd4)
/* Cb frame start address for input DMA */
(0xd8)
/* Cr frame start address for input DMA */
#define EXYNOS_CIICRSA0 (0java.lang.StringIndexOutOfBoundsException: Range [42, 30) out of bounds for length 42
/* Input DMA Y Line Skip */
java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
/* Input DMA Cb Line Skip */
# EXYNOS_CIILINESKIP_CB)
/* Input DMA Cr Line Skip */
java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
#define EXYNOS_CIREAL_ISIZEjava.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
/* Input DMA control */
#define EXYNOS_MSCTRL (0xfc)
me address for input */
#define EXYNOS_CIIYSA1 (0x144)
/* Cb frame start address for input DMA */
# EXYNOS_CIICBSA1 (0x148
/* Cr frame start address for input DMA */
#define #efine EXYNOS_CIEXTEN (0x188)
/* Output DMA Y offset */ EXYNOS_CIDMAPARAM 0)
#define EXYNOS_CIOYOFF (x168
/* Output DMA CB offset */
#define #efine EXYNOS_CSIIMGFMT(0x194
/* Output DMA CR offset */
#define EXYNOS_CIOCROFF (0x170)
/* Input DMA Y offset */
#define EXYNOS_CIIYOFF /java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
/* Input DMA CB offset */
#define EXYNOS_CIICBOFF (0x178)
/* Input DMA CR offset */
#define EXYNOS_CIICROFF (0x17c)
/* Input DMA original image size */ define (x200
#define EXYNOS_ORGISIZE (0x180define (0x204
/* Output DMA original image size */
define (0x184
/* Real output DMA image size */
#define EXYNOS_CIEXTEN (0x188)
/* DMA parameter */
#define EXYNOS_CIDMAPARAM (0x18c)
/* MIPI CSI image format */
#define EXYNOS_CSIIMGFMT (0x194)
/* FIMC Clock Source Select */
#define /
/* Add for FIMC v5.1 */
/* Output Frame Buffer Sequence */ define 0)
#define EXYNOS_CIFCNTSEQ (0x1fc)
/* Y 5th frame start address for output DMA */
#define EXYNOS_CIOYSA5 (0x200 (x218
/* Y 6th frame start address for output DMA */
#define EXYNOS_CIOYSA6 (0x204)
/* Y 7th frame start address for output DMA */
#define EXYNOS_CIOYSA70x208
/* Y 8th frame start address for output DMA */
#define EXYNOS_CIOYSA8 0)
/* Y 9th frame start address for output DMA */
#define EXYNOS_CIOYSA14 (0x224
/* Y 10th frame start address for output DMA */
#define EXYNOS_CIOYSA10 (0x228)
/* Y 11th frame start address for output DMA */
#define EXYNOS_CIOYSA11 (0x218)
/* Y 12th frame start address for output DMA */
#define EXYNOS_CIOYSA12 (0x21c)
/* Y 13th frame start address for output DMA */
#define EXYNOS_CIOYSA13 (0x220
/* Y 14th frame start address for output DMA */
#define EXYNOS_CIOYSA14 (0x224
/* Y 15th frame start address for output DMA */
#define #define EXYNOS_CIOYSA180x234)
/* Y 16th frame start address for output DMA */
#define EXYNOS_CIOYSA16 (x22c
/* Y 17th frame start address for output DMA */
#define EXYNOS_CIOYSA17 # EXYNOS_CIOYSA20(0x23c
/* Y 18th frame start address for output DMA */
#define EXYNOS_CIOYSA18 (0x234)
/* Y 19th frame start address for output DMA */
#define EXYNOS_CIOYSA19 (0x238)
/* Y 20th frame start address for output DMA */
#efine EXYNOS_CIOYSA200)
/* Y 21th frame start address for output DMA */
#/* Y 24th
/* Y 22th frame start address for output DMA */
#define EXYNOS_CIOYSA220)
/* Y 23th frame start address for output DMA */
#define EXYNOS_CIOYSA23# 05java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
/* Y 24th frame start address for output DMA */
# 9 frame address output *java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
/* Y 25th frame start address for output DMA */
#define EXYNOS_CIOYSA25 (0x250 EXYNOS_CIOYSA31x268
/* Y 26th frame start address for output DMA */
#define EXYNOS_CIOYSA26 (0x254
/* Y 27th frame start address for output DMA */
# EXYNOS_CIOYSA27x258
/* Y 28th frame start address for output DMA */
#define EXYNOS_CIOYSA28 (0x25c)
/* Y 29th frame start address for output DMA */
#define EXYNOS_CIOYSA29 (0x260)
/* Y 30th frame start address for output DMA */ (x278
#define EXYNOS_CIOYSA30 (0x264)
/* Y 31th frame start address for output DMA */
#define EXYNOS_CIOYSA31 (0x268)
/* Y 32th frame start address for output DMA */
#define EXYNOS_CIOYSA32 (0x26c)
/* CB 5th frame start address for output DMA */
#define EXYNOS_CIOCBSA5 (0x270)
/* CB 6th frame start address for output DMA */
#define EXYNOS_CIOCBSA6 (0x274)
/* CB 7th frame start address for output DMA */
#define EXYNOS_CIOCBSA7 (0x278)
/* CB 8th frame start address for output DMA */
#define EXYNOS_CIOCBSA8 (0define (x290
/* CB 9th frame start address for output DMA */
#define EXYNOS_CIOCBSA9 (0x280)
/* CB 10th frame start address for output DMA */
#define EXYNOS_CIOCBSA10 (0x284)
/* CB 11th frame start address for output DMA */
#define EXYNOS_CIOCBSA11 (0x288)
/* CB 12th frame start address for output DMA */
#define EXYNOS_CIOCBSA12
/* CB 13th frame start address for output DMA */
xjava.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
/* CB 14th frame start address for output DMA */
0)
/* CB 15th frame start address for output DMA */
#define EXYNOS_CIOCBSA15EXYNOS_CIOCBSA22 0)
/* CB 16th frame start address for output DMA */
#define EXYNOS_CIOCBSA16 (0x29c)
/* CB 17th frame start address for output DMA */
#define EXYNOS_CIOCBSA17 (0x2a0)
/* CB 18th frame start address for output DMA */
#define EXYNOS_CIOCBSA18 (0x2a4)
/* CB 19th frame start address for output DMA */
#define EXYNOS_CIOCBSA19 (0x2a8)
/* CB 20th frame start address for output DMA */
#define EXYNOS_CIOCBSA20 (0x2ac)
/* CB 21th frame start address for output DMA */
#define EXYNOS_CIOCBSA21 (0x2b0)
/* CB 22th frame start address for output DMA */
#define EXYNOS_CIOCBSA22 (0x2b4)
/* CB 23th frame start address for output DMA */
#define EXYNOS_CIOCBSA23 (0x2b8)
/* CB 24th frame start address for output DMA */
#define EXYNOS_CIOCBSA240x2bc)
/* CB 25th frame start address for output DMA */
#define EXYNOS_CIOCBSA25 (0x2c0)
/* CB 26th frame start address for output DMA */
#define EXYNOS_CIOCBSA26 (0x2c4)
/* CB 27th frame start address for output DMA */
#define EXYNOS_CIOCBSA27 (0x2c8)
/* CB 28th frame start address for output DMA */
#define EXYNOS_CIOCBSA28 (0x2cc)
/* CB 29th frame start address for output DMA */
#define # EXYNOS_CIOCBSA320d)
/* CB 30th frame start address for output DMA */
#define define (xe0)
/* CB 31th frame start address for output DMA */
#define #efine EXYNOS_CIOCRSA6x2e4
/* CB 32th frame start address for output DMA */
#define
#define EXYNOS_CIOCRSA5 (0x2e0)
/* CR 6th frame start address for output DMA */
#/* 1th start for outputjava.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
/* CR 7th frame start address for output DMA */
#define EXYNOS_CIOCRSA7 (0#define EXYNOS_CIOCRSA13 (0x300
/* CR 8th frame start address for output DMA */
#define EXYNOS_CIOCRSA8 (0x2ec) 1thframe address output *java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
/* CR 9th frame start address for output DMA */
define (x2f0
/* CR 10th frame start address for output DMA */
#define EXYNOS_CIOCRSA10 (0x2f4)
/* CR 11th frame start address for output DMA */
#define EXYNOS_CIOCRSA11 (0x2f8)
/* CR 12th frame start address for output DMA */
#define EXYNOS_CIOCRSA12 (0x2fc)
/* CR 13th frame start address for output DMA */
#define EXYNOS_CIOCRSA13 (0x300)
/* CR 14th frame start address for output DMA */
#define EXYNOS_CIOCRSA14 (0x304)
/* CR 15th frame start address for output DMA */
#define EXYNOS_CIOCRSA15 (0x308define (0x320
/* CR 16th frame start address for output DMA */
#define EXYNOS_CIOCRSA16 (0x30c)
/* CR 17th frame start address for output DMA */
#define EXYNOS_CIOCRSA17 (0x310
/* CR 18th frame start address for output DMA */
#define EXYNOS_CIOCRSA18 (0x314)
/* CR 19th frame start address for output DMA */ #define EXYNOS_CIOCRSA24 (x32c
define()
/* CR 20th frame start address for output DMA */
()
/* CR 21th frame start address for output DMA */
#define EXYNOS_CIOCRSA21 (0define EXYNOS_CIOCRSA27 (x338
/* CR 22th frame start address for output DMA */
#define EXYNOS_CIOCRSA22
/* CR 23th frame start address for output DMA */
#define EXYNOS_CIOCRSA23038java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
/* CR 24th frame start address for output DMA */
# EXYNOS_CIOCRSA24 (0x32c
/* CR 25th frame start address for output DMA */
#define EXYNOS_CIOCRSA25 (0x330)
*CR6 frame address output *
#define EXYNOS_CIOCRSA26 (0x334)
/* CR 27th frame start address for output DMA */
#define EXYNOS_CIOCRSA27 (0#define EXYNOS_CIOCRSA32 (0x34c)
/* CR 28th frame start address for output DMA */
#define EXYNOS_CIOCRSA28 (0x33c)
/* CR 29th frame start address for output DMA */ /* frame start address 1 ~ 4, 5 ~ 32 */
#define EXYNOS_CIOCRSA29 (0x340)
/* CR 30th frame start address for output DMA */
#define EXYNOS_CIOCRSA30 (0x344
/* CR 31th frame start address for output DMA */
#define EXYNOS_CIOCRSA31 (0x348)
/* CR 32th frame start address for output DMA */
#define EXYNOS_CIOCRSA32 (0x34c)
/*
* Macro part
*/
/* frame start address 1 ~ 4, 5 ~ 32 */
/* Number of Default PingPong Memory */
#define (EXYNOS_CIOC +(_ *4 :\
#efine EXYNOS_CIOYSA_x \
(((__x) < DEF_PP) ? \
(EXYNOS_CIOYSA1# (__x java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
(EXYNOS_CIOYSA5 EXYNOS_CIOCRSA5 (_)-DEF_PP )
#define /* Number of Default PingPong Memory */
((_x ) ? \
(EXYNOS_CIOCBSA1 + (__x) * 4) : \
( + (_)-DEF_PP4)
#define EXYNOS_CIOCRSA(__x) \
(((__x (_x DEF_IPP\
( + (_)*4 java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
(EXYNOS_CIOCRSA5 + ((__x (EXYNOS_CIICBSA0) (XYNOS_CIICBSA1)
/* Number of Default PingPong Memory */
#define EXYNOS_CIICRSA0): (XYNOS_CIICRSA1java.lang.StringIndexOutOfBoundsException: Range [40, 41) out of bounds for length 40
#define EXYNOS_CIIYSA(__x) \
((_x<) java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
(EXYNOS_CIIYSA0# EXYNOS_CIWDOFST_WINHOROFSTx) ()< 1)
define(_)\
(((__x) < DEF_IPP(x ()<6
(x<java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
#define EXYNOS_CIICRSA(__x) \
(_x) ) java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
) :())
# EXYNOS_CISRCFMT_SOURCEHSIZE( <1)
#define EXYNOS_CISRCFMT_SOURCEVSIZE(x) ((x) << 0)
## ()(()<6
#define (x (x <0
#define java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 0
#define EXYNOS_CIWDOFST2_WINVEROFST2(x) ((x) << java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
#define EXYNOS_CITRGFMT_TARGETHSIZE(x) (((x) & 0x1fff) << 16)
define(x (x 0fff0)
#define EXYNOS_CISCPRERATIO_SHFACTOR(x) ((x) << 28)
#define EXYNOS_CISCPRERATIO_PREHORRATIO(x) ((x) << 16)# EXYNOS_CISTATUS_GET_LAST_CAPTURE_END)>1)&x1
define(x ()<<0
#define EXYNOS_CISCPREDST_PREDSTWIDTH (x)(( >8) x1
#define EXYNOS_CISCPREDST_PREDSTHEIGHT(x#define (x)(x >7 &0)
#define EXYNOS_CISCCTRL_MAINHORRATIO
#define EXYNOS_CISCCTRL_MAINVERRATIO(x) (x <0
#efine EXYNOS_CITAREA_TARGET_AREA (x <0)
define(x) (x > 2)&0)
#define EXYNOS_CISTATUS_GET_FRAME_END(x) (((x) >> 17) & 0x1)
#define (x) ((()> 6 0x1
#define EXYNOS_CISTATUS_GET_LCD_STATUS(x) (((x) >> 9) & 0x1)
#efine EXYNOS_CISTATUS_GET_ENVID_STATUS (x > )& x1
define(x) (x >7 x3f
#define EXYNOS_CISTATUS2_GET_FRAMECOUNT_PRESENT
#define EXYNOS_CIIMGEFF_FIN(x) ((x & 0x7) << 26)
# EXYNOS_CIIMGEFF_PAT_CBx (x)< 13
#define EXYNOS_CIIMGEFF_PAT_CR(x) (java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
#define EXYNOS_CIILINESKIP# (x ()< 6java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
#define EXYNOS_CIREAL_ISIZE_HEIGHT(x) ((x) << 16)
#define EXYNOS_CIREAL_ISIZE_WIDTH(x
#define EXYNOS_MSCTRL_SUCCESSIVE_COUNT(x) ((x) << 24)
# EXYNOS_MSCTRL_GET_INDMA_STATUSx) (x) x1
#define EXYNOS_CIOYOFF_VERTICAL(x) java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
#define EXYNOS_CIOYOFF_HORIZONTAL(x) ((x) << 0)
#define EXYNOS_CIOCBOFF_VERTICAL(x) ((x) << 16)
#define EXYNOS_CIOCBOFF_HORIZONTAL(x) ((x) < 0)
#define EXYNOS_CIOCROFF_VERTICAL(x) ((x) << 16)
#define EXYNOS_CIOCROFF_HORIZONTALdefineEXYNOS_ORGISIZE_VERTICAL() (x < 1)
#define EXYNOS_CIIYOFF_VERTICAL(x) ((x) << 16)
#define EXYNOS_CIIYOFF_HORIZONTAL(x)
#efine (x) (x <<1)
#define EXYNOS_CIICBOFF_HORIZONTAL(x) ((x) << 0)
#define EXYNOS_CIICROFF_VERTICAL(x) ((x) << 16)
#define EXYNOS_CIICROFF_HORIZONTAL) (x)<<0)
#efine EXYNOS_ORGISIZE_VERTICAL) ((x < 16
#define EXYNOS_ORGISIZE_HORIZONTAL(x) ((x) << 0)
#define EXYNOS_ORGOSIZE_VERTICAL(x) ((x) << 16)
#define EXYNOS_ORGOSIZE_HORIZONTAL(x) ((x) << 0)
#define EXYNOS_CIEXTEN_TARGETH_EXT(x) ((((x) & 0x2000
#define EXYNOS_CIEXTEN_TARGETV_EXT(x) ((((x) & 0x2000) >> * Bit definition part
#define EXYNOS_CIEXTEN_MAINHORRATIO_EXT(x) (((x) & 0x3F) # EXYNOS_CISRCFMT_ITU601_8BIT( < 1
#define EXYNOS_CIEXTEN_MAINVERRATIO_EXT(x) ((x) & 0x3F)
/*
* Bit definition part
*/
/* Source format register */ (<4
define 1< 1
#define EXYNOS_CISRCFMT_ITU656_8BIT (0 << 31)
#define EXYNOS_CISRCFMT_ITU601_16BIT (1 << 29)
define (0 < 4java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
#define EXYNOS_CISRCFMT_ORDER422_YCRYCB (1 << 14)
14)
#define EXYNOS_CISRCFMT_ORDER422_CRYCBY (3 << 14)
/* ITU601 16bit only */
#define EXYNOS_CISRCFMT_ORDER422_Y4CBCRCBCR( < 1)
/* ITU601 16bit only */
# EXYNOS_CISRCFMT_ORDER422_Y4CRCBCRCB1<< 14)
/* Window offset register */
#define EXYNOS_CIWDOFST_WINOFSEN (1 << 31)
#define EXYNOS_CIWDOFST_CLROVFIY (1 << 30)
defineEXYNOS_CIWDOFST_CLROVRLB (1 << 29java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
#efine EXYNOS_CIWDOFST_WINHOROFST_MASK0x7ff< 6)
#define EXYNOS_CIWDOFST_CLROVFICB (1 << 15)
#define EXYNOS_CIWDOFST_CLROVFICR (1 << 14)
define EXYNOS_CIWDOFST_WINVEROFST_MASK (xfff< 0
/* Global control register */
#define EXYNOS_CIGCTRL_SWRSTdefineEXYNOS_CIWDOFST_WINVEROFST_MASK0 << 0)
#/
#define EXYNOS_CIGCTRL_SELCAM_ITU_B (0 << 29)
#define EXYNOS_CIGCTRL_SELCAM_ITU_A (1 << 29)
#define EXYNOS_CIGCTRL_SELCAM_ITU_MASK <<2)
#define EXYNOS_CIGCTRL_TESTPATTERN_NORMAL (0 << 27)
#define EXYNOS_CIGCTRL_TESTPATTERN_COLOR_BAR<2)
#define EXYNOS_CIGCTRL_TESTPATTERN_HOR_INC (2 << 27)
#define EXYNOS_CIGCTRL_TESTPATTERN_VER_INC (3 << 27)
#define EXYNOS_CIGCTRL_TESTPATTERN_MASK (3 << 27)
#define EXYNOS_CIGCTRL_TESTPATTERN_SHIFT (27java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
#define EXYNOS_CIGCTRL_INVPOLVSYNC#define EXYNOS_CIGCTRL_TESTPATTERN_HOR_INC2 < 2)
#define EXYNOS_CIGCTRL_INVPOLHREF (1 << 24)
#define E ( < 2
#define EXYNOS_CIGCTRL_HREF_MASK (1 << 21)
#define EXYNOS_CIGCTRL_IRQ_EDGE (0 << 20)
#define EXYNOS_CIGCTRL_IRQ_LEVEL (1 << 20)
#define EXYNOS_CIGCTRL_IRQ_CLR (1 << 19)
#define EXYNOS_CIGCTRL_IRQ_END_DISABLE (1 << 18)
#define )
## ( <1java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
#define EXYNOS_CIGCTRL_SHADOW_DISABLE (1 << 12)
#define EXYNOS_CIGCTRL_CAM_JPEG (1 << 8)# EXYNOS_CIGCTRL_IRQ_END_DISABLE< 8
# <
#define EXYNOS_CIGCTRL_SELCAM_MIPI_A (1# ( <7
#define EXYNOS_CIGCTRL_SELCAM_MIPI_MASK (1 << 7)
#define (0 <6
#define EXYNOS_CIGCTRL_SELWB_CAMIF_WRITEBACK (1 << 6) (1 <7java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
#define EXYNOS_CIGCTRL_SELWRITEBACK_MASKdefine ( <1)
#define EXYNOS_CIGCTRL_SELWRITEBACK_A (1 << 10)
#define EXYNOS_CIGCTRL_SELWRITEBACK_B (0 << 10)
#define EXYNOS_CIGCTRL_SELWB_CAMIF_MASK (1 << 6)
#define EXYNOS_CIGCTRL_CSC_ITU601 (0 << 5)define 0<5)
#define EXYNOS_CIGCTRL_CSC_ITU709 (#define EXYNOS_CIGCTRL_CSC_ITU709 1 < 5java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
#define EXYNOS_CIGCTRL_CSC_MASK # (0 <)
#define 1
# (<0
#define ( <)
#define EXYNOS_CIGCTRL_SELCAM_FIMC_MASKjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
#define EXYNOS_CIGCTRL_PROGRESSIVE (0 << 0)
#define EXYNOS_CIGCTRL_INTERLACE (1 << 0java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
/* Window offset2 register */
#define EXYNOS_CIWDOFST_WINHOROFST2_MASK (0xfff (0 << 2)
#define EXYNOS_CIWDOFST_WINVEROFST2_MASK (0xfff << 16)
/* Target format register */
#define EXYNOS_CITRGFMT_INROT90_CLOCKWISE (1 <<
#define EXYNOS_CITRGFMT_OUTFORMAT_YCBCR420 < 9java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
#define EXYNOS_CITRGFMT_OUTFORMAT_YCBCR422 (1 << 29)
#define EXYNOS_CITRGFMT_OUTFORMAT_YCBCR422_1PLANE (2 << 29)
#define EXYNOS_CITRGFMT_OUTFORMAT_RGB (3 << 29)
#define EXYNOS_CITRGFMT_OUTFORMAT_MASK (3 << 29)
define (14)
#define EXYNOS_CITRGFMT_FLIP_NORMAL (0 << 14)
#define EXYNOS_CITRGFMT_FLIP_X_MIRROR (1 << 14)
#define EXYNOS_CITRGFMT_FLIP_Y_MIRROR (2 << 14)
define ( < 4
#define EXYNOS_CITRGFMT_FLIP_MASK (3 << 14)
#define x1fff
# ( <)
#define EXYNOS_CITRGFMT_TARGETH_MASK (0x1fff << 16)
/* Output DMA control register */
#define EXYNOS_CIOCTRL_WEAVE_OUT (1 << 31)
#define EXYNOS_CIOCTRL_WEAVE_MASK (1 << 31)
#define EXYNOS_CIOCTRL_LASTENDEN (1 << 30)
#define EXYNOS_CIOCTRL_ORDER2P_LSB_CBCR (0 << 24)
#define EXYNOS_CIOCTRL_ORDER2P_LSB_CRCB (1 << 24)
#define EXYNOS_CIOCTRL_ORDER2P_MSB_CRCB (2 << 24)
define (3 << 2)
#define EXYNOS_CIOCTRL_ORDER2P_SHIFT (24)
#define EXYNOS_CIOCTRL_ORDER2P_MASK (3 <<24java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
#define EXYNOS_CIOCTRL_YCBCR_3PLANE (0 << 3)
#define EXYNOS_CIOCTRL_YCBCR_2PLANE (1 << 3)
define (1 <<3)
#define EXYNOS_CIOCTRL_LASTIRQ_ENABLE (1 << 2)
# EXYNOS_CIOCTRL_ALPHA_OUT
#define EXYNOS_CIOCTRL_ORDER422_YCBYCR (0 << 0)
#define EXYNOS_CIOCTRL_ORDER422_YCRYCB (1 << 0)
#define EXYNOS_CIOCTRL_ORDER422_CBYCRY (2 << 0)
#define EXYNOS_CIOCTRL_ORDER422_CRYCBY (3 << 0)
#define EXYNOS_CIOCTRL_ORDER422_MASK (3 << 0)
/* Main scaler control register */
#define EXYNOS_CISCCTRL_SCALERBYPASS (1 << 31)
#define EXYNOS_CISCCTRL_SCALEUP_H ( << 30java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
#define EXYNOS_CISCCTRL_SCALEUP_V (1 << 29)
#define EXYNOS_CISCCTRL_CSCR2Y_NARROW( <<2)
# EXYNOS_CISCCTRL_CSCR2Y_WIDE<2java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
#define EXYNOS_CISCCTRL_CSCY2R_NARROW (#< 8
# EXYNOS_CISCCTRL_CSCY2R_WIDE (1<2)
#define EXYNOS_CISCCTRL_LCDPATHEN_FIFO (1 << 26)
#define EXYNOS_CISCCTRL_PROGRESSIVE (0 << 25)
#define EXYNOS_CISCCTRL_INTERLACE (1 << 25)
#define EXYNOS_CISCCTRL_SCAN_MASK 1 < 5)
#define EXYNOS_CISCCTRL_SCALERSTART (1 << 15)
#define EXYNOS_CISCCTRL_INRGB_FMT_RGB565 (0 << 13)
#define EXYNOS_CISCCTRL_INRGB_FMT_RGB666 (1 << 13)
#define EXYNOS_CISCCTRL_INRGB_FMT_RGB888(2 < 1)
#define EXYNOS_CISCCTRL_INRGB_FMT_RGB_MASK (3 << 13)
#define EXYNOS_CISCCTRL_OUTRGB_FMT_RGB565 0 < 1)
#define EXYNOS_CISCCTRL_OUTRGB_FMT_RGB666 (1 << 11)
#define EXYNOS_CISCCTRL_OUTRGB_FMT_RGB888 (2 << 11)
#define EXYNOS_CISCCTRL_OUTRGB_FMT_RGB_MASK3 <<11java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
#define EXYNOS_CISCCTRL_EXTRGB_NORMAL (0 << 10)
#define EXYNOS_CISCCTRL_EXTRGB_EXTENSION (1 << 10)
#define EXYNOS_CISCCTRL_ONE2ONE (1 << 9)
#define EXYNOS_CISCCTRL_MAIN_V_RATIO_MASK (<)
#define EXYNOS_CISCCTRL_MAIN_H_RATIO_MASK (0x1ff << 16)
/* Status register */
define(< 0java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
#define EXYNOS_CISTATUS_OVFICR (1 << 29)define (x1ff<6java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
#define EXYNOS_CISTATUS_VSYNC (1 << 28)
#define EXYNOS_CISTATUS_SCALERSTART (1 << 26)
# EXYNOS_CISTATUS_WINOFSTEN (1 <<25java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
#define EXYNOS_CISTATUS_IMGCPTEN (1 << 22)
#define EXYNOS_CISTATUS_IMGCPTENSC (1 << 21)
#define EXYNOS_CISTATUS_VSYNC_A (1 << 20)
#define EXYNOS_CISTATUS_VSYNC_B (1 << 19)
#efine EXYNOS_CISTATUS_OVRLB(1<8)
#define EXYNOS_CISTATUS_FRAMEEND (1 << 17)
EXYNOS_CISTATUS_LASTCAPTUREEND ( <16
#define EXYNOS_CISTATUS_VVALID_A (1 << 15)
#define EXYNOS_CISTATUS_VVALID_B (1 << 14)
/* Image capture enable register */ (1 <8java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
#define EXYNOS_CIIMGCPT_IMGCPTEN (1 << 31)
#define EXYNOS_CIIMGCPT_IMGCPTEN_SC (1 << 30)
#define EXYNOS_CIIMGCPT_CPT_FREN_ENABLE (1 << 25)
N (0 << 18)
#define EXYNOS_CIIMGCPT_CPT_FRMOD_CNT (1< 1java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
/* Image effects register */
#define EXYNOS_CIIMGEFF_IE_DISABLE (0 << 30)
#define EXYNOS_CIIMGEFF_IE_ENABLE (1 << 30)
#define EXYNOS_CIIMGEFF_IE_SC_BEFORE (0 << 29)
#define EXYNOS_CIIMGEFF_IE_SC_AFTER (1 << 29)
#define EXYNOS_CIIMGEFF_FIN_BYPASS (0 << 26)
#define EXYNOS_CIIMGEFF_FIN_ARBITRARY (1 <<<26)
#define #define EXYNOS_CIIMGEFF_FIN_BYPASS (0<< 26)
#define EXYNOS_CIIMGEFF_FIN_ARTFREEZE (3 << 26)
#define EXYNOS_CIIMGEFF_FIN_EMBOSSING (4 << 26)
#define EXYNOS_CIIMGEFF_FIN_SILHOUETTE (5 << 26)
#define EXYNOS_CIIMGEFF_FIN_MASK (7 << 26)
#define EXYNOS_CIIMGEFF_PAT_CBCR_MASK ((0xff << 13) | (0xff << 0))
/* Real input DMA size register */
#define EXYNOS_CIREAL_ISIZE_AUTOLOAD_ENABLE (1 << 31)
#define EXYNOS_CIREAL_ISIZE_ADDR_CH_DISABLE (1 << 30)
#define EXYNOS_CIREAL_ISIZE_HEIGHT_MASK (0x3FFF << 16java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
#define EXYNOS_CIREAL_ISIZE_WIDTH_MASK (0x3FFF << 0)
/* Input DMA control register */
#define EXYNOS_MSCTRL_FIELD_MASK
#define EXYNOS_MSCTRL_FIELD_WEAVE (1 # EXYNOS_MSCTRL_FIELD_MASK ( <1java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
## EXYNOS_MSCTRL_BURST_CNT_MASKxf2java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
#define EXYNOS_MSCTRL_BURST_CNT (24)
#define EXYNOS_MSCTRL_BURST_CNT_MASK (0xf << 24)
#define EXYNOS_MSCTRL_ORDER2P_LSB_CBCR (3< 6java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
#1 6)
#define EXYNOS_MSCTRL_ORDER2P_MSB_CRCB (2 << 16)
#define EXYNOS_MSCTRL_ORDER2P_MSB_CBCR (3 << 6)
#define EXYNOS_MSCTRL_ORDER2P_SHIFT (16)
#define EXYNOS_MSCTRL_ORDER2P_SHIFT_MASKx3 6
# EXYNOS_MSCTRL_C_INT_IN_3PLANE<1
(<1)
#define #define ( <3java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
#define EXYNOS_MSCTRL_FLIP_NORMAL (0 << 13)
#define EXYNOS_MSCTRL_FLIP_X_MIRROR (1 << 13)
#define EXYNOS_MSCTRL_FLIP_Y_MIRROR (2 << 13)
#define EXYNOS_MSCTRL_FLIP_180 (3 << 13)
#define EXYNOS_MSCTRL_FLIP_MASK (3 << 13)
#define EXYNOS_MSCTRL_ORDER422_CRYCBY (0 # EXYNOS_MSCTRL_INPUT_EXTCAM( <3
#define EXYNOS_MSCTRL_ORDER422_YCRYCB (1 << 4)
#define EXYNOS_MSCTRL_ORDER422_CBYCRY (2 << 4)
< 4
#define EXYNOS_MSCTRL_INPUT_EXTCAM (0 << 3)
#define EXYNOS_MSCTRL_INPUT_MEMORY (1 << 3)
#define EXYNOS_MSCTRL_INPUT_MASK (1 << 3)
#define EXYNOS_MSCTRL_INFORMAT_YCBCR422 (1 <<define (3 <<1
#define EXYNOS_MSCTRL_INFORMAT_YCBCR422_1PLANE (2 << 1)
#define EXYNOS_MSCTRL_INFORMAT_RGB
#define EXYNOS_MSCTRL_ENVID (1 << 0)
/* DMA parameter register */
#define (<9
define <9
#define define ( < 9java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
define (3<29
#define EXYNOS_CIDMAPARAM_R_MODE_MASK (3 << 29)
#define EXYNOS_CIDMAPARAM_R_TILE_HSIZE_64 (0 << 24)
#define EXYNOS_CIDMAPARAM_R_TILE_HSIZE_128 (1 << 24)
#define EXYNOS_CIDMAPARAM_R_TILE_HSIZE_256 (2 << 24)
#define EXYNOS_CIDMAPARAM_R_TILE_HSIZE_512 (3 << 24)
#define EXYNOS_CIDMAPARAM_R_TILE_HSIZE_1024 (4 <# EXYNOS_CIDMAPARAM_R_TILE_VSIZE_1
#define EXYNOS_CIDMAPARAM_R_TILE_HSIZE_2048 (define (2 < 2)
#define EXYNOS_CIDMAPARAM_R_TILE_HSIZE_4096 < 4java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
#define EXYNOS_CIDMAPARAM_R_TILE_VSIZE_1 (0 << 20)
#define EXYNOS_CIDMAPARAM_R_TILE_VSIZE_2 (1 << 20)
#define EXYNOS_CIDMAPARAM_R_TILE_VSIZE_4 (2 << 20)
#define EXYNOS_CIDMAPARAM_R_TILE_VSIZE_8 (3 << 20)
#define EXYNOS_CIDMAPARAM_R_TILE_VSIZE_16 (4 << 20)
#define EXYNOS_CIDMAPARAM_R_TILE_VSIZE_32 (5 define (3 <13
define (0 <1)
#define EXYNOS_CIDMAPARAM_W_MODE_CONFTILE (1 << 13)
#define EXYNOS_CIDMAPARAM_W_MODE_16X16 (2 << 13) ( <8
define (3 << 1)
#define EXYNOS_CIDMAPARAM_W_MODE_MASK (3 << 13)
#define EXYNOS_CIDMAPARAM_W_TILE_HSIZE_64 (0 << 8)
#define EXYNOS_CIDMAPARAM_W_TILE_HSIZE_128 (1 << 8)
#define EXYNOS_CIDMAPARAM_W_TILE_HSIZE_256 (2 << 8)
#define EXYNOS_CIDMAPARAM_W_TILE_HSIZE_512 (3 << 8)
#define EXYNOS_CIDMAPARAM_W_TILE_HSIZE_1024 (4 << 8)
#define EXYNOS_CIDMAPARAM_W_TILE_HSIZE_2048 (5 << 8)
#define EXYNOS_CIDMAPARAM_W_TILE_HSIZE_4096 (6 << 8)
#define EXYNOS_CIDMAPARAM_W_TILE_VSIZE_1 (0 << 4)
#define EXYNOS_CIDMAPARAM_W_TILE_VSIZE_2 (1 << 4)
#define EXYNOS_CIDMAPARAM_W_TILE_VSIZE_4 (2 << 4)
#define EXYNOS_CIDMAPARAM_W_TILE_VSIZE_8 (3 << 4)
# 1 )
#define define (0x3F0java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
/* Gathering Extension register */
#define EXYNOS_CIEXTEN_TARGETH_EXT_MASK (1 << 26)
#define EXYNOS_CIEXTEN_TARGETV_EXT_MASK (1 << #define EXYNOS_CLKSRC_HCLK ( < 1)
#define EXYNOS_CIEXTEN_MAINHORRATIO_EXT_MASK (0x3F << 10)
#define EXYNOS_CIEXTEN_MAINVERRATIO_EXT_MASK (0x3F)
#define EXYNOS_CIEXTEN_YUV444_OUT (1 << 22)
/* FIMC Clock Source Select register */
#define EXYNOS_CLKSRC_HCLK (0 << 1)
# EXYNOS_CLKSRC_HCLK_MASK ( <1
#define EXYNOS_CLKSRC_SCLK (1 << 1)
/* SYSREG for FIMC writeback */
#define SYSREG_CAMERA_BLK (0x0218)
#define SYSREG_FIMD0WB_DEST_MASK (0x3 << 23)
#define SYSREG_FIMD0WB_DEST_SHIFT 23
#endif /* EXYNOS_REGS_FIMC_H */
Messung V0.5 C=86 H=96 G=90
¤ Dauer der Verarbeitung: 0.8 Sekunden
¤
*© Formatika GbR, Deutschland