Home
last modified time | relevance | path

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

/linux-6.6.21/Documentation/ABI/testing/
Dsysfs-platform-dell-wmi-ddv1 What: /sys/class/power_supply/<battery_name>/eppid
/linux-6.6.21/drivers/power/supply/
Dwm831x_power.c30 char battery_name[20]; member
550 snprintf(power->battery_name, sizeof(power->wall_name), in wm831x_power_probe()
557 snprintf(power->battery_name, sizeof(power->wall_name), in wm831x_power_probe()
597 power->battery_desc.name = power->battery_name; in wm831x_power_probe()
/linux-6.6.21/drivers/platform/x86/
Dthinkpad_acpi.c9610 static int tpacpi_battery_get_id(const char *battery_name) in tpacpi_battery_get_id() argument
9613 if (strcmp(battery_name, "BAT0") == 0 || in tpacpi_battery_get_id()
9616 if (strcmp(battery_name, "BAT1") == 0) in tpacpi_battery_get_id()
9623 pr_warn("unknown battery %s, assuming primary", battery_name); in tpacpi_battery_get_id()