Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/mfd/
Dtqmx86.c52 static uint gpio_irq; variable
53 module_param(gpio_irq, uint, 0);
54 MODULE_PARM_DESC(gpio_irq, "GPIO IRQ number (7, 9, 12)");
168 switch (gpio_irq) { in tqmx86_probe()
182 pr_err("tqmx86: Invalid GPIO IRQ (%d)\n", gpio_irq); in tqmx86_probe()
211 tqmx_gpio_resources[0].start = gpio_irq; in tqmx86_probe()
/kernel/linux/linux-5.10/drivers/tty/serial/
Dmxs-auart.c442 int gpio_irq[UART_GPIO_MAX]; member
800 if (s->gpio_irq[UART_GPIO_CTS] >= 0) in mxs_auart_enable_ms()
801 enable_irq(s->gpio_irq[UART_GPIO_CTS]); in mxs_auart_enable_ms()
804 if (s->gpio_irq[UART_GPIO_DSR] >= 0) in mxs_auart_enable_ms()
805 enable_irq(s->gpio_irq[UART_GPIO_DSR]); in mxs_auart_enable_ms()
807 if (s->gpio_irq[UART_GPIO_RI] >= 0) in mxs_auart_enable_ms()
808 enable_irq(s->gpio_irq[UART_GPIO_RI]); in mxs_auart_enable_ms()
810 if (s->gpio_irq[UART_GPIO_DCD] >= 0) in mxs_auart_enable_ms()
811 enable_irq(s->gpio_irq[UART_GPIO_DCD]); in mxs_auart_enable_ms()
829 if (s->gpio_irq[UART_GPIO_CTS] >= 0) in mxs_auart_disable_ms()
[all …]
/kernel/linux/linux-5.10/drivers/gpio/
Dgpio-ep93xx.c150 int gpio_irq = EP93XX_GPIO_F_IRQ_BASE + port_f_idx; in ep93xx_gpio_f_irq_handler() local
153 generic_handle_irq(gpio_irq); in ep93xx_gpio_f_irq_handler()
391 int gpio_irq; in ep93xx_gpio_add_bank() local
409 gpio_irq = EP93XX_GPIO_F_IRQ_BASE + i; in ep93xx_gpio_add_bank()
410 irq_set_chip_data(gpio_irq, &epg->gc[5]); in ep93xx_gpio_add_bank()
411 irq_set_chip_and_handler(gpio_irq, in ep93xx_gpio_add_bank()
414 irq_clear_status_flags(gpio_irq, IRQ_NOREQUEST); in ep93xx_gpio_add_bank()
Dgpio-mt7621.c56 int gpio_irq; member
251 if (mtk->gpio_irq) { in mediatek_gpio_bank_probe()
258 ret = devm_request_irq(dev, mtk->gpio_irq, in mediatek_gpio_bank_probe()
264 mtk->gpio_irq, ret); in mediatek_gpio_bank_probe()
310 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.c200 int gpio_irq = irq_find_mapping(gc->irq.domain, hwirq); in dwapb_do_irq() local
201 u32 irq_type = irq_get_trigger_type(gpio_irq); in dwapb_do_irq()
203 generic_handle_irq(gpio_irq); in dwapb_do_irq()
Dgpio-zynq.c632 unsigned int gpio_irq; in zynq_gpio_handle_bank_irq() local
634 gpio_irq = irq_find_mapping(irqdomain, offset + bank_offset); in zynq_gpio_handle_bank_irq()
635 generic_handle_irq(gpio_irq); in zynq_gpio_handle_bank_irq()
/kernel/linux/linux-5.10/drivers/pinctrl/actions/
Dpinctrl-owl.c869 struct gpio_irq_chip *gpio_irq; in owl_gpio_init() local
886 gpio_irq = &chip->irq; in owl_gpio_init()
887 gpio_irq->chip = &pctrl->irq_chip; in owl_gpio_init()
888 gpio_irq->handler = handle_simple_irq; in owl_gpio_init()
889 gpio_irq->default_type = IRQ_TYPE_NONE; in owl_gpio_init()
890 gpio_irq->parent_handler = owl_gpio_irq_handler; in owl_gpio_init()
891 gpio_irq->parent_handler_data = pctrl; in owl_gpio_init()
892 gpio_irq->num_parents = pctrl->num_irq; in owl_gpio_init()
893 gpio_irq->parents = pctrl->irq; in owl_gpio_init()
895 gpio_irq->map = devm_kcalloc(pctrl->dev, chip->ngpio, in owl_gpio_init()
[all …]
/kernel/linux/linux-5.10/arch/arm/mach-davinci/include/mach/
Dcommon.h48 unsigned gpio_irq; member
/kernel/linux/linux-5.10/drivers/macintosh/
Dvia-pmu.c161 static int gpio_irq = 0; variable
462 gpio_irq = irq_of_parse_and_map(gpio_node, 0); in via_pmu_start()
464 if (gpio_irq) { in via_pmu_start()
465 if (request_irq(gpio_irq, gpio1_interrupt, in via_pmu_start()
469 " (GPIO1)\n", gpio_irq); in via_pmu_start()
1323 if (gpio_irq >= 0) in pmu_suspend()
1324 disable_irq_nosync(gpio_irq); in pmu_suspend()
1347 if (gpio_irq >= 0) in pmu_resume()
1348 enable_irq(gpio_irq); in pmu_resume()
1532 if (gpio_irq >= 0 && !gpio_irq_enabled) { in pmu_sr_intr()
[all …]
/kernel/linux/linux-5.10/drivers/net/phy/
Dsfp.c231 int gpio_irq[GPIO_MAX]; member
2526 sfp->gpio_irq[i] = gpiod_to_irq(sfp->gpio[i]); in sfp_probe()
2527 if (sfp->gpio_irq[i] < 0) { in sfp_probe()
2528 sfp->gpio_irq[i] = 0; in sfp_probe()
2540 err = devm_request_threaded_irq(sfp->dev, sfp->gpio_irq[i], in sfp_probe()
2547 sfp->gpio_irq[i] = 0; in sfp_probe()
2590 if (!sfp->gpio_irq[i]) in sfp_shutdown()
2593 devm_free_irq(sfp->dev, sfp->gpio_irq[i], sfp); in sfp_shutdown()
/kernel/linux/linux-5.10/drivers/net/ieee802154/
Dca8210.c404 int gpio_irq; member
2873 pdata->gpio_irq = of_get_named_gpio( in ca8210_interrupt_init()
2879 pdata->irq_id = gpio_to_irq(pdata->gpio_irq); in ca8210_interrupt_init()
2884 pdata->gpio_irq in ca8210_interrupt_init()
2886 gpio_free(pdata->gpio_irq); in ca8210_interrupt_init()
2899 gpio_unexport(pdata->gpio_irq); in ca8210_interrupt_init()
2900 gpio_free(pdata->gpio_irq); in ca8210_interrupt_init()
/kernel/linux/linux-5.10/drivers/power/supply/
Dpm2301_charger.h469 unsigned int gpio_irq; member
/kernel/linux/linux-5.10/drivers/pinctrl/renesas/
Dgpio.c204 const short *gpios = pfc->info->gpio_irq[i].gpios; in gpio_pin_to_irq()
Dsh_pfc.h298 const struct pinmux_irq *gpio_irq; member
Dpfc-r8a73a4.c2729 .gpio_irq = pinmux_irqs,
Dpfc-r8a7740.c3767 .gpio_irq = pinmux_irqs,
Dpfc-sh73a0.c4411 .gpio_irq = pinmux_irqs,
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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.c3004 u32 gpio_irq = mask & gpiostatus; in unknown_7322_gpio_intr() local
3009 dd->cspec->gpio_mask &= ~gpio_irq; in unknown_7322_gpio_intr()