Lines Matching refs:cap
106 bst->cap != ACPI_BATT_UNKNOWN && bst->volt != ACPI_BATT_UNKNOWN);
205 bst[i].cap = (bst[i].cap * bix->dvol) / 1000;
222 if (bst[i].cap > bix->lfcap)
223 bst[i].cap = bix->lfcap;
226 bi[i].cap = (100 * bst[i].cap) / bix->lfcap;
229 if (bi[i].cap != -1) {
230 total_cap += bst[i].cap;
262 bi[i].min = (60 * bst[i].cap) / valid_rate;
274 battinfo->cap = (total_cap * 100) / total_lfcap;
279 battinfo->cap = bi[dev_idx].cap;
306 info->cap = -1;
501 &acpi_battery_battinfo.cap, 0, acpi_battery_sysctl, "I",