Lines Matching defs:power_unit
128 int power_unit;
389 {offsetof(struct acpi_battery, power_unit), 0},
406 {offsetof(struct acpi_battery, power_unit), 0},
501 battery->power_unit && battery->design_voltage) {
600 if (battery->power_unit == ACPI_BATTERY_POWER_UNIT_MA &&
612 battery->power_unit && battery->design_voltage) {
833 if (battery->power_unit == ACPI_BATTERY_POWER_UNIT_MA) {
937 if (battery->power_unit && dmi_name_in_vendors("LENOVO")) {
1019 int power_unit;
1024 power_unit = battery->power_unit;
1028 if (power_unit == battery->power_unit)