Linux Kernel
3.7.1
|
Go to the source code of this file.
Enumerations | |
enum | balloon3_features { BALLOON3_FEATURE_OHCI, BALLOON3_FEATURE_MMC, BALLOON3_FEATURE_CF, BALLOON3_FEATURE_AUDIO, BALLOON3_FEATURE_TOPPOLY } |
Functions | |
int | balloon3_has (enum balloon3_features feature) |
#define BALLOON3_AUX_NIRQ PXA_GPIO_TO_IRQ(BALLOON3_GPIO_AUX_NIRQ) |
Definition at line 175 of file balloon3.h.
#define BALLOON3_BP_CF_NRDY_IRQ BALLOON3_IRQ(0) |
Definition at line 61 of file balloon3.h.
#define BALLOON3_BP_NSTSCHG_IRQ BALLOON3_IRQ(1) |
Definition at line 62 of file balloon3.h.
#define BALLOON3_CF_ADD_ENABLE (1 << 2) |
Definition at line 58 of file balloon3.h.
#define BALLOON3_CF_CONTROL_REG (BALLOON3_FPGA_VIRT + 0x00e00008) |
Definition at line 33 of file balloon3.h.
#define BALLOON3_CF_ENABLE (1 << 1) |
Definition at line 57 of file balloon3.h.
#define BALLOON3_CF_nIRQ (1 << 0) |
Definition at line 52 of file balloon3.h.
#define BALLOON3_CF_nSTSCHG_BVD1 (1 << 1) |
Definition at line 53 of file balloon3.h.
#define BALLOON3_CF_RESET (1 << 0) |
Definition at line 56 of file balloon3.h.
#define BALLOON3_CF_STATUS_REG (BALLOON3_FPGA_VIRT + 0x00e00008) |
Definition at line 32 of file balloon3.h.
#define BALLOON3_CODEC_IRQ PXA_GPIO_TO_IRQ(BALLOON3_GPIO_CODEC_IRQ) |
Definition at line 176 of file balloon3.h.
#define BALLOON3_FPGA_LENGTH 0x01000000 |
Definition at line 27 of file balloon3.h.
#define BALLOON3_FPGA_PHYS PXA_CS4_PHYS |
Definition at line 25 of file balloon3.h.
#define BALLOON3_FPGA_SETnCLR (0x1000) |
Definition at line 29 of file balloon3.h.
#define BALLOON3_FPGA_VER (BALLOON3_FPGA_VIRT + 0x00e0001c) |
Definition at line 35 of file balloon3.h.
#define BALLOON3_FPGA_VIRT IOMEM(0xf1000000) /* as per balloon2 */ |
Definition at line 26 of file balloon3.h.
#define BALLOON3_GPIO_AUX_NIRQ (94) |
Definition at line 81 of file balloon3.h.
#define BALLOON3_GPIO_CODEC_IRQ (95) |
Definition at line 82 of file balloon3.h.
#define BALLOON3_GPIO_LED_IDLE (10) |
Definition at line 86 of file balloon3.h.
#define BALLOON3_GPIO_LED_NAND (9) |
Definition at line 85 of file balloon3.h.
#define BALLOON3_GPIO_RUN_BACKLIGHT (99) |
Definition at line 89 of file balloon3.h.
#define BALLOON3_GPIO_RUN_NAND (102) |
Definition at line 94 of file balloon3.h.
#define BALLOON3_GPIO_S0_CD (105) |
Definition at line 91 of file balloon3.h.
#define BALLOON3_INT_CONTROL_REG (BALLOON3_FPGA_VIRT + 0x00e0000C) |
Definition at line 44 of file balloon3.h.
Definition at line 108 of file balloon3.h.
Definition at line 109 of file balloon3.h.
#define BALLOON3_IRQ | ( | x | ) | (IRQ_BOARD_START + (x)) |
Definition at line 173 of file balloon3.h.
#define BALLOON3_NAND_BASE (PXA_CS4_PHYS + 0x00e00000) |
Definition at line 37 of file balloon3.h.
#define BALLOON3_NAND_CONTROL2_16BIT (1 << 0) |
Definition at line 78 of file balloon3.h.
#define BALLOON3_NAND_CONTROL2_REG (BALLOON3_FPGA_VIRT + 0x00e00010) |
Definition at line 39 of file balloon3.h.
#define BALLOON3_NAND_CONTROL_FLALE (1 << 1) |
Definition at line 71 of file balloon3.h.
#define BALLOON3_NAND_CONTROL_FLCE0 (1 << 2) |
Definition at line 70 of file balloon3.h.
#define BALLOON3_NAND_CONTROL_FLCE1 (1 << 3) |
Definition at line 69 of file balloon3.h.
#define BALLOON3_NAND_CONTROL_FLCE2 (1 << 4) |
Definition at line 68 of file balloon3.h.
#define BALLOON3_NAND_CONTROL_FLCE3 (1 << 5) |
Definition at line 67 of file balloon3.h.
#define BALLOON3_NAND_CONTROL_FLCLE (1 << 0) |
Definition at line 72 of file balloon3.h.
#define BALLOON3_NAND_CONTROL_FLSE (1 << 6) |
Definition at line 66 of file balloon3.h.
#define BALLOON3_NAND_CONTROL_FLWP (1 << 7) |
Definition at line 65 of file balloon3.h.
#define BALLOON3_NAND_CONTROL_REG (BALLOON3_FPGA_VIRT + 0x00e00014) |
Definition at line 41 of file balloon3.h.
#define BALLOON3_NAND_IO_REG (BALLOON3_FPGA_VIRT + 0x00e00000) |
Definition at line 38 of file balloon3.h.
#define BALLOON3_NAND_STAT_REG (BALLOON3_FPGA_VIRT + 0x00e00014) |
Definition at line 40 of file balloon3.h.
#define BALLOON3_NAND_STAT_RNB (1 << 0) |
Definition at line 75 of file balloon3.h.
#define BALLOON3_NR_IRQS (IRQ_BOARD_START + 16) |
Definition at line 178 of file balloon3.h.
#define BALLOON3_PCF_GPIO_BASE 160 |
Definition at line 97 of file balloon3.h.
#define BALLOON3_PCF_GPIO_LED0 (BALLOON3_PCF_GPIO_BASE + 0) |
Definition at line 98 of file balloon3.h.
#define BALLOON3_PCF_GPIO_LED1 (BALLOON3_PCF_GPIO_BASE + 1) |
Definition at line 99 of file balloon3.h.
#define BALLOON3_PCF_GPIO_LED2 (BALLOON3_PCF_GPIO_BASE + 2) |
Definition at line 100 of file balloon3.h.
#define BALLOON3_PCF_GPIO_LED3 (BALLOON3_PCF_GPIO_BASE + 3) |
Definition at line 101 of file balloon3.h.
#define BALLOON3_PCF_GPIO_LED4 (BALLOON3_PCF_GPIO_BASE + 4) |
Definition at line 102 of file balloon3.h.
#define BALLOON3_PCF_GPIO_LED5 (BALLOON3_PCF_GPIO_BASE + 5) |
Definition at line 103 of file balloon3.h.
#define BALLOON3_PCF_GPIO_LED6 (BALLOON3_PCF_GPIO_BASE + 6) |
Definition at line 104 of file balloon3.h.
#define BALLOON3_PCF_GPIO_LED7 (BALLOON3_PCF_GPIO_BASE + 7) |
Definition at line 105 of file balloon3.h.
#define BALLOON3_SAMOSA_ADDR_REG (BALLOON3_FPGA_VIRT + 0x00c00000) |
Definition at line 47 of file balloon3.h.
#define BALLOON3_SAMOSA_DATA_REG (BALLOON3_FPGA_VIRT + 0x00c00004) |
Definition at line 48 of file balloon3.h.
#define BALLOON3_SAMOSA_STATUS_REG (BALLOON3_FPGA_VIRT + 0x00c0001c) |
Definition at line 49 of file balloon3.h.
#define BALLOON3_VERSION_REG (BALLOON3_FPGA_VIRT + 0x00e0001c) |
Definition at line 45 of file balloon3.h.
#define CPLD_AROUTING_CLR 0x1c |
Definition at line 162 of file balloon3.h.
#define CPLD_AROUTING_LOONL2EXT_BIT 4 |
Definition at line 167 of file balloon3.h.
#define CPLD_AROUTING_LOONL2INT_BIT 3 |
Definition at line 166 of file balloon3.h.
#define CPLD_AROUTING_LOONR2EXT_BIT 7 |
Definition at line 170 of file balloon3.h.
#define CPLD_AROUTING_LOONR2INT_BIT 6 |
Definition at line 169 of file balloon3.h.
#define CPLD_AROUTING_LOONR2PHONE_BIT 5 |
Definition at line 168 of file balloon3.h.
#define CPLD_AROUTING_MIC2PHONE_BIT 0 |
Definition at line 163 of file balloon3.h.
#define CPLD_AROUTING_PHONE2EXT_BIT 2 |
Definition at line 165 of file balloon3.h.
#define CPLD_AROUTING_PHONE2INT_BIT 1 |
Definition at line 164 of file balloon3.h.
#define CPLD_AROUTING_SET 0x0c |
Definition at line 161 of file balloon3.h.
#define CPLD_LCD0_COMMAND_CLR 0x11 |
Definition at line 115 of file balloon3.h.
#define CPLD_LCD0_COMMAND_SET 0x01 |
Definition at line 114 of file balloon3.h.
#define CPLD_LCD0_DATA_CLR 0x10 |
Definition at line 113 of file balloon3.h.
#define CPLD_LCD0_DATA_SET 0x00 |
Definition at line 112 of file balloon3.h.
#define CPLD_LCD1_COMMAND_CLR 0x13 |
Definition at line 119 of file balloon3.h.
#define CPLD_LCD1_COMMAND_SET 0x03 |
Definition at line 118 of file balloon3.h.
#define CPLD_LCD1_DATA_CLR 0x12 |
Definition at line 117 of file balloon3.h.
#define CPLD_LCD1_DATA_SET 0x02 |
Definition at line 116 of file balloon3.h.
#define CPLD_LCD_BACKLIGHT_EN_0_BIT 0 |
Definition at line 132 of file balloon3.h.
#define CPLD_LCD_BACKLIGHT_EN_1_BIT 1 |
Definition at line 133 of file balloon3.h.
#define CPLD_LCD_CLR 0x18 |
Definition at line 131 of file balloon3.h.
#define CPLD_LCD_LED_GREEN_BIT 5 |
Definition at line 135 of file balloon3.h.
#define CPLD_LCD_LED_RED_BIT 4 |
Definition at line 134 of file balloon3.h.
#define CPLD_LCD_NRESET_BIT 7 |
Definition at line 136 of file balloon3.h.
#define CPLD_LCD_RO_CLR 0x19 |
Definition at line 139 of file balloon3.h.
#define CPLD_LCD_RO_LCD0_nWAIT_BIT 0 |
Definition at line 140 of file balloon3.h.
#define CPLD_LCD_RO_LCD1_nWAIT_BIT 1 |
Definition at line 141 of file balloon3.h.
#define CPLD_LCD_RO_SET 0x09 |
Definition at line 138 of file balloon3.h.
#define CPLD_LCD_SET 0x08 |
Definition at line 130 of file balloon3.h.
#define CPLD_MISC_CHG_D0_BIT 3 |
Definition at line 126 of file balloon3.h.
#define CPLD_MISC_CHG_D1_BIT 4 |
Definition at line 127 of file balloon3.h.
#define CPLD_MISC_CLR 0x17 |
Definition at line 122 of file balloon3.h.
#define CPLD_MISC_DAC_NCS_BIT 5 |
Definition at line 128 of file balloon3.h.
#define CPLD_MISC_LOON_NRESET_BIT 0 |
Definition at line 123 of file balloon3.h.
#define CPLD_MISC_LOON_UNSUSP_BIT 1 |
Definition at line 124 of file balloon3.h.
#define CPLD_MISC_RUN_5V_BIT 2 |
Definition at line 125 of file balloon3.h.
#define CPLD_MISC_SET 0x07 |
Definition at line 121 of file balloon3.h.
#define CPLD_SERIAL_CLR 0x1a |
Definition at line 144 of file balloon3.h.
#define CPLD_SERIAL_GSM_CTS_BIT 1 |
Definition at line 146 of file balloon3.h.
#define CPLD_SERIAL_GSM_DTR_BIT 2 |
Definition at line 147 of file balloon3.h.
#define CPLD_SERIAL_GSM_RI_BIT 0 |
Definition at line 145 of file balloon3.h.
#define CPLD_SERIAL_LPR_CTS_BIT 3 |
Definition at line 148 of file balloon3.h.
#define CPLD_SERIAL_SET 0x0a |
Definition at line 143 of file balloon3.h.
#define CPLD_SERIAL_TC232_CTS_BIT 4 |
Definition at line 149 of file balloon3.h.
#define CPLD_SERIAL_TC232_DSR_BIT 5 |
Definition at line 150 of file balloon3.h.
#define CPLD_SROUTING_CLR 0x1b |
Definition at line 153 of file balloon3.h.
#define CPLD_SROUTING_LOON_GSM (2 << 4) |
Definition at line 159 of file balloon3.h.
#define CPLD_SROUTING_LOON_LPR (0 << 4) |
Definition at line 157 of file balloon3.h.
#define CPLD_SROUTING_LOON_TC232 (1 << 4) |
Definition at line 158 of file balloon3.h.
#define CPLD_SROUTING_MSP430_GSM 2 |
Definition at line 156 of file balloon3.h.
#define CPLD_SROUTING_MSP430_LPR 0 |
Definition at line 154 of file balloon3.h.
#define CPLD_SROUTING_MSP430_TC232 1 |
Definition at line 155 of file balloon3.h.
#define CPLD_SROUTING_SET 0x0b |
Definition at line 152 of file balloon3.h.
enum balloon3_features |
BALLOON3_FEATURE_OHCI | |
BALLOON3_FEATURE_MMC | |
BALLOON3_FEATURE_CF | |
BALLOON3_FEATURE_AUDIO | |
BALLOON3_FEATURE_TOPPOLY |
Definition at line 17 of file balloon3.h.
int balloon3_has | ( | enum balloon3_features | feature | ) |
Definition at line 82 of file balloon3.c.