Linux Kernel
3.7.1
|
Go to the source code of this file.
Macros | |
#define | S5P_JPGMOD 0x00 |
#define | S5P_PROC_MODE_MASK (0x1 << 3) |
#define | S5P_PROC_MODE_DECOMPR (0x1 << 3) |
#define | S5P_PROC_MODE_COMPR (0x0 << 3) |
#define | S5P_SUBSAMPLING_MODE_MASK 0x7 |
#define | S5P_SUBSAMPLING_MODE_444 (0x0 << 0) |
#define | S5P_SUBSAMPLING_MODE_422 (0x1 << 0) |
#define | S5P_SUBSAMPLING_MODE_420 (0x2 << 0) |
#define | S5P_SUBSAMPLING_MODE_GRAY (0x3 << 0) |
#define | S5P_JPGOPR 0x04 |
#define | S5P_JPG_QTBL 0x08 |
#define | S5P_QT_NUMt_SHIFT(t) (((t) - 1) << 1) |
#define | S5P_QT_NUMt_MASK(t) (0x3 << S5P_QT_NUMt_SHIFT(t)) |
#define | S5P_JPG_HTBL 0x0c |
#define | S5P_HT_NUMt_AC_SHIFT(t) (((t) << 1) - 1) |
#define | S5P_HT_NUMt_AC_MASK(t) (0x1 << S5P_HT_NUMt_AC_SHIFT(t)) |
#define | S5P_HT_NUMt_DC_SHIFT(t) (((t) - 1) << 1) |
#define | S5P_HT_NUMt_DC_MASK(t) (0x1 << S5P_HT_NUMt_DC_SHIFT(t)) |
#define | S5P_JPGDRI_U 0x10 |
#define | S5P_JPGDRI_L 0x14 |
#define | S5P_JPGY_U 0x18 |
#define | S5P_JPGY_L 0x1c |
#define | S5P_JPGX_U 0x20 |
#define | S5P_JPGX_L 0x24 |
#define | S5P_JPGCNT_U 0x28 |
#define | S5P_JPGCNT_M 0x2c |
#define | S5P_JPGCNT_L 0x30 |
#define | S5P_JPGINTSE 0x34 |
#define | S5P_RSTm_INT_EN_MASK (0x1 << 7) |
#define | S5P_RSTm_INT_EN (0x1 << 7) |
#define | S5P_DATA_NUM_INT_EN_MASK (0x1 << 6) |
#define | S5P_DATA_NUM_INT_EN (0x1 << 6) |
#define | S5P_FINAL_MCU_NUM_INT_EN_MASK (0x1 << 5) |
#define | S5P_FINAL_MCU_NUM_INT_EN (0x1 << 5) |
#define | S5P_JPGINTST 0x38 |
#define | S5P_RESULT_STAT_SHIFT 6 |
#define | S5P_RESULT_STAT_MASK (0x1 << S5P_RESULT_STAT_SHIFT) |
#define | S5P_STREAM_STAT_SHIFT 5 |
#define | S5P_STREAM_STAT_MASK (0x1 << S5P_STREAM_STAT_SHIFT) |
#define | S5P_JPGCOM 0x4c |
#define | S5P_INT_RELEASE (0x1 << 2) |
#define | S5P_JPG_IMGADR 0x50 |
#define | S5P_JPG_JPGADR 0x58 |
#define | S5P_JPG_COEF(n) (0x5c + (((n) - 1) << 2)) |
#define | S5P_COEFn_SHIFT(j) ((3 - (j)) << 3) |
#define | S5P_COEFn_MASK(j) (0xff << S5P_COEFn_SHIFT(j)) |
#define | S5P_JPGCMOD 0x68 |
#define | S5P_MOD_SEL_MASK (0x7 << 5) |
#define | S5P_MOD_SEL_422 (0x1 << 5) |
#define | S5P_MOD_SEL_565 (0x2 << 5) |
#define | S5P_MODE_Y16_MASK (0x1 << 1) |
#define | S5P_MODE_Y16 (0x1 << 1) |
#define | S5P_JPGCLKCON 0x6c |
#define | S5P_CLK_DOWN_READY (0x1 << 1) |
#define | S5P_POWER_ON (0x1 << 0) |
#define | S5P_JSTART 0x70 |
#define | S5P_JPG_SW_RESET 0x78 |
#define | S5P_JPG_TIMER_SE 0x7c |
#define | S5P_TIMER_INT_EN_MASK (0x1 << 31) |
#define | S5P_TIMER_INT_EN (0x1 << 31) |
#define | S5P_TIMER_INIT_MASK 0x7fffffff |
#define | S5P_JPG_TIMER_ST 0x80 |
#define | S5P_TIMER_INT_STAT_SHIFT 31 |
#define | S5P_TIMER_INT_STAT_MASK (0x1 << S5P_TIMER_INT_STAT_SHIFT) |
#define | S5P_TIMER_CNT_SHIFT 0 |
#define | S5P_TIMER_CNT_MASK 0x7fffffff |
#define | S5P_JPG_OUTFORM 0x88 |
#define | S5P_DEC_OUT_FORMAT_MASK (0x1 << 0) |
#define | S5P_DEC_OUT_FORMAT_422 (0x0 << 0) |
#define | S5P_DEC_OUT_FORMAT_420 (0x1 << 0) |
#define | S5P_JPG_VERSION 0x8c |
#define | S5P_JPG_ENC_STREAM_INTSE 0x98 |
#define | S5P_ENC_STREAM_INT_MASK (0x1 << 24) |
#define | S5P_ENC_STREAM_INT_EN (0x1 << 24) |
#define | S5P_ENC_STREAM_BOUND_MASK 0xffffff |
#define | S5P_JPG_ENC_STREAM_INTST 0x9c |
#define | S5P_ENC_STREAM_INT_STAT_MASK 0x1 |
#define | S5P_JPG_QTBL_CONTENT(n) (0x400 + (n) * 0x100) |
#define | S5P_JPG_HDCTBL(n) (0x800 + (n) * 0x400) |
#define | S5P_JPG_HDCTBLG(n) (0x840 + (n) * 0x400) |
#define | S5P_JPG_HACTBL(n) (0x880 + (n) * 0x400) |
#define | S5P_JPG_HACTBLG(n) (0x8c0 + (n) * 0x400) |
#define S5P_CLK_DOWN_READY (0x1 << 1) |
Definition at line 113 of file jpeg-regs.h.
#define S5P_COEFn_MASK | ( | j | ) | (0xff << S5P_COEFn_SHIFT(j)) |
Definition at line 101 of file jpeg-regs.h.
Definition at line 100 of file jpeg-regs.h.
#define S5P_DATA_NUM_INT_EN (0x1 << 6) |
Definition at line 77 of file jpeg-regs.h.
#define S5P_DATA_NUM_INT_EN_MASK (0x1 << 6) |
Definition at line 76 of file jpeg-regs.h.
#define S5P_DEC_OUT_FORMAT_420 (0x1 << 0) |
Definition at line 139 of file jpeg-regs.h.
#define S5P_DEC_OUT_FORMAT_422 (0x0 << 0) |
Definition at line 138 of file jpeg-regs.h.
#define S5P_DEC_OUT_FORMAT_MASK (0x1 << 0) |
Definition at line 137 of file jpeg-regs.h.
#define S5P_ENC_STREAM_BOUND_MASK 0xffffff |
Definition at line 148 of file jpeg-regs.h.
#define S5P_ENC_STREAM_INT_EN (0x1 << 24) |
Definition at line 147 of file jpeg-regs.h.
#define S5P_ENC_STREAM_INT_MASK (0x1 << 24) |
Definition at line 146 of file jpeg-regs.h.
#define S5P_ENC_STREAM_INT_STAT_MASK 0x1 |
Definition at line 152 of file jpeg-regs.h.
#define S5P_FINAL_MCU_NUM_INT_EN (0x1 << 5) |
Definition at line 79 of file jpeg-regs.h.
#define S5P_FINAL_MCU_NUM_INT_EN_MASK (0x1 << 5) |
Definition at line 78 of file jpeg-regs.h.
#define S5P_HT_NUMt_AC_MASK | ( | t | ) | (0x1 << S5P_HT_NUMt_AC_SHIFT(t)) |
Definition at line 40 of file jpeg-regs.h.
Definition at line 39 of file jpeg-regs.h.
#define S5P_HT_NUMt_DC_MASK | ( | t | ) | (0x1 << S5P_HT_NUMt_DC_SHIFT(t)) |
Definition at line 43 of file jpeg-regs.h.
Definition at line 42 of file jpeg-regs.h.
#define S5P_INT_RELEASE (0x1 << 2) |
Definition at line 90 of file jpeg-regs.h.
#define S5P_JPG_COEF | ( | n | ) | (0x5c + (((n) - 1) << 2)) |
Definition at line 99 of file jpeg-regs.h.
#define S5P_JPG_ENC_STREAM_INTSE 0x98 |
Definition at line 145 of file jpeg-regs.h.
#define S5P_JPG_ENC_STREAM_INTST 0x9c |
Definition at line 151 of file jpeg-regs.h.
#define S5P_JPG_HACTBL | ( | n | ) | (0x880 + (n) * 0x400) |
Definition at line 164 of file jpeg-regs.h.
#define S5P_JPG_HACTBLG | ( | n | ) | (0x8c0 + (n) * 0x400) |
Definition at line 167 of file jpeg-regs.h.
#define S5P_JPG_HDCTBL | ( | n | ) | (0x800 + (n) * 0x400) |
Definition at line 158 of file jpeg-regs.h.
#define S5P_JPG_HDCTBLG | ( | n | ) | (0x840 + (n) * 0x400) |
Definition at line 161 of file jpeg-regs.h.
#define S5P_JPG_HTBL 0x0c |
Definition at line 38 of file jpeg-regs.h.
#define S5P_JPG_IMGADR 0x50 |
Definition at line 93 of file jpeg-regs.h.
#define S5P_JPG_JPGADR 0x58 |
Definition at line 96 of file jpeg-regs.h.
#define S5P_JPG_OUTFORM 0x88 |
Definition at line 136 of file jpeg-regs.h.
#define S5P_JPG_QTBL 0x08 |
Definition at line 33 of file jpeg-regs.h.
#define S5P_JPG_QTBL_CONTENT | ( | n | ) | (0x400 + (n) * 0x100) |
Definition at line 155 of file jpeg-regs.h.
#define S5P_JPG_SW_RESET 0x78 |
Definition at line 120 of file jpeg-regs.h.
#define S5P_JPG_TIMER_SE 0x7c |
Definition at line 123 of file jpeg-regs.h.
#define S5P_JPG_TIMER_ST 0x80 |
Definition at line 129 of file jpeg-regs.h.
#define S5P_JPG_VERSION 0x8c |
Definition at line 142 of file jpeg-regs.h.
#define S5P_JPGCLKCON 0x6c |
Definition at line 112 of file jpeg-regs.h.
#define S5P_JPGCMOD 0x68 |
Definition at line 104 of file jpeg-regs.h.
#define S5P_JPGCNT_L 0x30 |
Definition at line 70 of file jpeg-regs.h.
#define S5P_JPGCNT_M 0x2c |
Definition at line 67 of file jpeg-regs.h.
#define S5P_JPGCNT_U 0x28 |
Definition at line 64 of file jpeg-regs.h.
#define S5P_JPGCOM 0x4c |
Definition at line 89 of file jpeg-regs.h.
#define S5P_JPGDRI_L 0x14 |
Definition at line 49 of file jpeg-regs.h.
#define S5P_JPGDRI_U 0x10 |
Definition at line 46 of file jpeg-regs.h.
#define S5P_JPGINTSE 0x34 |
Definition at line 73 of file jpeg-regs.h.
#define S5P_JPGINTST 0x38 |
Definition at line 82 of file jpeg-regs.h.
#define S5P_JPGMOD 0x00 |
Definition at line 19 of file jpeg-regs.h.
#define S5P_JPGOPR 0x04 |
Definition at line 30 of file jpeg-regs.h.
#define S5P_JPGX_L 0x24 |
Definition at line 61 of file jpeg-regs.h.
#define S5P_JPGX_U 0x20 |
Definition at line 58 of file jpeg-regs.h.
#define S5P_JPGY_L 0x1c |
Definition at line 55 of file jpeg-regs.h.
#define S5P_JPGY_U 0x18 |
Definition at line 52 of file jpeg-regs.h.
#define S5P_JSTART 0x70 |
Definition at line 117 of file jpeg-regs.h.
#define S5P_MOD_SEL_422 (0x1 << 5) |
Definition at line 106 of file jpeg-regs.h.
#define S5P_MOD_SEL_565 (0x2 << 5) |
Definition at line 107 of file jpeg-regs.h.
#define S5P_MOD_SEL_MASK (0x7 << 5) |
Definition at line 105 of file jpeg-regs.h.
#define S5P_MODE_Y16 (0x1 << 1) |
Definition at line 109 of file jpeg-regs.h.
#define S5P_MODE_Y16_MASK (0x1 << 1) |
Definition at line 108 of file jpeg-regs.h.
#define S5P_POWER_ON (0x1 << 0) |
Definition at line 114 of file jpeg-regs.h.
#define S5P_PROC_MODE_COMPR (0x0 << 3) |
Definition at line 22 of file jpeg-regs.h.
#define S5P_PROC_MODE_DECOMPR (0x1 << 3) |
Definition at line 21 of file jpeg-regs.h.
#define S5P_PROC_MODE_MASK (0x1 << 3) |
Definition at line 20 of file jpeg-regs.h.
#define S5P_QT_NUMt_MASK | ( | t | ) | (0x3 << S5P_QT_NUMt_SHIFT(t)) |
Definition at line 35 of file jpeg-regs.h.
Definition at line 34 of file jpeg-regs.h.
#define S5P_RESULT_STAT_MASK (0x1 << S5P_RESULT_STAT_SHIFT) |
Definition at line 84 of file jpeg-regs.h.
#define S5P_RESULT_STAT_SHIFT 6 |
Definition at line 83 of file jpeg-regs.h.
#define S5P_RSTm_INT_EN (0x1 << 7) |
Definition at line 75 of file jpeg-regs.h.
#define S5P_RSTm_INT_EN_MASK (0x1 << 7) |
Definition at line 74 of file jpeg-regs.h.
#define S5P_STREAM_STAT_MASK (0x1 << S5P_STREAM_STAT_SHIFT) |
Definition at line 86 of file jpeg-regs.h.
#define S5P_STREAM_STAT_SHIFT 5 |
Definition at line 85 of file jpeg-regs.h.
#define S5P_SUBSAMPLING_MODE_420 (0x2 << 0) |
Definition at line 26 of file jpeg-regs.h.
#define S5P_SUBSAMPLING_MODE_422 (0x1 << 0) |
Definition at line 25 of file jpeg-regs.h.
#define S5P_SUBSAMPLING_MODE_444 (0x0 << 0) |
Definition at line 24 of file jpeg-regs.h.
#define S5P_SUBSAMPLING_MODE_GRAY (0x3 << 0) |
Definition at line 27 of file jpeg-regs.h.
#define S5P_SUBSAMPLING_MODE_MASK 0x7 |
Definition at line 23 of file jpeg-regs.h.
#define S5P_TIMER_CNT_MASK 0x7fffffff |
Definition at line 133 of file jpeg-regs.h.
#define S5P_TIMER_CNT_SHIFT 0 |
Definition at line 132 of file jpeg-regs.h.
#define S5P_TIMER_INIT_MASK 0x7fffffff |
Definition at line 126 of file jpeg-regs.h.
#define S5P_TIMER_INT_EN (0x1 << 31) |
Definition at line 125 of file jpeg-regs.h.
#define S5P_TIMER_INT_EN_MASK (0x1 << 31) |
Definition at line 124 of file jpeg-regs.h.
#define S5P_TIMER_INT_STAT_MASK (0x1 << S5P_TIMER_INT_STAT_SHIFT) |
Definition at line 131 of file jpeg-regs.h.
#define S5P_TIMER_INT_STAT_SHIFT 31 |
Definition at line 130 of file jpeg-regs.h.