Home
last modified time | relevance | path

Searched refs:MXS_GPIO_NR (Results 1 – 8 of 8) sorted by relevance

/linux-3.4.99/arch/arm/mach-mxs/
Dmodule-tx28.c18 #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()
Dmach-mx28evk.c34 #define MX28EVK_FLEXCAN_SWITCH MXS_GPIO_NR(2, 13)
35 #define MX28EVK_FEC_PHY_POWER MXS_GPIO_NR(2, 15)
36 #define MX28EVK_GPIO_LED MXS_GPIO_NR(3, 5)
37 #define MX28EVK_BL_ENABLE MXS_GPIO_NR(3, 18)
38 #define MX28EVK_LCD_ENABLE MXS_GPIO_NR(3, 30)
39 #define MX28EVK_FEC_PHY_RESET MXS_GPIO_NR(4, 13)
41 #define MX28EVK_MMC0_WRITE_PROTECT MXS_GPIO_NR(2, 12)
42 #define MX28EVK_MMC1_WRITE_PROTECT MXS_GPIO_NR(0, 28)
43 #define MX28EVK_MMC0_SLOT_POWER MXS_GPIO_NR(3, 28)
44 #define MX28EVK_MMC1_SLOT_POWER MXS_GPIO_NR(3, 29)
Dmach-mx23evk.c28 #define MX23EVK_LCD_ENABLE MXS_GPIO_NR(1, 18)
29 #define MX23EVK_BL_ENABLE MXS_GPIO_NR(1, 28)
30 #define MX23EVK_MMC0_WRITE_PROTECT MXS_GPIO_NR(1, 30)
31 #define MX23EVK_MMC0_SLOT_POWER MXS_GPIO_NR(1, 29)
Dmach-m28evk.c37 #define M28EVK_GPIO_USERLED1 MXS_GPIO_NR(3, 16)
38 #define M28EVK_GPIO_USERLED2 MXS_GPIO_NR(3, 17)
40 #define MX28EVK_BL_ENABLE MXS_GPIO_NR(3, 18)
41 #define M28EVK_LCD_ENABLE MXS_GPIO_NR(3, 28)
43 #define MX28EVK_MMC0_WRITE_PROTECT MXS_GPIO_NR(2, 12)
44 #define MX28EVK_MMC1_WRITE_PROTECT MXS_GPIO_NR(0, 28)
Dmach-stmp378x_devb.c33 #define STMP378X_DEVB_MMC0_WRITE_PROTECT MXS_GPIO_NR(1, 30)
34 #define STMP378X_DEVB_MMC0_SLOT_POWER MXS_GPIO_NR(1, 29)
Dmach-tx28.c28 #define TX28_STK5_GPIO_LED MXS_GPIO_NR(4, 10)
Dmach-apx4devkit.c40 #define APX4DEVKIT_GPIO_USERLED MXS_GPIO_NR(3, 28)
/linux-3.4.99/arch/arm/mach-mxs/include/mach/
Dmxs.h79 #define MXS_GPIO_NR(bank, nr) ((bank) * 32 + (nr)) macro