Home
last modified time | relevance | path

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

/linux/drivers/platform/mellanox/
H A Dmlxbf-pmc.c1207 u64 perfctl, perfevt, perfmon_cfg; in mlxbf_pmc_program_counter() local
1228 perfmon_cfg = FIELD_PREP(MLXBF_PMC_PERFMON_CONFIG_WDATA, perfctl); in mlxbf_pmc_program_counter()
1229 perfmon_cfg |= FIELD_PREP(MLXBF_PMC_PERFMON_CONFIG_ADDR, in mlxbf_pmc_program_counter()
1231 perfmon_cfg |= FIELD_PREP(MLXBF_PMC_PERFMON_CONFIG_STROBE, 1); in mlxbf_pmc_program_counter()
1232 perfmon_cfg |= FIELD_PREP(MLXBF_PMC_PERFMON_CONFIG_WR_R_B, 1); in mlxbf_pmc_program_counter()
1236 MLXBF_PMC_WRITE_REG_64, perfmon_cfg)) in mlxbf_pmc_program_counter()
1242 perfmon_cfg = FIELD_PREP(MLXBF_PMC_PERFMON_CONFIG_WDATA, perfevt); in mlxbf_pmc_program_counter()
1243 perfmon_cfg |= FIELD_PREP(MLXBF_PMC_PERFMON_CONFIG_ADDR, in mlxbf_pmc_program_counter()
1245 perfmon_cfg |= FIELD_PREP(MLXBF_PMC_PERFMON_CONFIG_STROBE, 1); in mlxbf_pmc_program_counter()
1246 perfmon_cfg |= FIELD_PREP(MLXBF_PMC_PERFMON_CONFIG_WR_R_B, 1); in mlxbf_pmc_program_counter()
[all …]