Searched refs:int_gpiod (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/input/touchscreen/ |
H A D | bu21013_ts.c | 163 struct gpio_desc *int_gpiod; member 252 keep_polling = ts->int_gpiod ? in bu21013_gpio_irq() 253 gpiod_get_value(ts->int_gpiod) : false; in bu21013_gpio_irq() 511 ts->int_gpiod = devm_gpiod_get_optional(dev, "touch", GPIOD_IN); in bu21013_probe() 512 error = PTR_ERR_OR_ZERO(ts->int_gpiod); in bu21013_probe() 516 if (ts->int_gpiod) in bu21013_probe() 517 gpiod_set_consumer_name(ts->int_gpiod, "BU21013 INT"); in bu21013_probe()
|
/linux/drivers/extcon/ |
H A D | extcon-ptn5150.c | 51 struct gpio_desc *int_gpiod; member 265 info->int_gpiod = devm_gpiod_get(&i2c->dev, "int", GPIOD_IN); in ptn5150_i2c_probe() 266 if (IS_ERR(info->int_gpiod)) { in ptn5150_i2c_probe() 267 return dev_err_probe(dev, PTR_ERR(info->int_gpiod), in ptn5150_i2c_probe() 271 info->irq = gpiod_to_irq(info->int_gpiod); in ptn5150_i2c_probe()
|
/linux/drivers/mtd/nand/onenand/ |
H A D | onenand_omap2.c | 37 struct gpio_desc *int_gpiod; member 197 result = gpiod_get_value(c->int_gpiod); in omap2_onenand_wait() 489 c->int_gpiod = devm_gpiod_get_optional(dev, "int", GPIOD_IN); in omap2_onenand_probe() 490 if (IS_ERR(c->int_gpiod)) { in omap2_onenand_probe() 492 return dev_err_probe(dev, PTR_ERR(c->int_gpiod), "error getting gpio\n"); in omap2_onenand_probe() 495 if (c->int_gpiod) { in omap2_onenand_probe() 496 r = devm_request_irq(dev, gpiod_to_irq(c->int_gpiod), in omap2_onenand_probe()
|