Searched refs:pm_descr (Results 1 – 3 of 3) sorted by relevance
/freebsd/sys/dev/hwpmc/ |
H A D | hwpmc_amd.c | 56 struct pmc_descr pm_descr; /* "base class" */ member 64 .pm_descr = { \ 231 pd->pm_descr.pd_class); in amd_read_pmc() 368 pd = &amd_pmcdesc[ri].pm_descr; in amd_allocate_pmc() 489 ri, cpu, pd->pm_descr.pd_name)); in amd_start_pmc() 519 __LINE__, ri, cpu, pd->pm_descr.pd_name)); in amd_stop_pmc() 535 if (rdmsr(pd->pm_perfctr) & (1 << (pd->pm_descr.pd_width - 1))) in amd_stop_pmc() 663 strlcpy(pi->pm_name, pd->pm_descr.pd_name, sizeof(pi->pm_name)); in amd_describe() 664 pi->pm_class = pd->pm_descr.pd_class; in amd_describe() 857 snprintf(amd_pmcdesc[i].pm_descr.pd_name, PMC_NAME_MAX, "K8-%d", in pmc_amd_initialize()
|
H A D | hwpmc_tsc.c | 43 struct pmc_descr pm_descr; /* "base class" */ member 49 .pm_descr = 124 strlcpy(pi->pm_name, pd->pm_descr.pd_name, sizeof(pi->pm_name)); in tsc_describe() 125 pi->pm_class = pd->pm_descr.pd_class; in tsc_describe()
|
H A D | hwpmc_soft.c | 48 struct pmc_descr pm_descr; /* "base class" */ member 55 .pm_descr = \ 170 strlcpy(pi->pm_name, pd->pm_descr.pd_name, sizeof(pi->pm_name)); in soft_describe() 171 pi->pm_class = pd->pm_descr.pd_class; in soft_describe()
|