Home
last modified time | relevance | path

Searched refs:gpio_irq (Results 1 – 19 of 19) sorted by relevance

/drivers/mfd/
Dtqmx86.c56 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/
Dmxs-auart.c440 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/
Dpinctrl-owl.c868 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/
Dgpio-ep93xx.c152 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()
Dgpio-mt7621.c56 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()
Dgpio-max77620.c292 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()
Dgpio-dwapb.c211 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/
Dvia-pmu.c161 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/
Dsfp.c238 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/
Dca8210.c405 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/
Dpm2301_charger.h469 unsigned int gpio_irq; member
/drivers/pinctrl/renesas/
Dgpio.c204 const short *gpios = pfc->info->gpio_irq[i].gpios; in gpio_pin_to_irq()
Dsh_pfc.h286 const struct pinmux_irq *gpio_irq; member
Dpfc-r8a73a4.c2691 .gpio_irq = pinmux_irqs,
Dpfc-r8a7740.c3729 .gpio_irq = pinmux_irqs,
Dpfc-sh73a0.c4375 .gpio_irq = pinmux_irqs,
/drivers/pinctrl/
Dpinctrl-st.c1532 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/
Dqib_iba7220.c1886 u32 gpio_irq = mask & gpiostatus; in unlikely_7220_intr() local
1899 dd->cspec->gpio_mask &= ~gpio_irq; in unlikely_7220_intr()
Dqib_iba7322.c2982 u32 gpio_irq = mask & gpiostatus; in unknown_7322_gpio_intr() local
2987 dd->cspec->gpio_mask &= ~gpio_irq; in unknown_7322_gpio_intr()