Searched refs:pmu (Results 1 - 25 of 39) sorted by relevance

12

/freebsd-13-stable/lib/libpmc/pmu-events/
H A Djevents.h8 char *pmu,
H A Dpmu-events.h18 const char *pmu; member in struct:pmu_event
30 * The identifier specified in tools/perf/pmu-events/arch/xxx/mapfile
H A Djevents.c339 char *long_desc, char *pmu, char *unit, char *perpkg, char *metric_expr,
360 if (pmu)
361 fprintf(outfp, "\t.pmu = \"%s\",\n", pmu);
383 char *pmu; member in struct:event_struct
410 op(pmu); \
434 char *desc, char *long_desc, char *pmu, char *unit, char *perpkg,
497 char **name, char **long_desc, char **pmu, char **filter __unused,
526 char *pmu, char *unit, char *perpkg,
550 char *pmu local
338 print_events_table_entry(void *data, char *name, const char *event, char *desc, char *long_desc, char *pmu, char *unit, char *perpkg, char *metric_expr, char *metric_name, char *metric_group) argument
433 save_arch_std_events(void *data __unused, char *name, const char *event, char *desc, char *long_desc, char *pmu, char *unit, char *perpkg, char *metric_expr, char *metric_name, char *metric_group) argument
496 try_fixup(const char *fn, char *arch_std, char **event, char **desc, char **name, char **long_desc, char **pmu, char **filter __unused, char **perpkg, char **unit, char **metric_expr, char **metric_name, char **metric_group, unsigned long long eventcode) argument
523 json_events(const char *fn, int (*func)(void *data, char *name, const char *event, char *desc, char *long_desc, char *pmu, char *unit, char *perpkg, char *metric_expr, char *metric_name, char *metric_group), void *data) argument
[all...]
/freebsd-13-stable/lib/libpmc/
H A DMakefile.depend12 lib/libpmc/pmu-events.host \
H A DMakefile25 JEVENTS?= ${HOST_OBJTOP}/${RELDIR}/pmu-events/jevents
27 JEVENTS= ${BTOOLSPATH:U.}/pmu-events/jevents
32 SUBDIR+= pmu-events
37 ${JEVENTS} ${EVENT_ARCH} ${.CURDIR}/pmu-events/arch ${.TARGET}.tmp
/freebsd-13-stable/share/man/man4/man4.powerpc/
H A DMakefile11 pmu.4 \
/freebsd-13-stable/sys/arm/rockchip/
H A Drk32xx_mp.c84 bus_space_handle_t pmu; local
91 rv = bus_space_map(fdtbus_bs_tag, PMU_PHYSBASE, PMU_SIZE, 0, &pmu);
96 val = bus_space_read_4(fdtbus_bs_tag, pmu, PMU_PWRDN_CON);
99 bus_space_write_4(fdtbus_bs_tag, pmu, PMU_PWRDN_CON, val);
103 val = bus_space_read_4(fdtbus_bs_tag, pmu, PMU_PWRDN_CON);
106 bus_space_write_4(fdtbus_bs_tag, pmu, PMU_PWRDN_CON, val);
119 bus_space_unmap(fdtbus_bs_tag, pmu, PMU_SIZE);
/freebsd-13-stable/sys/dev/bhnd/cores/chipc/
H A Dbhnd_pmu_chipc.c53 #include <dev/bhnd/cores/pmu/bhnd_pmuvar.h>
54 #include <dev/bhnd/cores/pmu/bhnd_pmureg.h>
82 if (!ccaps->pmu)
H A Dchipc.h86 bool pmu; /**< PMU is present. */ member in struct:chipc_caps
/freebsd-13-stable/sys/xen/interface/
H A Dpmu.h28 #include "arch-x86/pmu.h"
108 * by both the hypervisor and the guest (see arch-$arch/pmu.h).
130 struct xen_pmu_arch pmu; member in struct:xen_pmu_data
/freebsd-13-stable/sys/mips/broadcom/
H A Dbcm_machdep.h45 #include <dev/bhnd/cores/pmu/bhnd_pmuvar.h>
68 struct bhnd_pmu_query pmu; /**< PMU query instance */ member in struct:bcm_platform
H A Dbcm_machdep.c90 #include <dev/bhnd/cores/pmu/bhnd_pmureg.h>
350 bool aob, pmu; local
410 pmu = CHIPC_GET_FLAG(bp->cc_caps, CHIPC_CAP_PMU);
413 if (pmu && aob) {
418 BCM_ERR("error locating pmu core: %d\n", error);
421 } else if (pmu) {
432 if (pmu) {
433 error = bhnd_pmu_query_init(&bp->pmu, NULL, bp->cid,
H A Dbcm_pmu.c37 #include <dev/bhnd/cores/pmu/bhnd_pmureg.h>
38 #include <dev/bhnd/cores/pmu/bhnd_pmuvar.h>
95 return (&bp->pmu);
/freebsd-13-stable/sys/arm/allwinner/
H A Daw_usbphy.c143 struct resource ** pmu; member in struct:awusbphy_softc
203 if (sc->pmu[phyno] == NULL)
207 CLR4(sc->pmu[phyno], PMU_UNK_H3, PMU_UNK_H3_CLR);
209 SET4(sc->pmu[phyno], PMU_IRQ_ENABLE, PMU_ULPI_BYPASS |
274 sc->pmu = malloc(sizeof(*(sc->pmu)) * sc->phy_conf->num_phys, M_DEVBUF,
282 snprintf(pname, sizeof(pname), "pmu%d", off);
287 sc->pmu[off] = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid,
289 if (sc->pmu[off] == NULL) {
/freebsd-13-stable/sys/dev/bhnd/siba/
H A Dsiba.c172 *result = (uintptr_t)dinfo->pmu.bhnd_info;
215 dinfo->pmu.bhnd_info = (void *)value;
272 if (ccaps.pmu) {
311 dinfo->pmu.pwrctl = pwrctl;
336 panic("pmu over-release for %s", device_get_nameunit(child));
347 pwrctl = dinfo->pmu.pwrctl;
357 dinfo->pmu.pwrctl = NULL;
366 KASSERT(dinfo->pmu.pwrctl == NULL,
370 dinfo->pmu.pwrctl = NULL;
406 error = bhnd_pwrctl_get_clock_latency(dinfo->pmu
[all...]
H A Dsibavar.h220 } pmu; member in struct:siba_devinfo
/freebsd-13-stable/sys/dev/bhnd/cores/chipc/pwrctl/
H A Dbhnd_pwrctl.c44 #include <dev/bhnd/cores/pmu/bhnd_pmuvar.h>
45 #include <dev/bhnd/cores/pmu/bhnd_pmureg.h>
103 if (ccaps->pmu || !ccaps->pwr_ctrl)
H A Dbhnd_pwrctl_subr.c41 #include <dev/bhnd/cores/pmu/bhnd_pmuvar.h>
42 #include <dev/bhnd/cores/pmu/bhnd_pmureg.h>
/freebsd-13-stable/sys/modules/bhnd/
H A DMakefile6 .PATH: ${SRCTOP}/sys/dev/bhnd/cores/pmu
/freebsd-13-stable/sys/powerpc/powermac/
H A Dpmu.c152 "pmu",
159 EARLY_DRIVER_MODULE(pmu, macio, pmu_driver, pmu_devclass, 0, 0,
161 DRIVER_MODULE(adb, pmu, adb_driver, adb_devclass, 0, 0);
185 MODULE_DEPEND(pmu, usb, 1, 1, 1);
279 static device_t pmu = NULL; variable
299 if (strcmp(type, "via-pmu") != 0)
335 if (pmu)
336 return (setup_pmu_intr(pmu,dev));
361 mtx_init(&sc->sc_mutex,"pmu",NULL,MTX_DEF | MTX_RECURSE);
373 pmu
[all...]
/freebsd-13-stable/sys/dev/arcmsr/
H A Darcmsr.c293 struct HBB_MessageUnit *phbbmu = (struct HBB_MessageUnit *)acb->pmu;
339 struct HBB_MessageUnit *phbbmu = (struct HBB_MessageUnit *)acb->pmu;
399 struct HBB_MessageUnit *phbbmu = (struct HBB_MessageUnit *)acb->pmu;
499 struct HBB_MessageUnit *phbbmu = (struct HBB_MessageUnit *)acb->pmu;
679 struct HBB_MessageUnit *phbbmu = (struct HBB_MessageUnit *)acb->pmu;
930 struct HBB_MessageUnit *phbbmu=(struct HBB_MessageUnit *)acb->pmu;
1112 struct HBB_MessageUnit *phbbmu = (struct HBB_MessageUnit *)acb->pmu;
1147 struct HBD_MessageUnit0 *phbdmu = (struct HBD_MessageUnit0 *)acb->pmu;
1211 struct HBA_MessageUnit *phbamu = (struct HBA_MessageUnit *)acb->pmu;
1217 struct HBB_MessageUnit *phbbmu = (struct HBB_MessageUnit *)acb->pmu;
[all...]
/freebsd-13-stable/sys/arm/arm/
H A Dpmu_fdt.c45 #include "pmu.h"
49 {"arm,cortex-a77-pmu", 1},
50 {"arm,cortex-a76-pmu", 1},
51 {"arm,cortex-a75-pmu", 1},
52 {"arm,cortex-a73-pmu", 1},
53 {"arm,cortex-a72-pmu", 1},
54 {"arm,cortex-a65-pmu", 1},
55 {"arm,cortex-a57-pmu", 1},
56 {"arm,cortex-a55-pmu", 1},
57 {"arm,cortex-a53-pmu",
[all...]
/freebsd-13-stable/
H A DMakefile.libcompat55 _jevents= lib/libpmc/pmu-events
/freebsd-13-stable/sys/dev/bwn/
H A Dif_bwn_phy_common.c80 #include <dev/bhnd/cores/pmu/bhnd_pmu.h>
/freebsd-13-stable/sys/arm64/rockchip/
H A Drk_pinctrl.c112 struct syscon *pmu; member in struct:rk_pinctrl_softc
377 return (sc->pmu);
667 return (sc->pmu);
1247 if (OF_hasprop(node, "rockchip,pmu") &&
1249 "rockchip,pmu", &sc->pmu) != 0) {
1250 device_printf(dev, "cannot get pmu driver handle\n");

Completed in 316 milliseconds

12