pmc_index
int i, pmc_index, sbiret = 0;
pmc_index = array_index_nospec(i + ctr_base,
if (!test_bit(pmc_index, kvpmu->pmc_in_use))
clear_bit(pmc_index, kvpmu->pmc_overflown);
pmc = &kvpmu->pmc[pmc_index];
int i, pmc_index, sbiret = 0;
pmc_index = array_index_nospec(i + ctr_base,
if (!test_bit(pmc_index, kvpmu->pmc_in_use))
pmc = &kvpmu->pmc[pmc_index];
if (test_bit(pmc_index, kvpmu->pmc_overflown))
clear_bit(pmc_index, kvpmu->pmc_in_use);
clear_bit(pmc_index, kvpmu->pmc_overflown);
struct seq_file *s, u32 offset, int pmc_index,
dev_info(dev, "\nPMC%d:LPM_%s_%d:\t0x%x\n", pmc_index, str, idx,
seq_printf(s, "\nPMC%d:LPM_%s_%d:\t0x%x\n", pmc_index, str, idx,
dev_info(dev, "PMC%d:%-30s %-30d\n", pmc_index,
seq_printf(s, "PMC%d:%-30s %-30d\n", pmc_index,
static void pmc_core_substate_req_header_show(struct seq_file *s, int pmc_index,
struct pmc *pmc = pmcdev->pmcs[pmc_index];