Home
last modified time | relevance | path

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

/Linux-v6.6/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-v6.6/drivers/tty/serial/
Dmxs-auart.c440 int gpio_irq[UART_GPIO_MAX]; member
773 if (s->gpio_irq[UART_GPIO_CTS] >= 0) in mxs_auart_enable_ms()
774 enable_irq(s->gpio_irq[UART_GPIO_CTS]); in mxs_auart_enable_ms()
777 if (s->gpio_irq[UART_GPIO_DSR] >= 0) in mxs_auart_enable_ms()
778 enable_irq(s->gpio_irq[UART_GPIO_DSR]); in mxs_auart_enable_ms()
780 if (s->gpio_irq[UART_GPIO_RI] >= 0) in mxs_auart_enable_ms()
781 enable_irq(s->gpio_irq[UART_GPIO_RI]); in mxs_auart_enable_ms()
783 if (s->gpio_irq[UART_GPIO_DCD] >= 0) in mxs_auart_enable_ms()
784 enable_irq(s->gpio_irq[UART_GPIO_DCD]); in mxs_auart_enable_ms()
802 if (s->gpio_irq[UART_GPIO_CTS] >= 0) in mxs_auart_disable_ms()
[all …]
/Linux-v6.6/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-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()
394 int gpio_irq; in ep93xx_gpio_add_bank() local
411 gpio_irq = bank->irq_base + i; in ep93xx_gpio_add_bank()
412 irq_set_chip_data(gpio_irq, &epg->gc[5]); in ep93xx_gpio_add_bank()
413 irq_set_chip_and_handler(gpio_irq, in ep93xx_gpio_add_bank()
416 irq_clear_status_flags(gpio_irq, IRQ_NOREQUEST); in ep93xx_gpio_add_bank()
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.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()
/Linux-v6.6/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-v6.6/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-v6.6/arch/arm/mach-davinci/
Dcommon.h46 unsigned gpio_irq; member
/Linux-v6.6/drivers/net/phy/
Dsfp.c246 int gpio_irq[GPIO_MAX]; member
3029 sfp->gpio_irq[i] = gpiod_to_irq(sfp->gpio[i]); in sfp_probe()
3030 if (sfp->gpio_irq[i] < 0) { in sfp_probe()
3031 sfp->gpio_irq[i] = 0; in sfp_probe()
3043 err = devm_request_threaded_irq(sfp->dev, sfp->gpio_irq[i], in sfp_probe()
3050 sfp->gpio_irq[i] = 0; in sfp_probe()
3096 if (!sfp->gpio_irq[i]) in sfp_shutdown()
3099 devm_free_irq(sfp->dev, sfp->gpio_irq[i], sfp); in sfp_shutdown()
/Linux-v6.6/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-v6.6/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-r8a7740.c3547 .gpio_irq = pinmux_irqs,
Dpfc-r8a73a4.c2616 .gpio_irq = pinmux_irqs,
Dpfc-sh73a0.c4171 .gpio_irq = pinmux_irqs,
/Linux-v6.6/drivers/pinctrl/
Dpinctrl-st.c1561 int gpio_irq = irq_res.start; in st_gpiolib_register_bank() local
1564 if (gpio_irq <= 0) { in st_gpiolib_register_bank()
1582 girq->parents[0] = gpio_irq; in st_gpiolib_register_bank()
/Linux-v6.6/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()