Searched refs:gpio_trigger (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/power/reset/
H A Dltc2952-poweroff.c77 struct gpio_desc *gpio_trigger; member in struct:ltc2952_poweroff
156 if (gpiod_get_value(data->gpio_trigger)) { ltc2952_poweroff_handler()
204 data->gpio_trigger = devm_gpiod_get_optional(&pdev->dev, "trigger", ltc2952_poweroff_init()
206 if (IS_ERR(data->gpio_trigger)) { ltc2952_poweroff_init()
213 data->gpio_trigger = NULL; ltc2952_poweroff_init()
216 if (devm_request_irq(&pdev->dev, gpiod_to_irq(data->gpio_trigger), ltc2952_poweroff_init()
236 if (data->gpio_trigger) { ltc2952_poweroff_init()
239 devm_gpiod_put(&pdev->dev, data->gpio_trigger); ltc2952_poweroff_init()
240 data->gpio_trigger = NULL; ltc2952_poweroff_init()

Completed in 87 milliseconds