Home
last modified time | relevance | path

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

/openbmc/linux/drivers/powercap/
H A Dintel_rapl_tpmi.c148 int tpmi_domain_size, tpmi_domain_flags; in parse_one_domain() local
156 tpmi_domain_flags = tpmi_domain_header >> 32 & 0xffff; in parse_one_domain()
180 if (!(tpmi_domain_flags & BIT(TPMI_RAPL_REG_UNIT)) || in parse_one_domain()
181 !(tpmi_domain_flags & BIT(TPMI_RAPL_REG_ENERGY_STATUS))) { in parse_one_domain()
182 pr_warn(FW_BUG "Invalid Domain flag 0x%x\n", tpmi_domain_flags); in parse_one_domain()
191 if (!(tpmi_domain_flags & BIT(TPMI_RAPL_REG_DOMAIN_INFO))) { in parse_one_domain()
215 if (!(tpmi_domain_flags & BIT(reg_index))) in parse_one_domain()