/drivers/mfd/ |
D | tqmx86.c | 56 static uint gpio_irq; variable 57 module_param(gpio_irq, uint, 0); 58 MODULE_PARM_DESC(gpio_irq, "GPIO IRQ number (7, 9, 12)"); 186 switch (gpio_irq) { in tqmx86_probe() 200 pr_err("tqmx86: Invalid GPIO IRQ (%d)\n", gpio_irq); in tqmx86_probe() 235 tqmx_gpio_resources[0].start = gpio_irq; in tqmx86_probe()
|
/drivers/tty/serial/ |
D | mxs-auart.c | 440 int gpio_irq[UART_GPIO_MAX]; member 790 if (s->gpio_irq[UART_GPIO_CTS] >= 0) in mxs_auart_enable_ms() 791 enable_irq(s->gpio_irq[UART_GPIO_CTS]); in mxs_auart_enable_ms() 794 if (s->gpio_irq[UART_GPIO_DSR] >= 0) in mxs_auart_enable_ms() 795 enable_irq(s->gpio_irq[UART_GPIO_DSR]); in mxs_auart_enable_ms() 797 if (s->gpio_irq[UART_GPIO_RI] >= 0) in mxs_auart_enable_ms() 798 enable_irq(s->gpio_irq[UART_GPIO_RI]); in mxs_auart_enable_ms() 800 if (s->gpio_irq[UART_GPIO_DCD] >= 0) in mxs_auart_enable_ms() 801 enable_irq(s->gpio_irq[UART_GPIO_DCD]); in mxs_auart_enable_ms() 819 if (s->gpio_irq[UART_GPIO_CTS] >= 0) in mxs_auart_disable_ms() [all …]
|
/drivers/pinctrl/actions/ |
D | pinctrl-owl.c | 868 struct gpio_irq_chip *gpio_irq; in owl_gpio_init() local 885 gpio_irq = &chip->irq; in owl_gpio_init() 886 gpio_irq->chip = &pctrl->irq_chip; in owl_gpio_init() 887 gpio_irq->handler = handle_simple_irq; in owl_gpio_init() 888 gpio_irq->default_type = IRQ_TYPE_NONE; in owl_gpio_init() 889 gpio_irq->parent_handler = owl_gpio_irq_handler; in owl_gpio_init() 890 gpio_irq->parent_handler_data = pctrl; in owl_gpio_init() 891 gpio_irq->num_parents = pctrl->num_irq; in owl_gpio_init() 892 gpio_irq->parents = pctrl->irq; in owl_gpio_init() 894 gpio_irq->map = devm_kcalloc(pctrl->dev, chip->ngpio, in owl_gpio_init() [all …]
|
/drivers/gpio/ |
D | gpio-ep93xx.c | 152 int gpio_irq = EP93XX_GPIO_F_IRQ_BASE + port_f_idx; in ep93xx_gpio_f_irq_handler() local 155 generic_handle_irq(gpio_irq); in ep93xx_gpio_f_irq_handler() 388 int gpio_irq; in ep93xx_gpio_add_bank() local 405 gpio_irq = bank->irq_base + i; in ep93xx_gpio_add_bank() 406 irq_set_chip_data(gpio_irq, &epg->gc[5]); in ep93xx_gpio_add_bank() 407 irq_set_chip_and_handler(gpio_irq, in ep93xx_gpio_add_bank() 410 irq_clear_status_flags(gpio_irq, IRQ_NOREQUEST); in ep93xx_gpio_add_bank()
|
D | gpio-mt7621.c | 56 int gpio_irq; member 250 if (mtk->gpio_irq) { in mediatek_gpio_bank_probe() 257 ret = devm_request_irq(dev, mtk->gpio_irq, in mediatek_gpio_bank_probe() 263 mtk->gpio_irq, ret); in mediatek_gpio_bank_probe() 309 mtk->gpio_irq = irq_of_parse_and_map(np, 0); in mediatek_gpio_probe()
|
D | gpio-max77620.c | 292 unsigned int gpio_irq; in max77620_gpio_probe() local 299 gpio_irq = ret; in max77620_gpio_probe() 339 ret = devm_request_threaded_irq(&pdev->dev, gpio_irq, NULL, in max77620_gpio_probe()
|
D | gpio-dwapb.c | 211 int gpio_irq = irq_find_mapping(gc->irq.domain, hwirq); in dwapb_do_irq() local 212 u32 irq_type = irq_get_trigger_type(gpio_irq); in dwapb_do_irq() 214 generic_handle_irq(gpio_irq); in dwapb_do_irq()
|
/drivers/macintosh/ |
D | via-pmu.c | 161 static int gpio_irq = 0; variable 461 gpio_irq = irq_of_parse_and_map(gpio_node, 0); in via_pmu_start() 463 if (gpio_irq) { in via_pmu_start() 464 if (request_irq(gpio_irq, gpio1_interrupt, in via_pmu_start() 468 " (GPIO1)\n", gpio_irq); in via_pmu_start() 1322 if (gpio_irq >= 0) in pmu_suspend() 1323 disable_irq_nosync(gpio_irq); in pmu_suspend() 1346 if (gpio_irq >= 0) in pmu_resume() 1347 enable_irq(gpio_irq); in pmu_resume() 1531 if (gpio_irq >= 0 && !gpio_irq_enabled) { in pmu_sr_intr() [all …]
|
/drivers/net/phy/ |
D | sfp.c | 238 int gpio_irq[GPIO_MAX]; member 2606 sfp->gpio_irq[i] = gpiod_to_irq(sfp->gpio[i]); in sfp_probe() 2607 if (sfp->gpio_irq[i] < 0) { in sfp_probe() 2608 sfp->gpio_irq[i] = 0; in sfp_probe() 2620 err = devm_request_threaded_irq(sfp->dev, sfp->gpio_irq[i], in sfp_probe() 2627 sfp->gpio_irq[i] = 0; in sfp_probe() 2673 if (!sfp->gpio_irq[i]) in sfp_shutdown() 2676 devm_free_irq(sfp->dev, sfp->gpio_irq[i], sfp); in sfp_shutdown()
|
/drivers/net/ieee802154/ |
D | ca8210.c | 405 int gpio_irq; member 2863 pdata->gpio_irq = of_get_named_gpio( in ca8210_interrupt_init() 2869 pdata->irq_id = gpio_to_irq(pdata->gpio_irq); in ca8210_interrupt_init() 2874 pdata->gpio_irq in ca8210_interrupt_init() 2876 gpio_free(pdata->gpio_irq); in ca8210_interrupt_init() 2889 gpio_unexport(pdata->gpio_irq); in ca8210_interrupt_init() 2890 gpio_free(pdata->gpio_irq); in ca8210_interrupt_init()
|
/drivers/power/supply/ |
D | pm2301_charger.h | 469 unsigned int gpio_irq; member
|
/drivers/pinctrl/renesas/ |
D | gpio.c | 204 const short *gpios = pfc->info->gpio_irq[i].gpios; in gpio_pin_to_irq()
|
D | sh_pfc.h | 286 const struct pinmux_irq *gpio_irq; member
|
D | pfc-r8a73a4.c | 2691 .gpio_irq = pinmux_irqs,
|
D | pfc-r8a7740.c | 3729 .gpio_irq = pinmux_irqs,
|
D | pfc-sh73a0.c | 4375 .gpio_irq = pinmux_irqs,
|
/drivers/pinctrl/ |
D | pinctrl-st.c | 1532 int gpio_irq = irq_res.start; in st_gpiolib_register_bank() local 1535 if (gpio_irq <= 0) { in st_gpiolib_register_bank() 1553 girq->parents[0] = gpio_irq; in st_gpiolib_register_bank()
|
/drivers/infiniband/hw/qib/ |
D | qib_iba7220.c | 1886 u32 gpio_irq = mask & gpiostatus; in unlikely_7220_intr() local 1899 dd->cspec->gpio_mask &= ~gpio_irq; in unlikely_7220_intr()
|
D | qib_iba7322.c | 2982 u32 gpio_irq = mask & gpiostatus; in unknown_7322_gpio_intr() local 2987 dd->cspec->gpio_mask &= ~gpio_irq; in unknown_7322_gpio_intr()
|