Searched refs:tosa_bat_main (Results 1 – 1 of 1) sorted by relevance
/Linux-v6.1/drivers/power/supply/ |
D | tosa_battery.c | 47 static struct tosa_bat tosa_bat_main; variable 197 tosa_bat_update(&tosa_bat_main); in tosa_bat_work() 249 static struct tosa_bat tosa_bat_main = { variable 343 tosa_bat_main.gpiod_charge_off = devm_gpiod_get(dev, "main charge off", GPIOD_OUT_HIGH); in tosa_bat_probe() 344 if (IS_ERR(tosa_bat_main.gpiod_charge_off)) in tosa_bat_probe() 345 return dev_err_probe(dev, PTR_ERR(tosa_bat_main.gpiod_charge_off), in tosa_bat_probe() 353 tosa_bat_main.gpiod_bat = devm_gpiod_get(dev, "main battery", GPIOD_OUT_LOW); in tosa_bat_probe() 354 if (IS_ERR(tosa_bat_main.gpiod_bat)) in tosa_bat_probe() 355 return dev_err_probe(dev, PTR_ERR(tosa_bat_main.gpiod_bat), in tosa_bat_probe() 367 tosa_bat_main.gpiod_full = devm_gpiod_get(dev, "main battery full", GPIOD_IN); in tosa_bat_probe() [all …]
|