Home
last modified time | relevance | path

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

/drivers/power/supply/
Dtest_power.c32 static int battery_present = 1; /* true */ variable
93 val->intval = battery_present; in test_power_get_battery_property()
403 battery_present = map_get_value(map_present, key, battery_present); in param_set_battery_present()
412 map_get_key(map_ac_online, battery_present, "unknown")); in param_get_battery_present()
564 module_param(battery_present, battery_present, 0644);
565 MODULE_PARM_DESC(battery_present,
Dcharger-manager.c102 switch (cm->desc->battery_present) { in is_batt_present()
1309 desc->battery_present = battery_stat; in of_cm_parse_desc()
/drivers/acpi/
Dbattery.c141 return battery->device->status.battery_present; in acpi_battery_present()
1245 device->status.battery_present ? "present" : "absent"); in acpi_battery_add()