Linux Kernel
3.7.1
|
#include <linux/types.h>
Go to the source code of this file.
Data Structures | |
struct | isi_platform_data |
Macros | |
#define | ISI_CFG1 0x0000 |
#define | ISI_CFG2 0x0004 |
#define | ISI_PSIZE 0x0008 |
#define | ISI_PDECF 0x000c |
#define | ISI_Y2R_SET0 0x0010 |
#define | ISI_Y2R_SET1 0x0014 |
#define | ISI_R2Y_SET0 0x0018 |
#define | ISI_R2Y_SET1 0x001C |
#define | ISI_R2Y_SET2 0x0020 |
#define | ISI_CTRL 0x0024 |
#define | ISI_STATUS 0x0028 |
#define | ISI_INTEN 0x002C |
#define | ISI_INTDIS 0x0030 |
#define | ISI_INTMASK 0x0034 |
#define | ISI_DMA_CHER 0x0038 |
#define | ISI_DMA_CHDR 0x003C |
#define | ISI_DMA_CHSR 0x0040 |
#define | ISI_DMA_P_ADDR 0x0044 |
#define | ISI_DMA_P_CTRL 0x0048 |
#define | ISI_DMA_P_DSCR 0x004C |
#define | ISI_DMA_C_ADDR 0x0050 |
#define | ISI_DMA_C_CTRL 0x0054 |
#define | ISI_DMA_C_DSCR 0x0058 |
#define | ISI_CFG1_HSYNC_POL_ACTIVE_LOW (1 << 2) |
#define | ISI_CFG1_VSYNC_POL_ACTIVE_LOW (1 << 3) |
#define | ISI_CFG1_PIXCLK_POL_ACTIVE_FALLING (1 << 4) |
#define | ISI_CFG1_EMB_SYNC (1 << 6) |
#define | ISI_CFG1_CRC_SYNC (1 << 7) |
#define | ISI_CFG1_FRATE_CAPTURE_ALL (0 << 8) |
#define | ISI_CFG1_FRATE_DIV_2 (1 << 8) |
#define | ISI_CFG1_FRATE_DIV_3 (2 << 8) |
#define | ISI_CFG1_FRATE_DIV_4 (3 << 8) |
#define | ISI_CFG1_FRATE_DIV_5 (4 << 8) |
#define | ISI_CFG1_FRATE_DIV_6 (5 << 8) |
#define | ISI_CFG1_FRATE_DIV_7 (6 << 8) |
#define | ISI_CFG1_FRATE_DIV_8 (7 << 8) |
#define | ISI_CFG1_DISCR (1 << 11) |
#define | ISI_CFG1_FULL_MODE (1 << 12) |
#define | ISI_CFG2_GRAYSCALE (1 << 13) |
#define | ISI_CFG2_YCC_SWAP_DEFAULT (0 << 28) |
#define | ISI_CFG2_YCC_SWAP_MODE_1 (1 << 28) |
#define | ISI_CFG2_YCC_SWAP_MODE_2 (2 << 28) |
#define | ISI_CFG2_YCC_SWAP_MODE_3 (3 << 28) |
#define | ISI_CFG2_IM_VSIZE_OFFSET 0 |
#define | ISI_CFG2_IM_HSIZE_OFFSET 16 |
#define | ISI_CFG2_IM_VSIZE_MASK (0x7FF << ISI_CFG2_IM_VSIZE_OFFSET) |
#define | ISI_CFG2_IM_HSIZE_MASK (0x7FF << ISI_CFG2_IM_HSIZE_OFFSET) |
#define | ISI_CTRL_EN (1 << 0) |
#define | ISI_CTRL_CDC (1 << 8) |
#define | ISI_CTRL_DIS (1 << 1) |
#define | ISI_CTRL_SRST (1 << 2) |
#define | ISI_SR_SIP (1 << 19) |
#define | ISI_SR_VSYNC (1 << 10) |
#define | ISI_SR_PXFR_DONE (1 << 16) |
#define | ISI_SR_CXFR_DONE (1 << 17) |
#define | ISI_SR_P_OVR (1 << 24) |
#define | ISI_SR_C_OVR (1 << 25) |
#define | ISI_SR_CRC_ERR (1 << 26) |
#define | ISI_SR_FR_OVR (1 << 27) |
#define | ISI_DMA_CTRL_FETCH (1 << 0) |
#define | ISI_DMA_CTRL_WB (1 << 1) |
#define | ISI_DMA_CTRL_IEN (1 << 2) |
#define | ISI_DMA_CTRL_DONE (1 << 3) |
#define | ISI_DMA_CHSR_P_CH (1 << 0) |
#define | ISI_DMA_CHSR_C_CH (1 << 1) |
#define | ISI_DATAWIDTH_8 0x01 |
#define | ISI_DATAWIDTH_10 0x02 |
#define ISI_CFG1 0x0000 |
Definition at line 20 of file atmel-isi.h.
#define ISI_CFG1_CRC_SYNC (1 << 7) |
Definition at line 49 of file atmel-isi.h.
#define ISI_CFG1_DISCR (1 << 11) |
Definition at line 59 of file atmel-isi.h.
#define ISI_CFG1_EMB_SYNC (1 << 6) |
Definition at line 48 of file atmel-isi.h.
#define ISI_CFG1_FRATE_CAPTURE_ALL (0 << 8) |
Definition at line 51 of file atmel-isi.h.
#define ISI_CFG1_FRATE_DIV_2 (1 << 8) |
Definition at line 52 of file atmel-isi.h.
#define ISI_CFG1_FRATE_DIV_3 (2 << 8) |
Definition at line 53 of file atmel-isi.h.
#define ISI_CFG1_FRATE_DIV_4 (3 << 8) |
Definition at line 54 of file atmel-isi.h.
#define ISI_CFG1_FRATE_DIV_5 (4 << 8) |
Definition at line 55 of file atmel-isi.h.
#define ISI_CFG1_FRATE_DIV_6 (5 << 8) |
Definition at line 56 of file atmel-isi.h.
#define ISI_CFG1_FRATE_DIV_7 (6 << 8) |
Definition at line 57 of file atmel-isi.h.
#define ISI_CFG1_FRATE_DIV_8 (7 << 8) |
Definition at line 58 of file atmel-isi.h.
#define ISI_CFG1_FULL_MODE (1 << 12) |
Definition at line 60 of file atmel-isi.h.
#define ISI_CFG1_HSYNC_POL_ACTIVE_LOW (1 << 2) |
Definition at line 45 of file atmel-isi.h.
#define ISI_CFG1_PIXCLK_POL_ACTIVE_FALLING (1 << 4) |
Definition at line 47 of file atmel-isi.h.
#define ISI_CFG1_VSYNC_POL_ACTIVE_LOW (1 << 3) |
Definition at line 46 of file atmel-isi.h.
#define ISI_CFG2 0x0004 |
Definition at line 21 of file atmel-isi.h.
#define ISI_CFG2_GRAYSCALE (1 << 13) |
Definition at line 63 of file atmel-isi.h.
#define ISI_CFG2_IM_HSIZE_MASK (0x7FF << ISI_CFG2_IM_HSIZE_OFFSET) |
Definition at line 72 of file atmel-isi.h.
#define ISI_CFG2_IM_HSIZE_OFFSET 16 |
Definition at line 70 of file atmel-isi.h.
#define ISI_CFG2_IM_VSIZE_MASK (0x7FF << ISI_CFG2_IM_VSIZE_OFFSET) |
Definition at line 71 of file atmel-isi.h.
#define ISI_CFG2_IM_VSIZE_OFFSET 0 |
Definition at line 69 of file atmel-isi.h.
#define ISI_CFG2_YCC_SWAP_DEFAULT (0 << 28) |
Definition at line 65 of file atmel-isi.h.
#define ISI_CFG2_YCC_SWAP_MODE_1 (1 << 28) |
Definition at line 66 of file atmel-isi.h.
#define ISI_CFG2_YCC_SWAP_MODE_2 (2 << 28) |
Definition at line 67 of file atmel-isi.h.
#define ISI_CFG2_YCC_SWAP_MODE_3 (3 << 28) |
Definition at line 68 of file atmel-isi.h.
#define ISI_CTRL 0x0024 |
Definition at line 29 of file atmel-isi.h.
#define ISI_CTRL_CDC (1 << 8) |
Definition at line 77 of file atmel-isi.h.
#define ISI_CTRL_DIS (1 << 1) |
Definition at line 79 of file atmel-isi.h.
#define ISI_CTRL_EN (1 << 0) |
Definition at line 76 of file atmel-isi.h.
#define ISI_CTRL_SRST (1 << 2) |
Definition at line 80 of file atmel-isi.h.
#define ISI_DATAWIDTH_10 0x02 |
Definition at line 105 of file atmel-isi.h.
#define ISI_DATAWIDTH_8 0x01 |
Definition at line 104 of file atmel-isi.h.
#define ISI_DMA_C_ADDR 0x0050 |
Definition at line 40 of file atmel-isi.h.
#define ISI_DMA_C_CTRL 0x0054 |
Definition at line 41 of file atmel-isi.h.
#define ISI_DMA_C_DSCR 0x0058 |
Definition at line 42 of file atmel-isi.h.
#define ISI_DMA_CHDR 0x003C |
Definition at line 35 of file atmel-isi.h.
#define ISI_DMA_CHER 0x0038 |
Definition at line 34 of file atmel-isi.h.
#define ISI_DMA_CHSR 0x0040 |
Definition at line 36 of file atmel-isi.h.
#define ISI_DMA_CHSR_C_CH (1 << 1) |
Definition at line 101 of file atmel-isi.h.
#define ISI_DMA_CHSR_P_CH (1 << 0) |
Definition at line 100 of file atmel-isi.h.
#define ISI_DMA_CTRL_DONE (1 << 3) |
Definition at line 97 of file atmel-isi.h.
#define ISI_DMA_CTRL_FETCH (1 << 0) |
Definition at line 94 of file atmel-isi.h.
#define ISI_DMA_CTRL_IEN (1 << 2) |
Definition at line 96 of file atmel-isi.h.
#define ISI_DMA_CTRL_WB (1 << 1) |
Definition at line 95 of file atmel-isi.h.
#define ISI_DMA_P_ADDR 0x0044 |
Definition at line 37 of file atmel-isi.h.
#define ISI_DMA_P_CTRL 0x0048 |
Definition at line 38 of file atmel-isi.h.
#define ISI_DMA_P_DSCR 0x004C |
Definition at line 39 of file atmel-isi.h.
#define ISI_INTDIS 0x0030 |
Definition at line 32 of file atmel-isi.h.
#define ISI_INTEN 0x002C |
Definition at line 31 of file atmel-isi.h.
#define ISI_INTMASK 0x0034 |
Definition at line 33 of file atmel-isi.h.
#define ISI_PDECF 0x000c |
Definition at line 23 of file atmel-isi.h.
#define ISI_PSIZE 0x0008 |
Definition at line 22 of file atmel-isi.h.
#define ISI_R2Y_SET0 0x0018 |
Definition at line 26 of file atmel-isi.h.
#define ISI_R2Y_SET1 0x001C |
Definition at line 27 of file atmel-isi.h.
#define ISI_R2Y_SET2 0x0020 |
Definition at line 28 of file atmel-isi.h.
#define ISI_SR_C_OVR (1 << 25) |
Definition at line 89 of file atmel-isi.h.
#define ISI_SR_CRC_ERR (1 << 26) |
Definition at line 90 of file atmel-isi.h.
#define ISI_SR_CXFR_DONE (1 << 17) |
Definition at line 87 of file atmel-isi.h.
#define ISI_SR_FR_OVR (1 << 27) |
Definition at line 91 of file atmel-isi.h.
#define ISI_SR_P_OVR (1 << 24) |
Definition at line 88 of file atmel-isi.h.
#define ISI_SR_PXFR_DONE (1 << 16) |
Definition at line 86 of file atmel-isi.h.
#define ISI_SR_SIP (1 << 19) |
Definition at line 83 of file atmel-isi.h.
#define ISI_SR_VSYNC (1 << 10) |
Definition at line 85 of file atmel-isi.h.
#define ISI_STATUS 0x0028 |
Definition at line 30 of file atmel-isi.h.
#define ISI_Y2R_SET0 0x0010 |
Definition at line 24 of file atmel-isi.h.
#define ISI_Y2R_SET1 0x0014 |
Definition at line 25 of file atmel-isi.h.