Searched refs:ac_online (Results 1 – 2 of 2) sorted by relevance
24 static int ac_online = 1; variable37 val->intval = ac_online; in test_power_get_ac_property()169 ac_online = 0; in test_power_exit()267 ac_online = map_get_value(map_ac_online, key, ac_online); in param_set_ac_online()274 strcpy(buffer, map_get_key(map_ac_online, ac_online, "unknown")); in param_get_ac_online()394 module_param(ac_online, ac_online, 0644);395 MODULE_PARM_DESC(ac_online, "AC charging state <on|off>");
74 unsigned ac_online:1; member114 info->ac_online = 1; in max8925_charger_handler()119 info->ac_online = 0; in max8925_charger_handler()203 val->intval = info->ac_online; in max8925_ac_get_prop()206 if (info->ac_online) { in max8925_ac_get_prop()326 if (info->usb_online || info->ac_online) { in max8925_bat_get_prop()385 info->ac_online = 1; in max8925_init_charger()387 info->ac_online = 0; in max8925_init_charger()402 info->ac_online = 1; in max8925_init_charger()404 info->ac_online = 0; in max8925_init_charger()