Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/
H A Dintel_rapl.h170 unsigned long power_limit_irq; /* keep track of package power limit member
/openbmc/linux/drivers/powercap/
H A Dintel_rapl_common.c981 if (!(rp->power_limit_irq & PACKAGE_PLN_INT_SAVED)) { in power_limit_irq_save_cpu()
982 rp->power_limit_irq = l & PACKAGE_THERM_INT_PLN_ENABLE; in power_limit_irq_save_cpu()
983 rp->power_limit_irq |= PACKAGE_PLN_INT_SAVED; in power_limit_irq_save_cpu()
1025 if (!(rp->power_limit_irq & PACKAGE_PLN_INT_SAVED)) in package_power_limit_irq_restore()
1030 if (rp->power_limit_irq & PACKAGE_THERM_INT_PLN_ENABLE) in package_power_limit_irq_restore()