Home
last modified time | relevance | path

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

/linux/drivers/power/supply/
H A Dcollie_battery.c52 static struct collie_bat collie_bat_main; variable
195 collie_bat_update(&collie_bat_main); in collie_bat_work()
230 static struct collie_bat collie_bat_main = { variable
293 collie_bat_main.status == POWER_SUPPLY_STATUS_CHARGING) in collie_bat_suspend()
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()
341 collie_bat_main.gpio_charge_on = gpiod_get(&dev->ucb->dev, in collie_bat_probe()
[all …]