Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/platform/x86/
Dpmc_atom.c259 u32 sts, const struct pmc_bit_map *sts_map, in pmc_dev_state_print() argument
265 for (index = 0; sts_map[index].name; index++) { in pmc_dev_state_print()
267 offset + index, sts_map[index].name, in pmc_dev_state_print()
269 sts_map[index].bit_mask & sts ? "D3" : "D0"); in pmc_dev_state_print()
454 static void pmc_dev_state_check(u32 sts, const struct pmc_bit_map *sts_map, in pmc_dev_state_check() argument
460 for (index = 0; sts_map[index].name; index++) { in pmc_dev_state_check()
462 !(sts_map[index].bit_mask & sts)) { in pmc_dev_state_check()
463 if (sts_map[index].bit_mask & sts_possible_false_pos) in pmc_dev_state_check()
465 sts_map[index].name); in pmc_dev_state_check()
468 sts_map[index].name); in pmc_dev_state_check()