Searched refs:gpiod_ping (Results 1 – 2 of 2) sorted by relevance
/drivers/iio/proximity/ |
D | ping.c | 53 struct gpio_desc *gpiod_ping; member 81 if (gpiod_get_value(data->gpiod_ping)) { in ping_handle_irq() 110 gpiod_set_value(data->gpiod_ping, 1); in ping_read() 112 gpiod_set_value(data->gpiod_ping, 0); in ping_read() 114 ret = gpiod_direction_input(data->gpiod_ping); in ping_read() 120 data->irqnr = gpiod_to_irq(data->gpiod_ping); in ping_read() 158 ret = gpiod_direction_output(data->gpiod_ping, GPIOD_OUT_LOW); in ping_read() 222 if (gpiod_direction_output(data->gpiod_ping, GPIOD_OUT_LOW)) in ping_read() 297 data->gpiod_ping = devm_gpiod_get(dev, "ping", GPIOD_OUT_LOW); in ping_probe() 298 if (IS_ERR(data->gpiod_ping)) { in ping_probe() [all …]
|
/drivers/watchdog/ |
D | bd9576_wdt.c | 28 struct gpio_desc *gpiod_ping; member 46 gpiod_set_value_cansleep(priv->gpiod_ping, 1); in bd9576_wdt_ping() 47 gpiod_set_value_cansleep(priv->gpiod_ping, 0); in bd9576_wdt_ping() 232 priv->gpiod_ping = devm_gpiod_get_from_of_node(dev, dev->parent->of_node, in bd9576_wdt_probe() 236 if (IS_ERR(priv->gpiod_ping)) in bd9576_wdt_probe() 237 return dev_err_probe(dev, PTR_ERR(priv->gpiod_ping), in bd9576_wdt_probe()
|