/drivers/gpio/ |
D | gpio-ep93xx.c | 89 int gpio_irq = gpio_to_irq(EP93XX_GPIO_LINE_A(0)) + i; in ep93xx_gpio_ab_irq_handler() local 90 generic_handle_irq(gpio_irq); in ep93xx_gpio_ab_irq_handler() 97 int gpio_irq = gpio_to_irq(EP93XX_GPIO_LINE_B(0)) + i; in ep93xx_gpio_ab_irq_handler() local 98 generic_handle_irq(gpio_irq); in ep93xx_gpio_ab_irq_handler() 111 int gpio_irq = gpio_to_irq(EP93XX_GPIO_LINE_F(0)) + port_f_idx; in ep93xx_gpio_f_irq_handler() local 113 generic_handle_irq(gpio_irq); in ep93xx_gpio_f_irq_handler() 231 int gpio_irq; in ep93xx_gpio_init_irq() local 233 for (gpio_irq = gpio_to_irq(0); in ep93xx_gpio_init_irq() 234 gpio_irq <= gpio_to_irq(EP93XX_GPIO_LINE_MAX_IRQ); ++gpio_irq) { in ep93xx_gpio_init_irq() 235 irq_set_chip_and_handler(gpio_irq, &ep93xx_gpio_irq_chip, in ep93xx_gpio_init_irq() [all …]
|
D | gpio-ks8695.c | 61 static unsigned short gpio_irq[] = { KS8695_IRQ_EXTERN0, KS8695_IRQ_EXTERN1, KS8695_IRQ_EXTERN2, KS… variable 83 irq_set_irq_type(gpio_irq[pin], type); in ks8695_gpio_interrupt() 205 return gpio_irq[pin]; in ks8695_gpio_to_irq()
|
D | gpio-zynq.c | 481 unsigned int gpio_irq; in zynq_gpio_handle_bank_irq() local 483 gpio_irq = irq_find_mapping(irqdomain, offset + bank_offset); in zynq_gpio_handle_bank_irq() 484 generic_handle_irq(gpio_irq); in zynq_gpio_handle_bank_irq()
|
D | gpio-davinci.c | 393 return d->gpio_irq + offset; in gpio_to_irq_unbanked() 406 mask = __gpio_mask(data->irq - d->gpio_irq); in gpio_irq_type_unbanked() 551 chips[0].gpio_irq = bank_irq; in davinci_gpio_irq_setup()
|
D | gpio-dwapb.c | 137 int gpio_irq = irq_find_mapping(gpio->domain, hwirq); in dwapb_do_irq() local 139 generic_handle_irq(gpio_irq); in dwapb_do_irq() 142 if ((irq_get_trigger_type(gpio_irq) & IRQ_TYPE_SENSE_MASK) in dwapb_do_irq()
|
D | gpio-omap.c | 91 static int omap_irq_to_gpio(struct gpio_bank *bank, unsigned int gpio_irq) in omap_irq_to_gpio() argument 93 return bank->chip.base + gpio_irq; in omap_irq_to_gpio()
|
/drivers/mtd/onenand/ |
D | omap2.c | 54 int gpio_irq; member 162 if (c->gpio_irq) { in omap2_onenand_wait() 163 result = gpio_get_value(c->gpio_irq); in omap2_onenand_wait() 633 c->gpio_irq = pdata->gpio_irq; in omap2_onenand_probe() 637 c->gpio_irq = 0; in omap2_onenand_probe() 673 if (c->gpio_irq) { in omap2_onenand_probe() 674 if ((r = gpio_request(c->gpio_irq, "OneNAND irq")) < 0) { in omap2_onenand_probe() 676 "OneNAND\n", c->gpio_irq); in omap2_onenand_probe() 679 gpio_direction_input(c->gpio_irq); in omap2_onenand_probe() 681 if ((r = request_irq(gpio_to_irq(c->gpio_irq), in omap2_onenand_probe() [all …]
|
/drivers/nfc/st21nfcb/ |
D | i2c.c | 53 unsigned int gpio_irq; member 291 phy->gpio_irq = pdata->gpio_irq; in st21nfcb_nci_i2c_request_resources() 295 r = devm_gpio_request_one(&client->dev, phy->gpio_irq, in st21nfcb_nci_i2c_request_resources() 310 irq = gpio_to_irq(phy->gpio_irq); in st21nfcb_nci_i2c_request_resources() 314 phy->gpio_irq, r); in st21nfcb_nci_i2c_request_resources()
|
/drivers/tty/serial/ |
D | atmel_serial.c | 172 int gpio_irq[UART_GPIO_MAX]; member 506 if (atmel_port->gpio_irq[UART_GPIO_CTS] >= 0) in atmel_enable_ms() 507 enable_irq(atmel_port->gpio_irq[UART_GPIO_CTS]); in atmel_enable_ms() 511 if (atmel_port->gpio_irq[UART_GPIO_DSR] >= 0) in atmel_enable_ms() 512 enable_irq(atmel_port->gpio_irq[UART_GPIO_DSR]); in atmel_enable_ms() 516 if (atmel_port->gpio_irq[UART_GPIO_RI] >= 0) in atmel_enable_ms() 517 enable_irq(atmel_port->gpio_irq[UART_GPIO_RI]); in atmel_enable_ms() 521 if (atmel_port->gpio_irq[UART_GPIO_DCD] >= 0) in atmel_enable_ms() 522 enable_irq(atmel_port->gpio_irq[UART_GPIO_DCD]); in atmel_enable_ms() 545 if (atmel_port->gpio_irq[UART_GPIO_CTS] >= 0) in atmel_disable_ms() [all …]
|
/drivers/input/touchscreen/ |
D | atmel-wm97xx.c | 143 unsigned long gpio_irq; member 242 wm->pen_irq = atmel_wm97xx->gpio_irq; in atmel_wm97xx_acc_startup() 351 atmel_wm97xx->gpio_irq = gpio_to_irq(atmel_wm97xx->gpio_pen); in atmel_wm97xx_probe() 400 disable_irq(atmel_wm97xx->gpio_irq); in atmel_wm97xx_suspend() 413 enable_irq(atmel_wm97xx->gpio_irq); in atmel_wm97xx_resume()
|
/drivers/nfc/st21nfca/ |
D | i2c.c | 75 unsigned int gpio_irq; member 572 phy->gpio_irq = pdata->gpio_irq; in st21nfca_hci_i2c_request_resources() 576 r = devm_gpio_request_one(&client->dev, phy->gpio_irq, GPIOF_IN, in st21nfca_hci_i2c_request_resources() 593 irq = gpio_to_irq(phy->gpio_irq); in st21nfca_hci_i2c_request_resources() 597 phy->gpio_irq, r); in st21nfca_hci_i2c_request_resources()
|
/drivers/macintosh/ |
D | via-pmu.c | 148 static int gpio_irq = NO_IRQ; variable 422 gpio_irq = irq_of_parse_and_map(gpio_node, 0); in via_pmu_start() 424 if (gpio_irq != NO_IRQ) { in via_pmu_start() 425 if (request_irq(gpio_irq, gpio1_interrupt, IRQF_TIMER, in via_pmu_start() 428 " (GPIO1)\n", gpio_irq); in via_pmu_start() 1302 if (gpio_irq >= 0) in pmu_suspend() 1303 disable_irq_nosync(gpio_irq); in pmu_suspend() 1326 if (gpio_irq >= 0) in pmu_resume() 1327 enable_irq(gpio_irq); in pmu_resume() 1505 if (gpio_irq >= 0 && !gpio_irq_enabled) { in pmu_sr_intr() [all …]
|
/drivers/pinctrl/sh-pfc/ |
D | gpio.c | 210 const short *gpios = pfc->info->gpio_irq[i].gpios; in gpio_pin_to_irq() 224 return pfc->info->gpio_irq[i].irq; in gpio_pin_to_irq()
|
D | sh_pfc.h | 148 const struct pinmux_irq *gpio_irq; member
|
D | pfc-sh7372.c | 2643 .gpio_irq = pinmux_irqs,
|
D | pfc-r8a73a4.c | 2747 .gpio_irq = pinmux_irqs,
|
D | pfc-sh73a0.c | 3875 .gpio_irq = pinmux_irqs,
|
D | pfc-r8a7740.c | 3784 .gpio_irq = pinmux_irqs,
|
/drivers/power/ |
D | pm2301_charger.h | 470 unsigned int gpio_irq; member
|
/drivers/pinctrl/ |
D | pinctrl-st.c | 1460 int gpio_irq = 0, err; in st_gpiolib_register_bank() local 1510 gpio_irq = irq_res.start; in st_gpiolib_register_bank() 1512 gpio_irq, st_gpio_irq_handler); in st_gpiolib_register_bank() 1515 if (info->irqmux_base > 0 || gpio_irq > 0) { in st_gpiolib_register_bank()
|
/drivers/nfc/pn544/ |
D | i2c.c | 155 unsigned int gpio_irq; member 1003 phy->gpio_irq = pdata->get_gpio(NFC_GPIO_IRQ); in pn544_hci_i2c_probe()
|
/drivers/infiniband/hw/qib/ |
D | qib_iba7220.c | 1900 u32 gpio_irq = mask & gpiostatus; in unlikely_7220_intr() local 1913 dd->cspec->gpio_mask &= ~gpio_irq; in unlikely_7220_intr()
|
D | qib_iba7322.c | 3018 u32 gpio_irq = mask & gpiostatus; in unknown_7322_gpio_intr() local 3023 dd->cspec->gpio_mask &= ~gpio_irq; in unknown_7322_gpio_intr()
|