Home
last modified time | relevance | path

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

/reactos/drivers/bus/acpi/cmbatt/
H A Dcmbatt.c671 ULONG Capacity, NewTripPoint, TripPoint, DesignVoltage; in CmBattSetStatusNotify() local
714 DesignVoltage = DeviceExtension->BifData.DesignVoltage; in CmBattSetStatusNotify()
715 if ((DesignVoltage != BATTERY_UNKNOWN_VOLTAGE) && (DesignVoltage)) in CmBattSetStatusNotify()
722 … NewTripPoint = (TripPoint + 500) / DesignVoltage + ((TripPoint + 500) % DesignVoltage != 0); in CmBattSetStatusNotify()
727 … NewTripPoint = (TripPoint - 500) / DesignVoltage - ((TripPoint - 500) % DesignVoltage == 0); in CmBattSetStatusNotify()
736 DesignVoltage); in CmBattSetStatusNotify()
818 ULONG DesignVoltage, PresentRate, RemainingCapacity; in CmBattGetBatteryStatus() local
919 DesignVoltage = DeviceExtension->BifData.DesignVoltage; in CmBattGetBatteryStatus()
942 else if ((DesignVoltage != CM_UNKNOWN_VALUE) && (DesignVoltage)) in CmBattGetBatteryStatus()
965 if (PresentRate > (-500 / DesignVoltage)) in CmBattGetBatteryStatus()
[all …]
H A Dcmbatt.h87 ULONG DesignVoltage; member
H A Dcmexec.c420 { "DesignVoltage", FALSE, &BifData->DesignVoltage }, in CmBattGetBifData()