Searched refs:battery_name (Results 1 – 3 of 3) sorted by relevance
1 What: /sys/class/power_supply/<battery_name>/eppid
30 char battery_name[20]; member550 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()
9610 static int tpacpi_battery_get_id(const char *battery_name) in tpacpi_battery_get_id() argument9613 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()