Home
last modified time | relevance | path

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

/openbmc/linux/drivers/power/reset/
H A Dltc2952-poweroff.c71 struct gpio_desc *gpio_watchdog; member
103 state = gpiod_get_value(data->gpio_watchdog); in ltc2952_poweroff_timer_wde()
104 gpiod_set_value(data->gpio_watchdog, !state); in ltc2952_poweroff_timer_wde()
186 data->gpio_watchdog = devm_gpiod_get(&pdev->dev, "watchdog", in ltc2952_poweroff_init()
188 if (IS_ERR(data->gpio_watchdog)) { in ltc2952_poweroff_init()
189 ret = PTR_ERR(data->gpio_watchdog); in ltc2952_poweroff_init()