Home
last modified time | relevance | path

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

/Linux-v5.10/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()
1311 desc->battery_present = battery_stat; in of_cm_parse_desc()
/Linux-v5.10/include/linux/power/
Dcharger-manager.h174 enum data_source battery_present; member
/Linux-v5.10/Documentation/power/
Dcharger-manager.rst152 `enum data_source battery_present;`
165 battery_present is "CM_CHARGER_STAT"), "ONLINE" (shows whether an
/Linux-v5.10/drivers/acpi/
Dbattery.c141 return battery->device->status.battery_present; in acpi_battery_present()
1206 device->status.battery_present ? "present" : "absent"); in acpi_battery_add()
/Linux-v5.10/include/acpi/
Dacpi_bus.h184 u32 battery_present:1; member