Home
last modified time | relevance | path

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

/openbmc/linux/drivers/platform/mellanox/
H A Dmlxbf-pmc.c719 uint64_t perfctl, perfevt, perfmon_cfg; in mlxbf_pmc_program_counter() local
728 perfctl = FIELD_PREP(MLXBF_PMC_PERFCTL_EN0, 1); in mlxbf_pmc_program_counter()
729 perfctl |= FIELD_PREP(MLXBF_PMC_PERFCTL_EB0, 0); in mlxbf_pmc_program_counter()
730 perfctl |= FIELD_PREP(MLXBF_PMC_PERFCTL_ETRIG0, 1); in mlxbf_pmc_program_counter()
731 perfctl |= FIELD_PREP(MLXBF_PMC_PERFCTL_AD0, 0); in mlxbf_pmc_program_counter()
732 perfctl |= FIELD_PREP(MLXBF_PMC_PERFCTL_ACCM0, 0); in mlxbf_pmc_program_counter()
733 perfctl |= FIELD_PREP(MLXBF_PMC_PERFCTL_MS0, 0); in mlxbf_pmc_program_counter()
734 perfctl |= FIELD_PREP(MLXBF_PMC_PERFCTL_FM0, 0); in mlxbf_pmc_program_counter()
736 perfmon_cfg = FIELD_PREP(MLXBF_PMC_PERFMON_CONFIG_WDATA, perfctl); in mlxbf_pmc_program_counter()