Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/power/supply/
Dtest_power.c28 static int ac_online = 1; variable
47 val->intval = ac_online; in test_power_get_ac_property()
239 ac_online = 0; in test_power_exit()
348 ac_online = map_get_value(map_ac_online, key, ac_online); in param_set_ac_online()
356 map_get_key(map_ac_online, ac_online, "unknown")); in param_get_ac_online()
554 module_param(ac_online, ac_online, 0644);
555 MODULE_PARM_DESC(ac_online, "AC charging state <on|off>");
Dtps65090-charger.c31 int ac_online; member
131 val->intval = charger->ac_online; in tps65090_ac_get_property()
132 charger->prev_ac_online = charger->ac_online; in tps65090_ac_get_property()
165 charger->ac_online = 1; in tps65090_charger_isr()
167 charger->ac_online = 0; in tps65090_charger_isr()
181 if (charger->prev_ac_online != charger->ac_online) in tps65090_charger_isr()
298 cdata->ac_online = 1; in tps65090_charger_probe()
Dmax8925_power.c72 unsigned ac_online:1; member
112 info->ac_online = 1; in max8925_charger_handler()
117 info->ac_online = 0; in max8925_charger_handler()
202 val->intval = info->ac_online; in max8925_ac_get_prop()
205 if (info->ac_online) { in max8925_ac_get_prop()
325 if (info->usb_online || info->ac_online) { in max8925_bat_get_prop()
408 info->ac_online = 1; in max8925_init_charger()
410 info->ac_online = 0; in max8925_init_charger()
425 info->ac_online = 1; in max8925_init_charger()
427 info->ac_online = 0; in max8925_init_charger()