Lines Matching refs:AMD_NPMCS
74 static struct amd_descr amd_pmcdesc[AMD_NPMCS] =
206 struct pmc_hw pc_amdpmcs[AMD_NPMCS];
222 KASSERT(ri >= 0 && ri < AMD_NPMCS, in amd_read_pmc()
267 KASSERT(ri >= 0 && ri < AMD_NPMCS, in amd_write_pmc()
296 KASSERT(ri >= 0 && ri < AMD_NPMCS, in amd_config_pmc()
365 KASSERT(ri >= 0 && ri < AMD_NPMCS, in amd_allocate_pmc()
458 KASSERT(ri >= 0 && ri < AMD_NPMCS, in amd_release_pmc()
480 KASSERT(ri >= 0 && ri < AMD_NPMCS, in amd_start_pmc()
512 KASSERT(ri >= 0 && ri < AMD_NPMCS, in amd_stop_pmc()
657 KASSERT(ri >= 0 && ri < AMD_NPMCS, in amd_describe()
683 KASSERT(ri >= 0 && ri < AMD_NPMCS, in amd_get_msr()
718 for (n = 0, phw = pac->pc_amdpmcs; n < AMD_NPMCS; n++, phw++) { in amd_pcpu_init()
762 for (i = 0; i < AMD_NPMCS; i++) { in amd_pcpu_fini()
778 for (i = 0; i < AMD_NPMCS; i++) in amd_pcpu_fini()
851 pcd->pcd_num = AMD_NPMCS; in pmc_amd_initialize()
856 for (i = 0; i < AMD_NPMCS; i++) { in pmc_amd_initialize()
879 pmc_mdep->pmd_npmc += AMD_NPMCS; in pmc_amd_initialize()