Searched refs:pmu_modes (Results 1 – 1 of 1) sorted by relevance
465 static struct pmu_mode pmu_modes[] = { variable479 for (i = 0; i < ARRAY_SIZE(pmu_modes); i++) { in pmu_mode_store()480 if (strncmp(buffer, pmu_modes[i].name, len - 1) == 0) { in pmu_mode_store()481 xp.val = pmu_modes[i].mode; in pmu_mode_store()486 if (i == ARRAY_SIZE(pmu_modes)) in pmu_mode_store()512 for (i = 0; i < ARRAY_SIZE(pmu_modes); i++) { in pmu_mode_show()513 if (mode == pmu_modes[i].mode) in pmu_mode_show()514 return sprintf(buffer, "%s\n", pmu_modes[i].name); in pmu_mode_show()