Searched refs:gpio_restart (Results 1 – 1 of 1) sorted by relevance
26 struct gpio_restart { struct37 struct gpio_restart *gpio_restart = in gpio_restart_notify() argument38 container_of(this, struct gpio_restart, restart_handler); in gpio_restart_notify()41 gpiod_direction_output(gpio_restart->reset_gpio, 1); in gpio_restart_notify()42 mdelay(gpio_restart->active_delay_ms); in gpio_restart_notify()45 gpiod_set_value(gpio_restart->reset_gpio, 0); in gpio_restart_notify()46 mdelay(gpio_restart->inactive_delay_ms); in gpio_restart_notify()49 gpiod_set_value(gpio_restart->reset_gpio, 1); in gpio_restart_notify()52 mdelay(gpio_restart->wait_delay_ms); in gpio_restart_notify()61 struct gpio_restart *gpio_restart; in gpio_restart_probe() local[all …]