Searched refs:irq_gpio (Results 1 – 10 of 10) sorted by relevance
/drivers/mfd/ |
D | arizona-irq.c | 144 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 …]
|
D | wm8994-irq.c | 156 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()
|
D | stmpe.c | 1371 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()
|
/drivers/platform/x86/ |
D | asus-tf103c-dock.c | 106 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()
|
/drivers/net/wireless/microchip/wilc1000/ |
D | sdio.c | 28 bool irq_gpio; member 164 sdio_priv->irq_gpio = true; in wilc_sdio_probe() 784 if (!sdio_priv->irq_gpio) { in wilc_sdio_read_int() 817 if (sdio_priv->irq_gpio) in wilc_sdio_clear_int_ext() 848 if (sdio_priv->irq_gpio) { in wilc_sdio_clear_int_ext() 944 if (sdio_priv->irq_gpio) { in wilc_sdio_sync_ext()
|
/drivers/input/touchscreen/ |
D | wm97xx-core.c | 368 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()
|
D | zylonite-wm97xx.c | 168 .irq_gpio = WM97XX_GPIO_2,
|
D | mainstone-wm97xx.c | 255 .irq_gpio = WM97XX_GPIO_2,
|
D | cyttsp4_core.c | 2066 cd->irq = gpio_to_irq(cd->cpdata->irq_gpio); in cyttsp4_probe()
|
/drivers/input/misc/ |
D | iqs7222.c | 1091 struct gpio_desc *irq_gpio; member 1149 ret = gpiod_get_value_cansleep(iqs7222->irq_gpio); in iqs7222_irq_poll() 1197 ret = gpiod_get_value_cansleep(iqs7222->irq_gpio); in iqs7222_force_comms() 2520 iqs7222->irq_gpio = devm_gpiod_get(&client->dev, "irq", GPIOD_IN); in iqs7222_probe() 2521 if (IS_ERR(iqs7222->irq_gpio)) { in iqs7222_probe() 2522 error = PTR_ERR(iqs7222->irq_gpio); in iqs7222_probe() 2567 irq = gpiod_to_irq(iqs7222->irq_gpio); in iqs7222_probe() 2571 irq_flags = gpiod_is_active_low(iqs7222->irq_gpio) ? IRQF_TRIGGER_LOW in iqs7222_probe()
|