Searched refs:battery_present (Results 1 – 7 of 7) sorted by relevance
32 static int battery_present = 1; /* true */ variable93 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,
55 bool battery_present; member412 charger->battery_present = (reg & RK817_BAT_EXS); in rk817_read_props()453 val->intval = charger->battery_present; in rk817_bat_get_prop()
102 switch (cm->desc->battery_present) { in is_batt_present()1309 desc->battery_present = battery_stat; in of_cm_parse_desc()
174 enum data_source battery_present; member
152 `enum data_source battery_present;`165 battery_present is "CM_CHARGER_STAT"), "ONLINE" (shows whether an
134 return battery->device->status.battery_present; in acpi_battery_present()1194 device->status.battery_present ? "present" : "absent"); in acpi_battery_add()
185 u32 battery_present:1; member