Searched refs:pmc_mdep (Results 26 - 44 of 44) sorted by relevance

12

/freebsd-11-stable/sys/dev/hwpmc/
H A Dhwpmc_piv.h121 int pmc_p4_initialize(struct pmc_mdep *_md, int _ncpus);
122 void pmc_p4_finalize(struct pmc_mdep *md);
H A Dhwpmc_amd.c902 amd_pcpu_init(struct pmc_mdep *md, int cpu)
954 amd_pcpu_fini(struct pmc_mdep *md, int cpu)
1034 struct pmc_mdep *
1040 struct pmc_mdep *pmc_mdep; local
1106 pmc_mdep = pmc_mdep_alloc(2);
1108 pmc_mdep->pmd_cputype = cputype;
1113 error = pmc_tsc_initialize(pmc_mdep, ncpus);
1118 pcd = &pmc_mdep->pmd_classdep[classindex];
1123 pcd->pcd_ri = pmc_mdep
[all...]
H A Dhwpmc_e500.c37 #include <machine/pmc_mdep.h>
434 e500_pcpu_init(struct pmc_mdep *md, int cpu)
473 e500_pcpu_fini(struct pmc_mdep *md, int cpu)
630 pmc_e500_initialize(struct pmc_mdep *pmc_mdep) argument
634 pmc_mdep->pmd_cputype = PMC_CPU_PPC_E500;
636 pcd = &pmc_mdep->pmd_classdep[PMC_MDEP_CLASS_INDEX_POWERPC];
640 pcd->pcd_ri = pmc_mdep->pmd_npmc;
655 pmc_mdep->pmd_npmc += E500_MAX_PMCS;
656 pmc_mdep
[all...]
H A Dhwpmc_ppc970.c36 #include <machine/pmc_mdep.h>
540 ppc970_pcpu_init(struct pmc_mdep *md, int cpu)
579 ppc970_pcpu_fini(struct pmc_mdep *md, int cpu)
658 pmc_ppc970_initialize(struct pmc_mdep *pmc_mdep) argument
662 pmc_mdep->pmd_cputype = PMC_CPU_PPC_970;
664 pcd = &pmc_mdep->pmd_classdep[PMC_MDEP_CLASS_INDEX_POWERPC];
668 pcd->pcd_ri = pmc_mdep->pmd_npmc;
683 pmc_mdep->pmd_npmc += PPC970_MAX_PMCS;
684 pmc_mdep
[all...]
H A Dhwpmc_tsc.c179 tsc_pcpu_fini(struct pmc_mdep *md, int cpu)
200 tsc_pcpu_init(struct pmc_mdep *md, int cpu)
328 pmc_tsc_initialize(struct pmc_mdep *md, int maxcpu)
366 pmc_tsc_finalize(struct pmc_mdep *md)
H A Dhwpmc_mpc7xxx.c37 #include <machine/pmc_mdep.h>
550 mpc7xxx_pcpu_init(struct pmc_mdep *md, int cpu)
586 mpc7xxx_pcpu_fini(struct pmc_mdep *md, int cpu)
723 pmc_mpc7xxx_initialize(struct pmc_mdep *pmc_mdep) argument
727 pmc_mdep->pmd_cputype = PMC_CPU_PPC_7450;
729 pcd = &pmc_mdep->pmd_classdep[PMC_MDEP_CLASS_INDEX_POWERPC];
733 pcd->pcd_ri = pmc_mdep->pmd_npmc;
748 pmc_mdep->pmd_npmc += MPC7XXX_MAX_PMCS;
749 pmc_mdep
[all...]
H A Dhwpmc_soft.c205 soft_pcpu_fini(struct pmc_mdep *md, int cpu)
229 soft_pcpu_init(struct pmc_mdep *md, int cpu)
450 pmc_soft_initialize(struct pmc_mdep *md)
483 pmc_soft_finalize(struct pmc_mdep *md)
H A Dhwpmc_mips24k.c38 #include <machine/pmc_mdep.h>
H A Dhwpmc_octeon.c38 #include <machine/pmc_mdep.h>
H A Dhwpmc_ppro.c49 #include <machine/pmc_mdep.h>
332 p6_pcpu_init(struct pmc_mdep *md, int cpu)
365 p6_pcpu_fini(struct pmc_mdep *md, int cpu)
784 pmc_p6_initialize(struct pmc_mdep *md, int ncpus)
849 pmc_p6_finalize(struct pmc_mdep *md)
H A Dhwpmc_mips74k.c39 #include <machine/pmc_mdep.h>
H A Dhwpmc_uncore.c86 uncore_pcpu_noop(struct pmc_mdep *md, int cpu)
94 uncore_pcpu_init(struct pmc_mdep *md, int cpu)
131 uncore_pcpu_fini(struct pmc_mdep *md, int cpu)
420 ucf_initialize(struct pmc_mdep *md, int maxcpu, int npmc, int pmcwidth)
1155 ucp_initialize(struct pmc_mdep *md, int maxcpu, int npmc, int pmcwidth)
1188 pmc_uncore_initialize(struct pmc_mdep *md, int maxcpu)
1224 pmc_uncore_finalize(struct pmc_mdep *md)
H A Dhwpmc_mod.c142 static struct pmc_mdep *md;
228 static struct pmc_mdep *pmc_generic_cpu_initialize(void);
229 static void pmc_generic_cpu_finalize(struct pmc_mdep *md);
511 pmc_ri_to_classdep(struct pmc_mdep *md, int ri, int *adjri)
4742 struct pmc_mdep *
4745 struct pmc_mdep *md;
4750 md = malloc(sizeof(struct pmc_mdep) + n *
4760 pmc_mdep_free(struct pmc_mdep *md)
4782 static struct pmc_mdep *
4785 struct pmc_mdep *m
[all...]
H A Dhwpmc_piv.c555 p4_pcpu_init(struct pmc_mdep *md, int cpu)
636 p4_pcpu_fini(struct pmc_mdep *md, int cpu)
1612 pmc_p4_initialize(struct pmc_mdep *md, int ncpus)
1680 pmc_p4_finalize(struct pmc_mdep *md)
H A Dhwpmc_core.c109 core_pcpu_noop(struct pmc_mdep *md, int cpu)
117 core_pcpu_init(struct pmc_mdep *md, int cpu)
156 core_pcpu_fini(struct pmc_mdep *md, int cpu)
528 iaf_initialize(struct pmc_mdep *md, int maxcpu, int npmc, int pmcwidth)
2757 iap_initialize(struct pmc_mdep *md, int maxcpu, int npmc, int pmcwidth,
2977 pmc_core_initialize(struct pmc_mdep *md, int maxcpu, int version_override)
3059 pmc_core_finalize(struct pmc_mdep *md)
H A Dhwpmc_logging.c640 pmclog_configure_log(struct pmc_mdep *md, struct pmc_owner *po, int logfd)
/freebsd-11-stable/sys/sys/
H A Dpmc.h38 #include <machine/pmc_mdep.h>
934 struct pmc_mdep;
968 int (*pcd_pcpu_init)(struct pmc_mdep *_md, int _cpu);
969 int (*pcd_pcpu_fini)(struct pmc_mdep *_md, int _cpu);
976 * struct pmc_mdep
981 struct pmc_mdep { struct
991 int (*pmd_pcpu_init)(struct pmc_mdep *_md, int _cpu);
992 int (*pmd_pcpu_fini)(struct pmc_mdep *_md, int _cpu);
1152 struct pmc_mdep *pmc_md_initialize(void); /* MD init function */
1153 void pmc_md_finalize(struct pmc_mdep *_m
[all...]
H A Dpmclog.h257 int pmclog_configure_log(struct pmc_mdep *_md, struct pmc_owner *_po,
/freebsd-11-stable/lib/libpmc/
H A Dpmclog.c48 #include <machine/pmc_mdep.h>

Completed in 219 milliseconds

12