Home
last modified time | relevance | path

Searched refs:gpiod_ping (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/iio/proximity/
H A Dping.c52 struct gpio_desc *gpiod_ping; member
80 if (gpiod_get_value(data->gpiod_ping)) { in ping_handle_irq()
109 gpiod_set_value(data->gpiod_ping, 1); in ping_read()
111 gpiod_set_value(data->gpiod_ping, 0); in ping_read()
113 ret = gpiod_direction_input(data->gpiod_ping); in ping_read()
119 data->irqnr = gpiod_to_irq(data->gpiod_ping); in ping_read()
221 if (gpiod_direction_output(data->gpiod_ping, GPIOD_OUT_LOW)) in ping_read()
297 if (IS_ERR(data->gpiod_ping)) { in ping_probe()
299 PTR_ERR(data->gpiod_ping)); in ping_probe()
300 return PTR_ERR(data->gpiod_ping); in ping_probe()
[all …]
/openbmc/linux/drivers/watchdog/
H A Dbd9576_wdt.c28 struct gpio_desc *gpiod_ping; member
45 gpiod_set_value_cansleep(priv->gpiod_ping, 1); in bd9576_wdt_ping()
46 gpiod_set_value_cansleep(priv->gpiod_ping, 0); in bd9576_wdt_ping()
228 priv->gpiod_ping = devm_fwnode_gpiod_get(dev, dev_fwnode(dev->parent), in bd9576_wdt_probe()
232 if (IS_ERR(priv->gpiod_ping)) in bd9576_wdt_probe()
233 return dev_err_probe(dev, PTR_ERR(priv->gpiod_ping), in bd9576_wdt_probe()