Searched refs:ac_online (Results 1 – 3 of 3) sorted by relevance
28 static int ac_online = 1; variable45 val->intval = ac_online; in test_power_get_ac_property()227 ac_online = 0; in test_power_exit()336 ac_online = map_get_value(map_ac_online, key, ac_online); in param_set_ac_online()343 strcpy(buffer, map_get_key(map_ac_online, ac_online, "unknown")); in param_get_ac_online()500 module_param(ac_online, ac_online, 0644);501 MODULE_PARM_DESC(ac_online, "AC charging state <on|off>");
31 int ac_online; member131 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()
72 unsigned ac_online:1; member112 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()