Home
last modified time | relevance | path

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

/openbmc/qemu/target/ppc/
H A Dmisc_helper.c430 #define THRM1_THRES(x) (((x) & 0x7f) << 23) in helper_fixup_thrm() macro
448 t = v & THRM1_THRES(127); in helper_fixup_thrm()
449 if ((v & THRM1_TID) && t < THRM1_THRES(24)) { in helper_fixup_thrm()
452 if (!(v & THRM1_TID) && t > THRM1_THRES(24)) { in helper_fixup_thrm()
/openbmc/linux/arch/powerpc/kernel/
H A Dtau_6xx.c60 mtspr(SPRN_THRM1, THRM1_THRES(tau[cpu].low) | THRM1_V | maybe_tie | THRM1_TID); in set_thresholds()
63 mtspr(SPRN_THRM2, THRM1_THRES(tau[cpu].high) | THRM1_V | maybe_tie); in set_thresholds()
/openbmc/u-boot/arch/powerpc/include/asm/
H A Dprocessor.h403 #define THRM1_THRES (0x7f<<2) macro
/openbmc/linux/arch/powerpc/include/asm/
H A Dreg.h829 #define THRM1_THRES(x) ((x&0x7f)<<23) macro