Home
last modified time | relevance | path

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

/linux-6.12.1/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()
/linux-6.12.1/drivers/tty/serial/
Dmxs-auart.c440 int gpio_irq[UART_GPIO_MAX]; member
765 if (s->gpio_irq[UART_GPIO_CTS] >= 0) in mxs_auart_enable_ms()
766 enable_irq(s->gpio_irq[UART_GPIO_CTS]); in mxs_auart_enable_ms()
769 if (s->gpio_irq[UART_GPIO_DSR] >= 0) in mxs_auart_enable_ms()
770 enable_irq(s->gpio_irq[UART_GPIO_DSR]); in mxs_auart_enable_ms()
772 if (s->gpio_irq[UART_GPIO_RI] >= 0) in mxs_auart_enable_ms()
773 enable_irq(s->gpio_irq[UART_GPIO_RI]); in mxs_auart_enable_ms()
775 if (s->gpio_irq[UART_GPIO_DCD] >= 0) in mxs_auart_enable_ms()
776 enable_irq(s->gpio_irq[UART_GPIO_DCD]); in mxs_auart_enable_ms()
794 if (s->gpio_irq[UART_GPIO_CTS] >= 0) in mxs_auart_disable_ms()
[all …]
/linux-6.12.1/drivers/gpio/
Dgpio-mt7621.c55 int gpio_irq; member
255 if (mtk->gpio_irq) { in mediatek_gpio_bank_probe()
262 ret = devm_request_irq(dev, mtk->gpio_irq, in mediatek_gpio_bank_probe()
268 mtk->gpio_irq, ret); in mediatek_gpio_bank_probe()
313 mtk->gpio_irq = platform_get_irq(pdev, 0); in mediatek_gpio_probe()
314 if (mtk->gpio_irq < 0) in mediatek_gpio_probe()
315 return mtk->gpio_irq; in mediatek_gpio_probe()
Dgpio-max77620.c295 unsigned int gpio_irq; in max77620_gpio_probe() local
302 gpio_irq = ret; in max77620_gpio_probe()
340 ret = devm_request_threaded_irq(&pdev->dev, gpio_irq, NULL, in max77620_gpio_probe()
Dgpio-dwapb.c210 int gpio_irq = irq_find_mapping(gc->irq.domain, hwirq); in dwapb_do_irq() local
211 u32 irq_type = irq_get_trigger_type(gpio_irq); in dwapb_do_irq()
213 generic_handle_irq(gpio_irq); in dwapb_do_irq()
/linux-6.12.1/drivers/pinctrl/actions/
Dpinctrl-owl.c885 struct gpio_irq_chip *gpio_irq; in owl_gpio_init() local
895 gpio_irq = &chip->irq; in owl_gpio_init()
896 gpio_irq_chip_set_chip(gpio_irq, &owl_gpio_irqchip); in owl_gpio_init()
897 gpio_irq->handler = handle_simple_irq; in owl_gpio_init()
898 gpio_irq->default_type = IRQ_TYPE_NONE; in owl_gpio_init()
899 gpio_irq->parent_handler = owl_gpio_irq_handler; in owl_gpio_init()
900 gpio_irq->parent_handler_data = pctrl; in owl_gpio_init()
901 gpio_irq->num_parents = pctrl->num_irq; in owl_gpio_init()
902 gpio_irq->parents = pctrl->irq; in owl_gpio_init()
904 gpio_irq->map = devm_kcalloc(pctrl->dev, chip->ngpio, in owl_gpio_init()
[all …]
/linux-6.12.1/drivers/net/ethernet/wangxun/txgbe/
Dtxgbe_irq.c77 txgbe->gpio_irq = irq_find_mapping(txgbe->misc.domain, TXGBE_IRQ_GPIO); in txgbe_request_gpio_irq()
78 return request_threaded_irq(txgbe->gpio_irq, NULL, in txgbe_request_gpio_irq()
182 free_irq(txgbe->gpio_irq, txgbe); in txgbe_free_misc_irq()
232 free_irq(txgbe->gpio_irq, txgbe); in txgbe_setup_misc_irq()
Dtxgbe_type.h338 unsigned int gpio_irq; member
/linux-6.12.1/drivers/macintosh/
Dvia-pmu.c160 static int gpio_irq = 0; variable
451 gpio_irq = irq_of_parse_and_map(gpio_node, 0); in via_pmu_start()
453 if (gpio_irq) { in via_pmu_start()
454 if (request_irq(gpio_irq, gpio1_interrupt, in via_pmu_start()
458 " (GPIO1)\n", gpio_irq); in via_pmu_start()
1314 if (gpio_irq >= 0) in pmu_suspend()
1315 disable_irq_nosync(gpio_irq); in pmu_suspend()
1338 if (gpio_irq >= 0) in pmu_resume()
1339 enable_irq(gpio_irq); in pmu_resume()
1523 if (gpio_irq >= 0 && !gpio_irq_enabled) { in pmu_sr_intr()
[all …]
/linux-6.12.1/arch/arm/mach-davinci/
Dcommon.h46 unsigned gpio_irq; member
/linux-6.12.1/drivers/net/phy/
Dsfp.c246 int gpio_irq[GPIO_MAX]; member
3072 sfp->gpio_irq[i] = gpiod_to_irq(sfp->gpio[i]); in sfp_probe()
3073 if (sfp->gpio_irq[i] < 0) { in sfp_probe()
3074 sfp->gpio_irq[i] = 0; in sfp_probe()
3086 err = devm_request_threaded_irq(sfp->dev, sfp->gpio_irq[i], in sfp_probe()
3093 sfp->gpio_irq[i] = 0; in sfp_probe()
3137 if (!sfp->gpio_irq[i]) in sfp_shutdown()
3140 devm_free_irq(sfp->dev, sfp->gpio_irq[i], sfp); in sfp_shutdown()
/linux-6.12.1/drivers/net/ieee802154/
Dca8210.c363 int gpio_irq; member
2820 pdata->gpio_irq = of_get_named_gpio( in ca8210_interrupt_init()
2826 pdata->irq_id = gpio_to_irq(pdata->gpio_irq); in ca8210_interrupt_init()
2831 pdata->gpio_irq in ca8210_interrupt_init()
2833 gpio_free(pdata->gpio_irq); in ca8210_interrupt_init()
2846 gpio_free(pdata->gpio_irq); in ca8210_interrupt_init()
/linux-6.12.1/drivers/pinctrl/renesas/
Dgpio.c203 const short *gpios = pfc->info->gpio_irq[i].gpios; in gpio_pin_to_irq()
Dsh_pfc.h265 const struct pinmux_irq *gpio_irq; member
Dpfc-r8a73a4.c2616 .gpio_irq = pinmux_irqs,
Dpfc-r8a7740.c3547 .gpio_irq = pinmux_irqs,
Dpfc-sh73a0.c4171 .gpio_irq = pinmux_irqs,
/linux-6.12.1/drivers/pinctrl/
Dpinctrl-st.c1544 int gpio_irq = irq_res.start; in st_gpiolib_register_bank() local
1547 if (gpio_irq <= 0) { in st_gpiolib_register_bank()
1565 girq->parents[0] = gpio_irq; in st_gpiolib_register_bank()
/linux-6.12.1/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()