Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/power/
Dtest_power.c27 static int battery_present = 1; /* true */ variable
69 val->intval = battery_present; in test_power_get_battery_property()
309 battery_present = map_get_value(map_present, key, battery_present); in param_set_battery_present()
317 strcpy(buffer, map_get_key(map_present, battery_present, "unknown")); in param_get_battery_present()
401 module_param(battery_present, battery_present, 0644);
402 MODULE_PARM_DESC(battery_present,
Dcharger-manager.c73 switch (cm->desc->battery_present) { in is_batt_present()
/linux-3.4.99/include/linux/power/
Dcharger-manager.h81 enum data_source battery_present; member
/linux-3.4.99/Documentation/power/
Dcharger-manager.txt124 enum data_source battery_present;
131 battery_present is "CM_CHARGER_STAT"), "ONLINE" (shows whether an
/linux-3.4.99/include/acpi/
Dacpi_bus.h136 u32 battery_present:1; member
/linux-3.4.99/drivers/acpi/
Dbattery.c153 return battery->device->status.battery_present; in acpi_battery_present()
1117 device->status.battery_present ? "present" : "absent"); in acpi_battery_add()