Searched refs:battery_name (Results 1 – 2 of 2) sorted by relevance
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()
9659 static int tpacpi_battery_get_id(const char *battery_name) in tpacpi_battery_get_id() argument9662 if (strcmp(battery_name, "BAT0") == 0 || in tpacpi_battery_get_id()9665 if (strcmp(battery_name, "BAT1") == 0) in tpacpi_battery_get_id()9672 pr_warn("unknown battery %s, assuming primary", battery_name); in tpacpi_battery_get_id()