Searched refs:gpio_restart (Results 1 – 1 of 1) sorted by relevance
18 struct gpio_restart { struct27 struct gpio_restart *gpio_restart = data->cb_data; in gpio_restart_notify() argument30 gpiod_direction_output(gpio_restart->reset_gpio, 1); in gpio_restart_notify()31 mdelay(gpio_restart->active_delay_ms); in gpio_restart_notify()34 gpiod_set_value(gpio_restart->reset_gpio, 0); in gpio_restart_notify()35 mdelay(gpio_restart->inactive_delay_ms); in gpio_restart_notify()38 gpiod_set_value(gpio_restart->reset_gpio, 1); in gpio_restart_notify()41 mdelay(gpio_restart->wait_delay_ms); in gpio_restart_notify()50 struct gpio_restart *gpio_restart; in gpio_restart_probe() local56 gpio_restart = devm_kzalloc(&pdev->dev, sizeof(*gpio_restart), in gpio_restart_probe()[all …]