Lines Matching full:gpiod
48 struct gpio_desc *gpiod; in x86_android_tablet_get_gpiod() local
59 gpiod = devm_gpiod_get(&x86_android_tablet_device->dev, con_id, dflags); in x86_android_tablet_get_gpiod()
63 if (IS_ERR(gpiod)) { in x86_android_tablet_get_gpiod()
64 pr_err("error %ld getting GPIO %s %d\n", PTR_ERR(gpiod), chip, pin); in x86_android_tablet_get_gpiod()
65 return PTR_ERR(gpiod); in x86_android_tablet_get_gpiod()
69 *desc = gpiod; in x86_android_tablet_get_gpiod()
79 struct gpio_desc *gpiod; in x86_acpi_irq_helper_get() local
101 false, GPIOD_ASIS, &gpiod); in x86_acpi_irq_helper_get()
105 irq = gpiod_to_irq(gpiod); in x86_acpi_irq_helper_get()
116 devm_gpiod_put(&x86_android_tablet_device->dev, gpiod); in x86_acpi_irq_helper_get()
416 struct gpio_desc *gpiod; in x86_android_tablet_probe() local
428 false, GPIOD_IN, &gpiod); in x86_android_tablet_probe()
435 buttons[i].gpio = desc_to_gpio(gpiod); in x86_android_tablet_probe()
437 devm_gpiod_put(&x86_android_tablet_device->dev, gpiod); in x86_android_tablet_probe()