Linux Kernel
3.7.1
|
Go to the source code of this file.
#define BF_GPMI_CTRL0_ADDRESS | ( | v | ) | (((v) << BP_GPMI_CTRL0_ADDRESS) & BM_GPMI_CTRL0_ADDRESS) |
Definition at line 63 of file gpmi-regs.h.
#define BF_GPMI_CTRL0_COMMAND_MODE | ( | v | ) | (((v) << BP_GPMI_CTRL0_COMMAND_MODE) & BM_GPMI_CTRL0_COMMAND_MODE) |
Definition at line 31 of file gpmi-regs.h.
Definition at line 56 of file gpmi-regs.h.
Definition at line 50 of file gpmi-regs.h.
#define BF_GPMI_CTRL0_XFER_COUNT | ( | v | ) | (((v) << BP_GPMI_CTRL0_XFER_COUNT) & BM_GPMI_CTRL0_XFER_COUNT) |
Definition at line 75 of file gpmi-regs.h.
#define BF_GPMI_CTRL1_RDN_DELAY | ( | v | ) | (((v) << BP_GPMI_CTRL1_RDN_DELAY) & BM_GPMI_CTRL1_RDN_DELAY) |
Definition at line 130 of file gpmi-regs.h.
#define BF_GPMI_CTRL1_WRN_DLY_SEL | ( | v | ) | (((v) << BP_GPMI_CTRL1_WRN_DLY_SEL) & BM_GPMI_CTRL1_WRN_DLY_SEL) |
Definition at line 113 of file gpmi-regs.h.
#define BF_GPMI_ECCCTRL_BUFFER_MASK | ( | v | ) | (((v) << BP_GPMI_ECCCTRL_BUFFER_MASK) & BM_GPMI_ECCCTRL_BUFFER_MASK) |
Definition at line 98 of file gpmi-regs.h.
#define BF_GPMI_ECCCTRL_ECC_CMD | ( | v | ) | (((v) << BP_GPMI_ECCCTRL_ECC_CMD) & BM_GPMI_ECCCTRL_ECC_CMD) |
Definition at line 87 of file gpmi-regs.h.
#define BF_GPMI_TIMING0_ADDRESS_SETUP | ( | v | ) | (((v) << BP_GPMI_TIMING0_ADDRESS_SETUP) & BM_GPMI_TIMING0_ADDRESS_SETUP) |
Definition at line 151 of file gpmi-regs.h.
#define BF_GPMI_TIMING0_DATA_HOLD | ( | v | ) | (((v) << BP_GPMI_TIMING0_DATA_HOLD) & BM_GPMI_TIMING0_DATA_HOLD) |
Definition at line 156 of file gpmi-regs.h.
#define BF_GPMI_TIMING0_DATA_SETUP | ( | v | ) | (((v) << BP_GPMI_TIMING0_DATA_SETUP) & BM_GPMI_TIMING0_DATA_SETUP) |
Definition at line 161 of file gpmi-regs.h.
#define BF_GPMI_TIMING1_BUSY_TIMEOUT | ( | v | ) | (((v) << BP_GPMI_TIMING1_BUSY_TIMEOUT) & BM_GPMI_TIMING1_BUSY_TIMEOUT) |
Definition at line 167 of file gpmi-regs.h.
#define BM_GPMI_CTRL0_ADDRESS (3 << BP_GPMI_CTRL0_ADDRESS) |
Definition at line 62 of file gpmi-regs.h.
#define BM_GPMI_CTRL0_ADDRESS_INCREMENT (1 << 16) |
Definition at line 69 of file gpmi-regs.h.
#define BM_GPMI_CTRL0_COMMAND_MODE (3 << BP_GPMI_CTRL0_COMMAND_MODE) |
Definition at line 30 of file gpmi-regs.h.
#define BM_GPMI_CTRL0_WORD_LENGTH (1 << 23) |
Definition at line 38 of file gpmi-regs.h.
#define BM_GPMI_CTRL0_XFER_COUNT (0xffff << BP_GPMI_CTRL0_XFER_COUNT) |
Definition at line 74 of file gpmi-regs.h.
#define BM_GPMI_CTRL1_ATA_IRQRDY_POLARITY (1 << 2) |
Definition at line 137 of file gpmi-regs.h.
#define BM_GPMI_CTRL1_BCH_MODE (1 << 18) |
Definition at line 120 of file gpmi-regs.h.
#define BM_GPMI_CTRL1_CAMERA_MODE (1 << 1) |
Definition at line 141 of file gpmi-regs.h.
#define BM_GPMI_CTRL1_DEV_RESET (1 << 3) |
Definition at line 133 of file gpmi-regs.h.
#define BM_GPMI_CTRL1_DLL_ENABLE (1 << BP_GPMI_CTRL1_DLL_ENABLE) |
Definition at line 123 of file gpmi-regs.h.
#define BM_GPMI_CTRL1_GPMI_MODE (1 << 0) |
Definition at line 145 of file gpmi-regs.h.
#define BM_GPMI_CTRL1_HALF_PERIOD (1 << BP_GPMI_CTRL1_HALF_PERIOD) |
Definition at line 126 of file gpmi-regs.h.
#define BM_GPMI_CTRL1_RDN_DELAY (0xf << BP_GPMI_CTRL1_RDN_DELAY) |
Definition at line 129 of file gpmi-regs.h.
#define BM_GPMI_CTRL1_WRN_DLY_SEL (0x3 << BP_GPMI_CTRL1_WRN_DLY_SEL) |
Definition at line 112 of file gpmi-regs.h.
#define BM_GPMI_ECCCTRL_BUFFER_MASK (0x1ff << BP_GPMI_ECCCTRL_BUFFER_MASK) |
Definition at line 97 of file gpmi-regs.h.
#define BM_GPMI_ECCCTRL_ECC_CMD (3 << BP_GPMI_ECCCTRL_ECC_CMD) |
Definition at line 86 of file gpmi-regs.h.
#define BM_GPMI_ECCCTRL_ENABLE_ECC (1 << 12) |
Definition at line 92 of file gpmi-regs.h.
#define BM_GPMI_TIMING0_ADDRESS_SETUP (0xff << BP_GPMI_TIMING0_ADDRESS_SETUP) |
Definition at line 150 of file gpmi-regs.h.
#define BM_GPMI_TIMING0_DATA_HOLD (0xff << BP_GPMI_TIMING0_DATA_HOLD) |
Definition at line 155 of file gpmi-regs.h.
#define BM_GPMI_TIMING0_DATA_SETUP (0xff << BP_GPMI_TIMING0_DATA_SETUP) |
Definition at line 160 of file gpmi-regs.h.
#define BM_GPMI_TIMING1_BUSY_TIMEOUT (0xffff << BP_GPMI_TIMING1_BUSY_TIMEOUT) |
Definition at line 166 of file gpmi-regs.h.
#define BP_GPMI_CTRL0_ADDRESS 17 |
Definition at line 61 of file gpmi-regs.h.
#define BP_GPMI_CTRL0_COMMAND_MODE 24 |
Definition at line 29 of file gpmi-regs.h.
#define BP_GPMI_CTRL0_CS 20 |
Definition at line 53 of file gpmi-regs.h.
#define BP_GPMI_CTRL0_XFER_COUNT 0 |
Definition at line 73 of file gpmi-regs.h.
#define BP_GPMI_CTRL1_DLL_ENABLE 17 |
Definition at line 122 of file gpmi-regs.h.
#define BP_GPMI_CTRL1_HALF_PERIOD 16 |
Definition at line 125 of file gpmi-regs.h.
#define BP_GPMI_CTRL1_RDN_DELAY 12 |
Definition at line 128 of file gpmi-regs.h.
#define BP_GPMI_CTRL1_WRN_DLY_SEL 22 |
Definition at line 111 of file gpmi-regs.h.
#define BP_GPMI_ECCCTRL_BUFFER_MASK 0 |
Definition at line 96 of file gpmi-regs.h.
#define BP_GPMI_ECCCTRL_ECC_CMD 13 |
Definition at line 85 of file gpmi-regs.h.
#define BP_GPMI_TIMING0_ADDRESS_SETUP 16 |
Definition at line 149 of file gpmi-regs.h.
#define BP_GPMI_TIMING0_DATA_HOLD 8 |
Definition at line 154 of file gpmi-regs.h.
#define BP_GPMI_TIMING0_DATA_SETUP 0 |
Definition at line 159 of file gpmi-regs.h.
#define BP_GPMI_TIMING1_BUSY_TIMEOUT 16 |
Definition at line 165 of file gpmi-regs.h.
#define BV_GPMI_CTRL0_ADDRESS__NAND_ALE 0x2 |
Definition at line 67 of file gpmi-regs.h.
#define BV_GPMI_CTRL0_ADDRESS__NAND_CLE 0x1 |
Definition at line 66 of file gpmi-regs.h.
#define BV_GPMI_CTRL0_ADDRESS__NAND_DATA 0x0 |
Definition at line 65 of file gpmi-regs.h.
#define BV_GPMI_CTRL0_ADDRESS_INCREMENT__DISABLED 0x0 |
Definition at line 70 of file gpmi-regs.h.
#define BV_GPMI_CTRL0_ADDRESS_INCREMENT__ENABLED 0x1 |
Definition at line 71 of file gpmi-regs.h.
#define BV_GPMI_CTRL0_COMMAND_MODE__READ 0x1 |
Definition at line 34 of file gpmi-regs.h.
#define BV_GPMI_CTRL0_COMMAND_MODE__READ_AND_COMPARE 0x2 |
Definition at line 35 of file gpmi-regs.h.
#define BV_GPMI_CTRL0_COMMAND_MODE__WAIT_FOR_READY 0x3 |
Definition at line 36 of file gpmi-regs.h.
#define BV_GPMI_CTRL0_COMMAND_MODE__WRITE 0x0 |
Definition at line 33 of file gpmi-regs.h.
#define BV_GPMI_CTRL0_WORD_LENGTH__16_BIT 0x0 |
Definition at line 39 of file gpmi-regs.h.
#define BV_GPMI_CTRL0_WORD_LENGTH__8_BIT 0x1 |
Definition at line 40 of file gpmi-regs.h.
#define BV_GPMI_CTRL1_ATA_IRQRDY_POLARITY__ACTIVEHIGH 0x1 |
Definition at line 139 of file gpmi-regs.h.
#define BV_GPMI_CTRL1_ATA_IRQRDY_POLARITY__ACTIVELOW 0x0 |
Definition at line 138 of file gpmi-regs.h.
#define BV_GPMI_CTRL1_DEV_RESET__DISABLED 0x1 |
Definition at line 135 of file gpmi-regs.h.
#define BV_GPMI_CTRL1_DEV_RESET__ENABLED 0x0 |
Definition at line 134 of file gpmi-regs.h.
#define BV_GPMI_CTRL1_GPMI_MODE__ATA 0x1 |
Definition at line 143 of file gpmi-regs.h.
#define BV_GPMI_CTRL1_GPMI_MODE__NAND 0x0 |
Definition at line 142 of file gpmi-regs.h.
#define BV_GPMI_CTRL1_WRN_DLY_SEL_4_TO_8NS 0x0 |
Definition at line 115 of file gpmi-regs.h.
#define BV_GPMI_CTRL1_WRN_DLY_SEL_6_TO_10NS 0x1 |
Definition at line 116 of file gpmi-regs.h.
#define BV_GPMI_CTRL1_WRN_DLY_SEL_7_TO_12NS 0x2 |
Definition at line 117 of file gpmi-regs.h.
#define BV_GPMI_CTRL1_WRN_DLY_SEL_NO_DELAY 0x3 |
Definition at line 118 of file gpmi-regs.h.
#define BV_GPMI_ECCCTRL_BUFFER_MASK__BCH_AUXONLY 0x100 |
Definition at line 100 of file gpmi-regs.h.
#define BV_GPMI_ECCCTRL_BUFFER_MASK__BCH_PAGE 0x1FF |
Definition at line 101 of file gpmi-regs.h.
#define BV_GPMI_ECCCTRL_ECC_CMD__BCH_DECODE 0x0 |
Definition at line 89 of file gpmi-regs.h.
#define BV_GPMI_ECCCTRL_ECC_CMD__BCH_ENCODE 0x1 |
Definition at line 90 of file gpmi-regs.h.
#define BV_GPMI_ECCCTRL_ENABLE_ECC__DISABLE 0x0 |
Definition at line 94 of file gpmi-regs.h.
#define BV_GPMI_ECCCTRL_ENABLE_ECC__ENABLE 0x1 |
Definition at line 93 of file gpmi-regs.h.
#define HW_GPMI_AUXILIARY 0x00000050 |
Definition at line 105 of file gpmi-regs.h.
#define HW_GPMI_COMPARE 0x00000010 |
Definition at line 78 of file gpmi-regs.h.
#define HW_GPMI_CTRL0 0x00000000 |
Definition at line 24 of file gpmi-regs.h.
#define HW_GPMI_CTRL0_CLR 0x00000008 |
Definition at line 26 of file gpmi-regs.h.
#define HW_GPMI_CTRL0_SET 0x00000004 |
Definition at line 25 of file gpmi-regs.h.
#define HW_GPMI_CTRL0_TOG 0x0000000c |
Definition at line 27 of file gpmi-regs.h.
#define HW_GPMI_CTRL1 0x00000060 |
Definition at line 106 of file gpmi-regs.h.
#define HW_GPMI_CTRL1_CLR 0x00000068 |
Definition at line 108 of file gpmi-regs.h.
#define HW_GPMI_CTRL1_SET 0x00000064 |
Definition at line 107 of file gpmi-regs.h.
#define HW_GPMI_CTRL1_TOG 0x0000006c |
Definition at line 109 of file gpmi-regs.h.
#define HW_GPMI_DATA 0x000000a0 |
Definition at line 171 of file gpmi-regs.h.
#define HW_GPMI_DEBUG 0x000000c0 |
Definition at line 181 of file gpmi-regs.h.
#define HW_GPMI_ECCCOUNT 0x00000030 |
Definition at line 103 of file gpmi-regs.h.
#define HW_GPMI_ECCCTRL 0x00000020 |
Definition at line 80 of file gpmi-regs.h.
#define HW_GPMI_ECCCTRL_CLR 0x00000028 |
Definition at line 82 of file gpmi-regs.h.
#define HW_GPMI_ECCCTRL_SET 0x00000024 |
Definition at line 81 of file gpmi-regs.h.
#define HW_GPMI_ECCCTRL_TOG 0x0000002c |
Definition at line 83 of file gpmi-regs.h.
#define HW_GPMI_PAYLOAD 0x00000040 |
Definition at line 104 of file gpmi-regs.h.
#define HW_GPMI_STAT 0x000000b0 |
Definition at line 174 of file gpmi-regs.h.
#define HW_GPMI_TIMING0 0x00000070 |
Definition at line 147 of file gpmi-regs.h.
#define HW_GPMI_TIMING1 0x00000080 |
Definition at line 164 of file gpmi-regs.h.
#define HW_GPMI_TIMING2 0x00000090 |
Definition at line 170 of file gpmi-regs.h.
#define LOCK_CS_ENABLE 0x1 |
Definition at line 49 of file gpmi-regs.h.
#define MX23_BM_GPMI_CTRL0_CS (3 << BP_GPMI_CTRL0_CS) |
Definition at line 54 of file gpmi-regs.h.
#define MX23_BM_GPMI_DEBUG_READY0 (1 << MX23_BP_GPMI_DEBUG_READY0) |
Definition at line 183 of file gpmi-regs.h.
#define MX23_BP_GPMI_CTRL0_LOCK_CS 22 |
Definition at line 47 of file gpmi-regs.h.
#define MX23_BP_GPMI_DEBUG_READY0 28 |
Definition at line 182 of file gpmi-regs.h.
#define MX28_BF_GPMI_STAT_READY_BUSY | ( | v | ) | (((v) << MX28_BP_GPMI_STAT_READY_BUSY) & MX28_BM_GPMI_STAT_READY_BUSY) |
Definition at line 177 of file gpmi-regs.h.
#define MX28_BM_GPMI_CTRL0_CS (7 << BP_GPMI_CTRL0_CS) |
Definition at line 55 of file gpmi-regs.h.
#define MX28_BM_GPMI_STAT_READY_BUSY (0xff << MX28_BP_GPMI_STAT_READY_BUSY) |
Definition at line 176 of file gpmi-regs.h.
#define MX28_BP_GPMI_CTRL0_LOCK_CS 27 |
Definition at line 48 of file gpmi-regs.h.
#define MX28_BP_GPMI_STAT_READY_BUSY 24 |
Definition at line 175 of file gpmi-regs.h.