Searched refs:MXS_GPIO_NR (Results 1 – 5 of 5) sorted by relevance
/linux-2.6.39/arch/arm/mach-mxs/ |
D | module-tx28.c | 18 #define TX28_FEC_PHY_POWER MXS_GPIO_NR(3, 29) 19 #define TX28_FEC_PHY_RESET MXS_GPIO_NR(4, 13) 85 unsigned int gpio = MXS_GPIO_NR(PAD_BANK(tx28_fec_gpio_pads[i]), in tx28_add_fec0() 113 gpio_direction_input(MXS_GPIO_NR(4, 5)); in tx28_add_fec0() 115 gpio_direction_output(MXS_GPIO_NR(4, 2), 1); in tx28_add_fec0() 116 gpio_direction_output(MXS_GPIO_NR(4, 3), 1); in tx28_add_fec0() 117 gpio_direction_output(MXS_GPIO_NR(4, 4), 1); in tx28_add_fec0() 137 unsigned int gpio = MXS_GPIO_NR(PAD_BANK(tx28_fec_gpio_pads[i]), in tx28_add_fec0()
|
D | mach-mx28evk.c | 31 #define MX28EVK_FLEXCAN_SWITCH MXS_GPIO_NR(2, 13) 32 #define MX28EVK_FEC_PHY_POWER MXS_GPIO_NR(2, 15) 33 #define MX28EVK_BL_ENABLE MXS_GPIO_NR(3, 18) 34 #define MX28EVK_LCD_ENABLE MXS_GPIO_NR(3, 30) 35 #define MX28EVK_FEC_PHY_RESET MXS_GPIO_NR(4, 13) 37 #define MX28EVK_MMC0_WRITE_PROTECT MXS_GPIO_NR(2, 12) 38 #define MX28EVK_MMC1_WRITE_PROTECT MXS_GPIO_NR(0, 28) 39 #define MX28EVK_MMC0_SLOT_POWER MXS_GPIO_NR(3, 28) 40 #define MX28EVK_MMC1_SLOT_POWER MXS_GPIO_NR(3, 29)
|
D | mach-mx23evk.c | 29 #define MX23EVK_LCD_ENABLE MXS_GPIO_NR(1, 18) 30 #define MX23EVK_BL_ENABLE MXS_GPIO_NR(1, 28) 31 #define MX23EVK_MMC0_WRITE_PROTECT MXS_GPIO_NR(1, 30) 32 #define MX23EVK_MMC0_SLOT_POWER MXS_GPIO_NR(1, 29)
|
D | mach-tx28.c | 28 #define TX28_STK5_GPIO_LED MXS_GPIO_NR(4, 10)
|
/linux-2.6.39/arch/arm/mach-mxs/include/mach/ |
D | gpio.h | 25 #define MXS_GPIO_NR(bank, nr) ((bank) * 32 + (nr)) macro
|