Searched refs:unitmask (Results 1 - 3 of 3) sorted by relevance

/freebsd-10.2-release/sys/dev/hwpmc/
H A Dhwpmc_ppro.c497 uint32_t allowed_unitmask, caps, config, unitmask; local
547 unitmask = a->pm_md.pm_ppro.pm_ppro_config & P6_EVSEL_UMASK_MASK;
548 if (unitmask & ~allowed_unitmask) /* disallow reserved bits */
552 unitmask = P6_EVSEL_TO_UMASK(0x0F);
558 if (unitmask & (caps & PMC_CAP_QUALIFIER))
559 config |= unitmask;
H A Dhwpmc_amd.c437 uint32_t allowed_unitmask, caps, config, unitmask; local
476 unitmask = a->pm_md.pm_amd.pm_amd_config & AMD_PMC_UNITMASK;
477 if (unitmask & ~allowed_unitmask) /* disallow reserved bits */
480 if (unitmask && (caps & PMC_CAP_QUALIFIER))
481 config |= unitmask;
/freebsd-10.2-release/lib/libpmc/
H A Dlibpmc.c492 #define K7_KW_UNITMASK "unitmask"
501 uint32_t count, unitmask; local
510 unitmask = AMD_PMC_UNITMASK_MOESI;
512 unitmask = has_unitmask = 0;
537 unitmask = 0;
544 unitmask |= AMD_PMC_UNITMASK_M;
546 unitmask |= AMD_PMC_UNITMASK_O;
548 unitmask |= AMD_PMC_UNITMASK_E;
550 unitmask |= AMD_PMC_UNITMASK_S;
552 unitmask |
[all...]

Completed in 63 milliseconds