Home
last modified time | relevance | path

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

/openbmc/openpower-occ-control/
H A Dpowercap.cpp36 uint32_t capSoftMin, capHardMin, capMax; in updatePcapBounds() local
37 readDbusPcapLimits(capSoftMin, capHardMin, capMax); in updatePcapBounds()
47 capSoftMin = ((cap / (PS_DERATING_FACTOR / 100.0) / 1000000) + 0.9); in updatePcapBounds()
87 updateDbusPcapLimits(capSoftMin, capHardMin, capMax); in updatePcapBounds()
95 if ((dbusUserCap >= capSoftMin) && (dbusUserCap <= capMax)) in updatePcapBounds()
112 if (dbusUserCap < capSoftMin) in updatePcapBounds()
114 newCap = capSoftMin; in updatePcapBounds()
336 uint32_t capSoftMin, capHardMin, capMax; in pcapChanged() local
337 readDbusPcapLimits(capSoftMin, capHardMin, capMax); in pcapChanged()
342 "CAP", pcap, "SMIN", capSoftMin, "MIN", capHardMin); in pcapChanged()
[all …]