Home
last modified time | relevance | path

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

/openbmc/linux/drivers/power/reset/
H A Dgpio-restart.c18 struct gpio_restart { struct
29 struct gpio_restart *gpio_restart = in gpio_restart_notify() argument
34 mdelay(gpio_restart->active_delay_ms); in gpio_restart_notify()
44 mdelay(gpio_restart->wait_delay_ms); in gpio_restart_notify()
53 struct gpio_restart *gpio_restart; in gpio_restart_probe() local
58 gpio_restart = devm_kzalloc(&pdev->dev, sizeof(*gpio_restart), in gpio_restart_probe()
60 if (!gpio_restart) in gpio_restart_probe()
78 gpio_restart->wait_delay_ms = 3000; in gpio_restart_probe()
90 &gpio_restart->active_delay_ms); in gpio_restart_probe()
94 &gpio_restart->wait_delay_ms); in gpio_restart_probe()
[all …]