Home
last modified time | relevance | path

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

/freebsd/sys/dev/hwpmc/
H A Dhwpmc_amd.c382 if ((ri >= 0 && ri < 6) && a->pm_md.pm_amd.pm_amd_sub_class != in amd_allocate_pmc()
385 if ((ri >= 6 && ri < 12) && a->pm_md.pm_amd.pm_amd_sub_class != in amd_allocate_pmc()
388 if ((ri >= 12 && ri < 16) && a->pm_md.pm_amd.pm_amd_sub_class != in amd_allocate_pmc()
393 pm->pm_md.pm_amd.pm_amd_evsel = a->pm_md.pm_amd.pm_amd_config; in amd_allocate_pmc()
395 a->pm_md.pm_amd.pm_amd_config); in amd_allocate_pmc()
415 unitmask = a->pm_md.pm_amd.pm_amd_config & AMD_PMC_UNITMASK; in amd_allocate_pmc()
423 config |= a->pm_md.pm_amd.pm_amd_config & AMD_PMC_COUNTERMASK; in amd_allocate_pmc()
440 pm->pm_md.pm_amd.pm_amd_evsel = config; /* save config value */ in amd_allocate_pmc()
492 config = pm->pm_md.pm_amd.pm_amd_evsel | AMD_PMC_ENABLE; in amd_start_pmc()
524 config = pm->pm_md.pm_amd.pm_amd_evsel & ~AMD_PMC_ENABLE; in amd_stop_pmc()
[all …]
/freebsd/sys/amd64/include/
H A Dpmc_mdep.h73 struct pmc_md_amd_op_pmcallocate pm_amd; member
87 struct pmc_md_amd_pmc pm_amd; member
/freebsd/sys/i386/include/
H A Dpmc_mdep.h75 struct pmc_md_amd_op_pmcallocate pm_amd; member
90 struct pmc_md_amd_pmc pm_amd; member
/freebsd/lib/libpmc/
H A Dlibpmc.c552 pmc_config->pm_md.pm_amd.pm_amd_config = 0; in k8_allocate_pmc()
638 pmc_config->pm_md.pm_amd.pm_amd_config |= in k8_allocate_pmc()
688 pmc_config->pm_md.pm_amd.pm_amd_config = in k8_allocate_pmc()
708 pmc_config->pm_md.pm_amd.pm_amd_config = 0; in tsc_allocate_pmc()