/netgear-R7800-V1.0.2.28/target/linux/adm5120/files/arch/mips/include/asm/mach-adm5120/ |
H A D | gpio.h | 17 #include <asm-generic/gpio.h> 62 extern int __adm5120_gpio0_get_value(unsigned gpio); 63 extern void __adm5120_gpio0_set_value(unsigned gpio, int value); 64 extern int __adm5120_gpio1_get_value(unsigned gpio); 65 extern void __adm5120_gpio1_set_value(unsigned gpio, int value); 66 extern int adm5120_gpio_to_irq(unsigned gpio); 69 static inline int gpio_get_value(unsigned gpio) argument 73 switch (gpio) { 75 ret = __adm5120_gpio0_get_value(gpio); 78 ret = __adm5120_gpio1_get_value(gpio 88 gpio_set_value(unsigned gpio, int value) argument 103 gpio_to_irq(unsigned gpio) argument [all...] |
/netgear-R7800-V1.0.2.28/target/linux/ubicom32/files/arch/ubicom32/mach-common/ |
H A D | ubi32-gpio.c | 2 * arch/ubicom32/mach-common/ubi32-gpio.c 3 * Ubicom gpio driver 34 #include <linux/gpio.h> 44 #include <linux/gpio.h> 122 inline int check_gpio(unsigned gpio) argument 124 if (gpio >= MAX_UBICOM_GPIOS) 134 * Get the IO port associated with a certain gpio 136 struct ubicom32_io_port *ubi_gpio_get_port(unsigned gpio) argument 138 if (gpio_bank(gpio) > NUM_GPIO_PORTS) { 141 return gpio_bank_addr[gpio_bank(gpio)]; 147 ubi_gpio_error(unsigned gpio) argument 155 ubi_port_setup(unsigned gpio, unsigned short usage) argument 169 ubi_gpio_request(struct gpio_chip *chip, unsigned gpio) argument 197 ubi_gpio_free(struct gpio_chip *chip, unsigned gpio) argument 224 ubi_gpio_direction_input(struct gpio_chip *chip, unsigned gpio) argument 250 ubi_gpio_direction_output(struct gpio_chip *chip, unsigned gpio, int value) argument 285 ubi_gpio_get_value(struct gpio_chip *chip, unsigned gpio) argument 294 ubi_gpio_set_value(struct gpio_chip *chip, unsigned gpio, int arg) argument 313 ubi_gpio_to_irq(struct gpio_chip *chip, unsigned gpio) argument 366 ubi_get_gpio_dir(unsigned gpio) argument [all...] |
/netgear-R7800-V1.0.2.28/target/linux/generic/files/drivers/pwm/ |
H A D | Makefile | 5 obj-$(CONFIG_GPIO_PWM) += gpio-pwm.o
|
/netgear-R7800-V1.0.2.28/target/linux/mcs814x/files-3.3/arch/arm/mach-mcs814x/include/mach/ |
H A D | gpio.h | 5 #include <asm-generic/gpio.h> 11 static inline int gpio_to_irq(unsigned gpio) argument
|
/netgear-R7800-V1.0.2.28/target/linux/ramips/files/arch/mips/ralink/common/ |
H A D | Makefile | 10 obj-y := prom.o setup.o intc.o gpio.o 12 obj-$(CONFIG_RALINK_DEV_GPIO_BUTTONS) += dev-gpio-buttons.o 13 obj-$(CONFIG_RALINK_DEV_GPIO_LEDS) += dev-gpio-leds.o
|
/netgear-R7800-V1.0.2.28/target/linux/lantiq/files/arch/mips/lantiq/xway/ |
H A D | mach-wbmr.c | 12 #include <linux/gpio.h> 21 #include <dev-gpio-leds.h> 22 #include <dev-gpio-buttons.h> 59 { .name = "soc:blue:movie", .gpio = 20, .active_low = 1, }, 60 { .name = "soc:red:internet", .gpio = 18, .active_low = 1, }, 61 { .name = "soc:green:internet", .gpio = 17, .active_low = 1, }, 62 { .name = "soc:green:adsl", .gpio = 16, .active_low = 1, }, 63 { .name = "soc:green:wlan", .gpio = 15, .active_low = 1, }, 64 { .name = "soc:red:security", .gpio = 14, .active_low = 1, }, 65 { .name = "soc:green:power", .gpio [all...] |
H A D | mach-p2601hnfx.c | 12 #include <linux/gpio.h> 19 #include <linux/mdio-gpio.h> 25 #include <dev-gpio-leds.h> 26 #include <dev-gpio-buttons.h> 58 { .name = "soc:yellow:phone", .gpio = 216, .active_low = 1 }, 59 { .name = "soc:green:phone", .gpio = 217, .active_low = 1 }, 60 { .name = "soc:yellow:wifi", .gpio = 218, .active_low = 1 }, 61 { .name = "soc:green:power", .gpio = 219, .active_low = 1 }, 62 { .name = "soc:red:internet", .gpio = 220, .active_low = 1 }, 63 { .name = "soc:green:internet", .gpio [all...] |
H A D | mach-arv.c | 12 #include <linux/gpio.h> 25 #include <dev-gpio-leds.h> 26 #include <dev-gpio-buttons.h> 138 .gpio = PCI_GNT1 | PCI_REQ1, 150 { .name = "soc:green:foo", .gpio = 4, .active_low = 1, }, 155 { .name = "soc:green:power", .gpio = 3, .active_low = 1, .default_trigger = "default-on" }, 156 { .name = "soc:green:adsl", .gpio = 4, .active_low = 1, .default_trigger = "default-on" }, 157 { .name = "soc:green:internet", .gpio = 5, .active_low = 1, .default_trigger = "default-on" }, 158 { .name = "soc:green:wifi", .gpio = 6, .active_low = 1, .default_trigger = "default-on" }, 159 { .name = "soc:yellow:wps", .gpio [all...] |
/netgear-R7800-V1.0.2.28/target/linux/ramips/files/arch/mips/ralink/rt305x/ |
H A D | mach-dir-300-revb.c | 15 #include <asm/mach-ralink/dev-gpio-buttons.h> 16 #include <asm/mach-ralink/dev-gpio-leds.h> 27 * switch and gpio must be active to make it light up 47 .gpio = DIR_300B_GPIO_LED_STATUS_AMBER, 51 .gpio = DIR_300B_GPIO_LED_STATUS_GREEN, 55 .gpio = DIR_300B_GPIO_LED_WAN_AMBER, 59 .gpio = DIR_300B_GPIO_LED_WAN_GREEN, 63 .gpio = DIR_300B_GPIO_LED_WPS, 74 .gpio = DIR_300B_GPIO_BUTTON_RESET, 81 .gpio [all...] |
H A D | mach-f5d8235-v2.c | 17 #include <asm/mach-ralink/dev-gpio-buttons.h> 18 #include <asm/mach-ralink/dev-gpio-leds.h> 37 .gpio = F5D8235_V2_GPIO_LED_INTERNET_BLUE, 41 .gpio = F5D8235_V2_GPIO_LED_INTERNET_AMBER, 45 .gpio = F5D8235_V2_GPIO_LED_MODEM_BLUE, 49 .gpio = F5D8235_V2_GPIO_LED_MODEM_AMBER, 53 .gpio = F5D8235_V2_GPIO_LED_ROUTER, 57 .gpio = F5D8235_V2_GPIO_LED_STORAGE_BLUE, 61 .gpio = F5D8235_V2_GPIO_LED_STORAGE_AMBER, 65 .gpio [all...] |
H A D | mach-wl341v3.c | 15 #include <asm/mach-ralink/dev-gpio-buttons.h> 16 #include <asm/mach-ralink/dev-gpio-leds.h> 39 .gpio = WL341V3_GPIO_LED_FIRST_AMBER, 43 .gpio = WL341V3_GPIO_LED_FIRST_BLUE, 47 .gpio = WL341V3_GPIO_LED_THIRD_AMBER, 51 .gpio = WL341V3_GPIO_LED_THIRD_BLUE, 55 .gpio = WL341V3_GPIO_LED_FOURTH_BLUE, 59 .gpio = WL341V3_GPIO_LED_FIFTH_AMBER, 63 .gpio = WL341V3_GPIO_LED_FIFTH_BLUE, 74 .gpio [all...] |
H A D | mach-dap-1350.c | 9 #include <asm/mach-ralink/dev-gpio-buttons.h> 10 #include <asm/mach-ralink/dev-gpio-leds.h> 31 .gpio = DAP_1350_GPIO_LED_POWER_BLUE, 35 .gpio = DAP_1350_GPIO_LED_POWER_RED, 39 .gpio = DAP_1350_GPIO_LED_WPS, 50 .gpio = DAP_1350_GPIO_BUTTON_RESET, 57 .gpio = DAP_1350_GPIO_BUTTON_WPS, 64 .gpio = DAP_1350_GPIO_SWITCH_MODE_RT, 71 .gpio = DAP_1350_GPIO_SWITCH_MODE_AP,
|
H A D | mach-hw550-3g.c | 15 #include <asm/mach-ralink/dev-gpio-buttons.h> 16 #include <asm/mach-ralink/dev-gpio-leds.h> 37 .gpio = HW550_3G_GPIO_LED_USB, 41 .gpio = HW550_3G_GPIO_LED_3G, 45 .gpio = HW550_3G_GPIO_LED_STATUS, 49 .gpio = HW550_3G_GPIO_LED_WPS, 60 .gpio = HW550_3G_GPIO_BUTTON_RESET, 67 .gpio = HW550_3G_GPIO_BUTTON_CONNECT, 74 .gpio = HW550_3G_GPIO_BUTTON_WPS,
|
H A D | mach-mofi3500-3gn.c | 15 #include <asm/mach-ralink/dev-gpio-buttons.h> 16 #include <asm/mach-ralink/dev-gpio-leds.h> 37 .gpio = MOFI3500_3GN_GPIO_LED_USB, 41 .gpio = MOFI3500_3GN_GPIO_LED_3G, 45 .gpio = MOFI3500_3GN_GPIO_LED_STATUS, 49 .gpio = MOFI3500_3GN_GPIO_LED_WPS, 60 .gpio = MOFI3500_3GN_GPIO_BUTTON_RESET, 67 .gpio = MOFI3500_3GN_GPIO_BUTTON_CONNECT, 74 .gpio = MOFI3500_3GN_GPIO_BUTTON_WPS,
|
H A D | mach-ur-336un.c | 5 #include <asm/mach-ralink/dev-gpio-buttons.h> 6 #include <asm/mach-ralink/dev-gpio-leds.h> 30 .gpio = UR_336UN_GPIO_LED_3G, 34 .gpio = UR_336UN_GPIO_LED_GATEWAY, 38 .gpio = UR_336UN_GPIO_LED_AP, 42 .gpio = UR_336UN_GPIO_LED_WPS, 46 .gpio = UR_336UN_GPIO_LED_STATION, 57 .gpio = UR_336UN_GPIO_BUTTON_RESET, 64 .gpio = UR_336UN_GPIO_BUTTON_CONNECT,
|
H A D | mach-whr-g300n.c | 15 #include <asm/mach-ralink/dev-gpio-buttons.h> 16 #include <asm/mach-ralink/dev-gpio-leds.h> 37 .gpio = WHR_G300N_GPIO_LED_DIAG, 41 .gpio = WHR_G300N_GPIO_LED_ROUTER, 45 .gpio = WHR_G300N_GPIO_LED_SECURITY, 56 .gpio = WHR_G300N_GPIO_BUTTON_RESET, 63 .gpio = WHR_G300N_GPIO_BUTTON_AOSS, 70 .gpio = WHR_G300N_GPIO_BUTTON_ROUTER_OFF, 77 .gpio = WHR_G300N_GPIO_BUTTON_ROUTER_ON,
|
H A D | mach-wr512-3gn.c | 23 #include <asm/mach-ralink/dev-gpio-buttons.h> 24 #include <asm/mach-ralink/dev-gpio-leds.h> 48 .gpio = WR512_3GN_GPIO_LED_3G, 52 .gpio = WR512_3GN_GPIO_LED_GATEWAY, 56 .gpio = WR512_3GN_GPIO_LED_AP, 60 .gpio = WR512_3GN_GPIO_LED_WPS, 64 .gpio = WR512_3GN_GPIO_LED_STATION, 75 .gpio = WR512_3GN_GPIO_BUTTON_RESET, 82 .gpio = WR512_3GN_GPIO_BUTTON_CONNECT,
|
/netgear-R7800-V1.0.2.28/target/linux/ar71xx/files/arch/mips/ath79/ |
H A D | mach-whr-hp-g300n.c | 21 #include "dev-gpio-buttons.h" 22 #include "dev-leds-gpio.h" 48 .gpio = WHRHPG300N_GPIO_LED_SECURITY, 52 .gpio = WHRHPG300N_GPIO_LED_DIAG, 56 .gpio = WHRHPG300N_GPIO_LED_ROUTER, 60 .gpio = WHRHPG300N_GPIO_LED_WAN, 64 .gpio = WHRHPG300N_GPIO_LED_LAN1, 68 .gpio = WHRHPG300N_GPIO_LED_LAN2, 72 .gpio = WHRHPG300N_GPIO_LED_LAN3, 76 .gpio [all...] |
H A D | mach-tl-wr741nd.c | 17 #include "dev-gpio-buttons.h" 18 #include "dev-leds-gpio.h" 48 .gpio = TL_WR741ND_GPIO_LED_LAN1, 52 .gpio = TL_WR741ND_GPIO_LED_LAN2, 56 .gpio = TL_WR741ND_GPIO_LED_LAN3, 60 .gpio = TL_WR741ND_GPIO_LED_LAN4, 64 .gpio = TL_WR741ND_GPIO_LED_QSS, 68 .gpio = TL_WR741ND_GPIO_LED_SYSTEM, 72 .gpio = TL_WR741ND_GPIO_LED_WAN, 83 .gpio [all...] |
H A D | mach-dir-600-a1.c | 18 #include "dev-gpio-buttons.h" 19 #include "dev-leds-gpio.h" 46 .gpio = DIR_600_A1_GPIO_LED_POWER_GREEN, 49 .gpio = DIR_600_A1_GPIO_LED_POWER_AMBER, 52 .gpio = DIR_600_A1_GPIO_LED_WAN_AMBER, 55 .gpio = DIR_600_A1_GPIO_LED_WAN_GREEN, 59 .gpio = DIR_600_A1_GPIO_LED_LAN1, 63 .gpio = DIR_600_A1_GPIO_LED_LAN2, 67 .gpio = DIR_600_A1_GPIO_LED_LAN3, 71 .gpio [all...] |
H A D | mach-tl-wr741nd-v4.c | 11 #include <linux/gpio.h> 18 #include "dev-gpio-buttons.h" 19 #include "dev-leds-gpio.h" 52 .gpio = TL_WR741NDV4_GPIO_LED_LAN1, 56 .gpio = TL_WR741NDV4_GPIO_LED_LAN2, 60 .gpio = TL_WR741NDV4_GPIO_LED_LAN3, 64 .gpio = TL_WR741NDV4_GPIO_LED_LAN4, 68 .gpio = TL_WR741NDV4_GPIO_LED_QSS, 72 .gpio = TL_WR741NDV4_GPIO_LED_SYSTEM, 76 .gpio [all...] |
/netgear-R7800-V1.0.2.28/target/linux/generic/files/include/linux/ |
H A D | gpio_buttons.h | 19 int gpio; /* GPIO line number */ member in struct:gpio_button
|
/netgear-R7800-V1.0.2.28/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/ |
H A D | gpio.h | 17 #include <asm-generic/gpio.h>
|
/netgear-R7800-V1.0.2.28/target/linux/ubicom32/files/arch/ubicom32/include/asm/ |
H A D | ubicom32input.h | 3 * Ubicom32 Input driver, based on gpio-keys 48 int gpio; member in struct:ubicom32input_button
|
/netgear-R7800-V1.0.2.28/target/linux/ubicom32/files/arch/ubicom32/mach-ip7k/ |
H A D | board-ip7500module.c | 39 #include <linux/gpio.h>
|