Home
last modified time | relevance | path

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

/linux/drivers/power/supply/
H A Dcollie_battery.c36 struct gpio_desc *gpio_full; member
171 if (gpiod_get_value(bat->gpio_full)) { in collie_bat_update()
235 .gpio_full = NULL,
265 .gpio_full = NULL,
294 wakeup_enabled = !enable_irq_wake(gpiod_to_irq(collie_bat_main.gpio_full)); in collie_bat_suspend()
304 disable_irq_wake(gpiod_to_irq(collie_bat_main.gpio_full)); in collie_bat_resume()
327 collie_bat_main.gpio_full = gpiod_get(&dev->ucb->dev, in collie_bat_probe()
330 if (IS_ERR(collie_bat_main.gpio_full)) in collie_bat_probe()
331 return PTR_ERR(collie_bat_main.gpio_full); in collie_bat_probe()
407 ret = request_irq(gpiod_to_irq(collie_bat_main.gpio_full), in collie_bat_probe()
[all …]