Searched refs:gpiod_echo (Results 1 – 1 of 1) sorted by relevance
59 struct gpio_desc *gpiod_echo; member85 if (gpiod_get_value(data->gpiod_echo)) { in srf04_handle_irq()275 data->gpiod_echo = devm_gpiod_get(dev, "echo", GPIOD_IN); in srf04_probe()276 if (IS_ERR(data->gpiod_echo)) { in srf04_probe()278 PTR_ERR(data->gpiod_echo)); in srf04_probe()279 return PTR_ERR(data->gpiod_echo); in srf04_probe()298 if (gpiod_cansleep(data->gpiod_echo)) { in srf04_probe()303 data->irqnr = gpiod_to_irq(data->gpiod_echo); in srf04_probe()