Home
last modified time | relevance | path

Searched refs:irq_gpio (Results 1 – 18 of 18) sorted by relevance

/Linux-v6.6/drivers/mfd/
Darizona-irq.c144 if (!arizona->pdata.irq_gpio) { in arizona_irq_thread()
147 gpio_get_value_cansleep(arizona->pdata.irq_gpio)) { in arizona_irq_thread()
150 !gpio_get_value_cansleep(arizona->pdata.irq_gpio)) { in arizona_irq_thread()
355 if (arizona->pdata.irq_gpio) { in arizona_irq_init()
356 if (gpio_to_irq(arizona->pdata.irq_gpio) != arizona->irq) { in arizona_irq_init()
358 arizona->irq, arizona->pdata.irq_gpio, in arizona_irq_init()
359 gpio_to_irq(arizona->pdata.irq_gpio)); in arizona_irq_init()
360 arizona->irq = gpio_to_irq(arizona->pdata.irq_gpio); in arizona_irq_init()
364 arizona->pdata.irq_gpio, in arizona_irq_init()
369 arizona->pdata.irq_gpio, ret); in arizona_irq_init()
[all …]
Dwm8994-irq.c156 while (gpio_get_value_cansleep(wm8994->pdata.irq_gpio)) in wm8994_edge_irq()
200 if (gpio_to_irq(pdata->irq_gpio) != wm8994->irq) { in wm8994_irq_init()
202 wm8994->irq, pdata->irq_gpio, in wm8994_irq_init()
203 gpio_to_irq(pdata->irq_gpio)); in wm8994_irq_init()
204 wm8994->irq = gpio_to_irq(pdata->irq_gpio); in wm8994_irq_init()
207 ret = devm_gpio_request_one(wm8994->dev, pdata->irq_gpio, in wm8994_irq_init()
Dstmpe.c1371 struct gpio_desc *irq_gpio; in stmpe_probe() local
1425 irq_gpio = devm_gpiod_get_optional(ci->dev, "irq", GPIOD_ASIS); in stmpe_probe()
1426 ret = PTR_ERR_OR_ZERO(irq_gpio); in stmpe_probe()
1432 if (irq_gpio) { in stmpe_probe()
1433 stmpe->irq = gpiod_to_irq(irq_gpio); in stmpe_probe()
1434 pdata->irq_trigger = gpiod_is_active_low(irq_gpio) ? in stmpe_probe()
/Linux-v6.6/sound/soc/codecs/
Dtas2781-i2c.c621 tas_priv->irq_info.irq_gpio = in tasdevice_parse_dt()
649 tas_priv->irq_info.irq_gpio = of_irq_get(np, 0); in tasdevice_parse_dt()
663 if (gpio_is_valid(tas_priv->irq_info.irq_gpio)) { in tasdevice_parse_dt()
664 rc = gpio_request(tas_priv->irq_info.irq_gpio, in tasdevice_parse_dt()
668 tas_priv->irq_info.irq_gpio); in tasdevice_parse_dt()
671 gpio_to_irq(tas_priv->irq_info.irq_gpio); in tasdevice_parse_dt()
674 __func__, tas_priv->irq_info.irq_gpio); in tasdevice_parse_dt()
678 tas_priv->irq_info.irq_gpio); in tasdevice_parse_dt()
Dtas2781-comlib.c410 if (gpio_is_valid(tas_priv->irq_info.irq_gpio)) in tasdevice_remove()
411 gpio_free(tas_priv->irq_info.irq_gpio); in tasdevice_remove()
/Linux-v6.6/drivers/input/touchscreen/
Diqs7211.c1182 struct gpio_desc *irq_gpio; member
1206 error = readx_poll_timeout(gpiod_get_value_cansleep, iqs7211->irq_gpio, in iqs7211_irq_poll()
1224 if (iqs7211->reset_gpio == iqs7211->irq_gpio) in iqs7211_hard_reset()
1230 if (iqs7211->reset_gpio == iqs7211->irq_gpio) in iqs7211_hard_reset()
1268 ret = gpiod_get_value_cansleep(iqs7211->irq_gpio); in iqs7211_force_comms()
2360 disable_irq(gpiod_to_irq(iqs7211->irq_gpio)); in iqs7211_suspend()
2365 enable_irq(gpiod_to_irq(iqs7211->irq_gpio)); in iqs7211_suspend()
2383 disable_irq(gpiod_to_irq(iqs7211->irq_gpio)); in iqs7211_resume()
2392 enable_irq(gpiod_to_irq(iqs7211->irq_gpio)); in iqs7211_resume()
2469 iqs7211->irq_gpio = devm_gpiod_get(&client->dev, "irq", in iqs7211_probe()
[all …]
Dwm97xx-core.c368 BUG_ON(!wm->mach_ops->irq_gpio); in wm97xx_init_pen_irq()
371 reg & ~(wm->mach_ops->irq_gpio)); in wm97xx_init_pen_irq()
528 BUG_ON(!wm->mach_ops->irq_gpio); in wm97xx_ts_input_close()
531 reg | wm->mach_ops->irq_gpio); in wm97xx_ts_input_close()
Dmainstone-wm97xx.c245 .irq_gpio = WM97XX_GPIO_2,
Dcyttsp4_core.c2060 cd->irq = gpio_to_irq(cd->cpdata->irq_gpio); in cyttsp4_probe()
/Linux-v6.6/drivers/platform/x86/
Dasus-tf103c-dock.c106 struct gpio_desc *irq_gpio; member
764 dock->irq_gpio = devm_gpiod_get(dev, "dock_irq", GPIOD_IN); in tf103c_dock_probe()
765 if (IS_ERR(dock->irq_gpio)) in tf103c_dock_probe()
766 return dev_err_probe(dev, PTR_ERR(dock->irq_gpio), "requesting IRQ GPIO\n"); in tf103c_dock_probe()
768 dock->irq = gpiod_to_irq(dock->irq_gpio); in tf103c_dock_probe()
/Linux-v6.6/include/linux/platform_data/
Dcyttsp4.h43 int irq_gpio; member
/Linux-v6.6/include/linux/mfd/arizona/
Dpdata.h188 int irq_gpio; member
/Linux-v6.6/drivers/net/wireless/microchip/wilc1000/
Dsdio.c28 bool irq_gpio; member
163 sdio_priv->irq_gpio = true; in wilc_sdio_probe()
774 if (!sdio_priv->irq_gpio) { in wilc_sdio_read_int()
804 if (sdio_priv->irq_gpio) in wilc_sdio_clear_int_ext()
861 if (sdio_priv->irq_gpio) { in wilc_sdio_sync_ext()
/Linux-v6.6/include/linux/mfd/wm8994/
Dpdata.h233 int irq_gpio; member
/Linux-v6.6/include/sound/
Dtas2781.h82 int irq_gpio; member
/Linux-v6.6/include/linux/
Dwm97xx.h258 int irq_gpio; member
/Linux-v6.6/drivers/input/misc/
Diqs7222.c1360 struct gpio_desc *irq_gpio; member
1424 ret = gpiod_get_value_cansleep(iqs7222->irq_gpio); in iqs7222_irq_poll()
1472 ret = gpiod_get_value_cansleep(iqs7222->irq_gpio); in iqs7222_force_comms()
2969 iqs7222->irq_gpio = devm_gpiod_get(&client->dev, "irq", GPIOD_IN); in iqs7222_probe()
2970 if (IS_ERR(iqs7222->irq_gpio)) { in iqs7222_probe()
2971 error = PTR_ERR(iqs7222->irq_gpio); in iqs7222_probe()
3016 irq = gpiod_to_irq(iqs7222->irq_gpio); in iqs7222_probe()
3020 irq_flags = gpiod_is_active_low(iqs7222->irq_gpio) ? IRQF_TRIGGER_LOW in iqs7222_probe()
/Linux-v6.6/arch/mips/alchemy/devboards/
Ddb1300.c730 .irq_gpio = WM97XX_GPIO_3,