Home
last modified time | relevance | path

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

/linux/drivers/platform/x86/intel/pmc/
H A Dcore.c468 int ltr_index; in pmc_core_send_ltr_ignore() local
470 ltr_index = value; in pmc_core_send_ltr_ignore()
475 for (pmc_index = 0; pmc_index < ARRAY_SIZE(pmcdev->pmcs) && ltr_index >= 0; pmc_index++) { in pmc_core_send_ltr_ignore()
482 if (ltr_index <= map->ltr_ignore_max) in pmc_core_send_ltr_ignore()
490 ltr_index = ltr_index - (map->ltr_ignore_max + 2) - 1; in pmc_core_send_ltr_ignore()
493 if (pmc_index >= ARRAY_SIZE(pmcdev->pmcs) || ltr_index < 0) in pmc_core_send_ltr_ignore()
496 pr_debug("ltr_ignore for pmc%d: ltr_index:%d\n", pmc_index, ltr_index); in pmc_core_send_ltr_ignore()
502 reg |= BIT(ltr_index); in pmc_core_send_ltr_ignore()
504 reg &= ~BIT(ltr_index); in pmc_core_send_ltr_ignore()
631 unsigned int i, index, ltr_index = 0; in pmc_core_ltr_show() local
[all …]