Searched refs:gpio (Results 1 - 25 of 25) sorted by relevance

/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/arm/mach-sa1100/
H A Dyopy.c26 int yopy_gpio_test(unsigned int gpio) argument
28 return ((yopy_egpio & (1 << gpio)) != 0);
31 void yopy_gpio_set(unsigned int gpio, int level) argument
35 mask = 1 << gpio;
H A Dh3600.c78 long gpio = 0; local
84 gpio |= GPIO_H3100_LCD_3V_ON;
90 gpio |= GPIO_H3100_AUD_PWR_ON
94 gpio |= GPIO_H3100_QMUTE;
109 gpio |= GPIO_H3100_IR_ON;
112 gpio |= GPIO_H3100_IR_FSEL;
125 GPSR = gpio;
128 GPCR = gpio;
135 printk(__FUNCTION__ " : type=%d (%s) gpio=0x%x (0x%x) egpio=0x%x (0x%x) setp=%d\n",
136 x, egpio_names[x], GPLR, gpio, h3600_egpi
[all...]
H A Dgraphicsclient.c169 graphicsclient_register_cts_intr(int gpio, int irq, argument
174 set_GPIO_IRQ_edge(gpio, GPIO_BOTH_EDGES);
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/pcmcia/
H A Dbcm4710_pcmcia.c66 outen = readl(&eir->gpio[0].outen);
68 out0 = readl(&eir->gpio[0].out);
72 writel(out0, &eir->gpio[0].out);
73 writel(outen, &eir->gpio[0].outen);
75 writel(out1, &eir->gpio[0].out);
77 writel(out0, &eir->gpio[0].out);
130 outen = readl(&eir->gpio[0].outen);
132 writel(outen, &eir->gpio[0].outen);
152 DEBUG(2, "\tgpio_outen0\t= 0x%08x:\n", readl(&eir->gpio[0].outen));
153 DEBUG(2, "\tgpio_out0\t= 0x%08x:\n", readl(&eir->gpio[
[all...]
H A Dsa1100_assabet.c18 unsigned int gpio; member in struct:irqs
35 set_GPIO_IRQ_edge(irqs[i].gpio, GPIO_NO_EDGES);
165 set_GPIO_IRQ_edge(irqs[i].gpio, GPIO_BOTH_EDGES);
180 set_GPIO_IRQ_edge(irqs[i].gpio, GPIO_NO_EDGES);
H A Dsa1100_cerf.c23 unsigned int gpio; member in struct:irqs
38 set_GPIO_IRQ_edge(irqs[i].gpio, GPIO_NO_EDGES);
144 set_GPIO_IRQ_edge(irqs[i].gpio, GPIO_BOTH_EDGES);
155 set_GPIO_IRQ_edge(irqs[i].gpio, GPIO_NO_EDGES);
H A Dsa1100_flexanet.c18 unsigned int gpio; member in struct:__anon2058
47 set_GPIO_IRQ_edge(irqs[i].gpio, GPIO_NO_EDGES);
/asus-wl-520gu-7.0.1.45/src/et/sys/
H A Detc_adm.c42 int gpio; local
54 gpio = getgpiopin(vars, "adm_eecs", 2);
55 ET_ERROR(("adm_attach: got %d as adm_eecs", gpio));
56 if (gpio == GPIO_PIN_NOTDEFINED) {
57 ET_ERROR(("adm_attach: adm_eecs gpio fail: GPIO 2 in use"));
60 adm->eecs = 1 << gpio;
62 gpio = getgpiopin(vars, "adm_eesk", 3);
63 ET_ERROR(("adm_attach: got %d as adm_eesk", gpio));
64 if (gpio == GPIO_PIN_NOTDEFINED) {
65 ET_ERROR(("adm_attach: adm_eesk gpio fai
[all...]
/asus-wl-520gu-7.0.1.45/src/shared/nvram/
H A Dnvram_rw.c101 int gpio; local
110 gpio = (int) bcm_atoi(value);
111 if (gpio > 7)
115 sb_gpioouten(sbh, ((uint32) 1 << gpio), 0, GPIO_DRV_PRIORITY);
117 return gpio;
123 int gpio; local
127 if ((gpio = nvram_resetgpio_init((void *)sbh)) < 0)
132 if (sb_gpioin(sbh) & ((uint32) 1 << gpio))
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/cris/drivers/
H A DMakefile16 obj-$(CONFIG_ETRAX_GPIO) += gpio.o
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-arm/arch-sa1100/
H A Dyopy.h75 extern int yopy_gpio_test(unsigned int gpio);
76 extern void yopy_gpio_set(unsigned int gpio, int level);
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-arm/arch-sa1100/
H A Dyopy.h75 extern int yopy_gpio_test(unsigned int gpio);
76 extern void yopy_gpio_set(unsigned int gpio, int level);
/asus-wl-520gu-7.0.1.45/src/router/rc/
H A Dwatchdog.c105 #define LED_CONTROL(led,flag) gpio_write("/dev/gpio/out", led, flag)
146 void gpio_write(char *dev, int gpio, int val);
154 bcmgpio_fd = open("/dev/gpio", O_RDWR);
156 printf ("Failed to open /dev/gpio\n");
174 struct gpio_ioctl gpio; local
177 gpio.val = val;
178 gpio.mask = mask;
200 if (ioctl(bcmgpio_fd, type, &gpio) < 0) {
204 return (gpio.val);
207 void gpio_write(char *dev, int gpio, in argument
233 gpio_read(char *dev, int gpio) argument
[all...]
H A DMakefile117 cd $(INSTALLDIR)/sbin && ln -sf rc gpio
/asus-wl-520gu-7.0.1.45/src/router/rc.orig/
H A Dwatchdog.c105 #define LED_CONTROL(led,flag) gpio_write("/dev/gpio/out", led, flag)
146 void gpio_write(char *dev, int gpio, int val);
154 bcmgpio_fd = open("/dev/gpio", O_RDWR);
156 printf ("Failed to open /dev/gpio\n");
174 struct gpio_ioctl gpio; local
177 gpio.val = val;
178 gpio.mask = mask;
200 if (ioctl(bcmgpio_fd, type, &gpio) < 0) {
204 return (gpio.val);
207 void gpio_write(char *dev, int gpio, in argument
233 gpio_read(char *dev, int gpio) argument
[all...]
H A DMakefile115 cd $(INSTALLDIR)/sbin && ln -sf rc gpio
/asus-wl-520gu-7.0.1.45/src/router/libbcm/
H A Dbcmgpio.c46 int connected; /* is gpio being used? */
54 int strobing; /* is gpio strobing? */
83 bcmgpio_fd = open("/dev/gpio", O_RDWR);
85 GPIO_ERROR ("Failed to open /dev/gpio\n");
103 struct gpio_ioctl gpio; local
106 gpio.val = val;
107 gpio.mask = mask;
129 if (ioctl(bcmgpio_fd, type, &gpio) < 0) {
133 return (gpio.val);
223 * releasing the gpio does
[all...]
/asus-wl-520gu-7.0.1.45/src/cfe/cfe/arch/mips/board/bcm947xx/src/
H A Dbcm947xx_devs.c107 int gpio; local
109 if ((gpio = nvram_resetgpio_init ((void *)sbh)) < 0)
114 if (sb_gpioin(sbh) & ((uint32)1 << gpio)) {
117 if (sb_gpioin(sbh) & ((uint32)1 << gpio))
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/ppc/platforms/
H A Dpmac_feature.c362 u8 gpio; local
368 gpio = MACIO_IN8(HRW_GPIO_MODEM_RESET) & ~1;
371 MACIO_OUT8(HRW_GPIO_MODEM_RESET, gpio);
389 MACIO_OUT8(HRW_GPIO_MODEM_RESET, gpio | 1);
392 MACIO_OUT8(HRW_GPIO_MODEM_RESET, gpio);
395 MACIO_OUT8(HRW_GPIO_MODEM_RESET, gpio | 1);
761 u8 gpio; local
773 gpio = MACIO_IN8(KL_GPIO_MODEM_RESET);
774 gpio |= KEYLARGO_GPIO_OUTPUT_ENABLE;
775 gpio
1472 u8 gpio; local
[all...]
/asus-wl-520gu-7.0.1.45/src/include/
H A Dsbextif.h46 * gpio outputs without needing to share a single register pair.
83 /* gpio */
85 struct gpiouser gpio[NGPIOUSER]; member in struct:__anon229
116 #define ES_GI (1 << 2) /* gpio interrupt pin (ro) */
118 /* gpio bit mask */
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/media/video/
H A Dbttv-cards.c617 tuner_type: 5, // default for now, gpio reads BFFF06 for Pal bg+dk
1328 /* overwrite gpio stuff ?? */
1345 printk(KERN_INFO "bttv%d: gpio config override: mask=0x%x, mux=",
1359 int gpio,outbits,has_remote,has_radio,is_capture_only,is_lr90,has_tda9820_tda9821; local
1365 gpio=btread(BT848_GPIO_DATA);
1378 ttype=(gpio&0x0f0000)>>16;
1394 has_remote = gpio & 0x800000;
1395 has_radio = gpio & 0x400000;
1398 is_capture_only = !(gpio & 0x008000); //GPIO15
1399 has_tda9820_tda9821 = !(gpio
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/telephony/
H A Dixj.c1620 j->gpio.bytes.low = j->ssr.low;
1621 j->gpio.bytes.high = j->ssr.high;
1700 j->gpio.bytes.high = 0x0B;
1701 j->gpio.bits.gpio6 = 0;
1702 j->gpio.bits.gpio7 = 0;
1703 ixj_WriteDSPCommand(j->gpio.word, j);
1756 j->gpio.bytes.high = 0x0B;
1757 j->gpio.bits.gpio6 = 0;
1758 j->gpio.bits.gpio7 = 1;
1759 ixj_WriteDSPCommand(j->gpio
[all...]
H A Dixj.h1254 GPIO gpio; member in struct:__anon2770
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/macintosh/
H A Dvia-pmu.c328 struct device_node *gpio, *gpiop; local
338 gpiop = find_devices("gpio");
341 gpio = find_devices("extint-gpio1");
342 if (gpio && gpio->parent == gpiop && gpio->n_intrs)
343 gpio_irq = gpio->intrs[0].line;
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/sound/
H A Dtrident.c1734 u32 gpio; local
1750 gpio = inl(TRID_REG(card, ALI_GPIO));
1752 ali_queue_task(card, gpio&0x07);

Completed in 412 milliseconds