Home
last modified time | relevance | path

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

/openbmc/linux/drivers/pps/clients/
H A Dpps-gpio.c32 struct gpio_desc *echo_pin; member
76 gpiod_set_value(info->echo_pin, 1); in pps_gpio_echo()
81 gpiod_set_value(info->echo_pin, 1); in pps_gpio_echo()
99 gpiod_set_value(info->echo_pin, 0); in pps_gpio_echo_timer_callback()
116 data->echo_pin = devm_gpiod_get_optional(dev, "echo", GPIOD_OUT_LOW); in pps_gpio_setup()
117 if (IS_ERR(data->echo_pin)) in pps_gpio_setup()
118 return dev_err_probe(dev, PTR_ERR(data->echo_pin), in pps_gpio_setup()
121 if (!data->echo_pin) in pps_gpio_setup()
191 if (data->echo_pin) { in pps_gpio_probe()
230 gpiod_set_value(data->echo_pin, 0); in pps_gpio_remove()