Home
last modified time | relevance | path

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

/linux-6.1.9/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,
Drk817_charger.c55 bool battery_present; member
412 charger->battery_present = (reg & RK817_BAT_EXS); in rk817_read_props()
453 val->intval = charger->battery_present; in rk817_bat_get_prop()
Dcharger-manager.c102 switch (cm->desc->battery_present) { in is_batt_present()
1309 desc->battery_present = battery_stat; in of_cm_parse_desc()
/linux-6.1.9/include/linux/power/
Dcharger-manager.h174 enum data_source battery_present; member
/linux-6.1.9/Documentation/power/
Dcharger-manager.rst152 `enum data_source battery_present;`
165 battery_present is "CM_CHARGER_STAT"), "ONLINE" (shows whether an
/linux-6.1.9/drivers/acpi/
Dbattery.c134 return battery->device->status.battery_present; in acpi_battery_present()
1194 device->status.battery_present ? "present" : "absent"); in acpi_battery_add()
/linux-6.1.9/include/acpi/
Dacpi_bus.h185 u32 battery_present:1; member