Lines Matching refs:perfmon_cfg

1207 	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()
1250 MLXBF_PMC_WRITE_REG_64, perfmon_cfg)) in mlxbf_pmc_program_counter()
1254 perfmon_cfg = FIELD_PREP(MLXBF_PMC_PERFMON_CONFIG_ADDR, in mlxbf_pmc_program_counter()
1256 perfmon_cfg |= FIELD_PREP(MLXBF_PMC_PERFMON_CONFIG_STROBE, 1); in mlxbf_pmc_program_counter()
1257 perfmon_cfg |= FIELD_PREP(MLXBF_PMC_PERFMON_CONFIG_WR_R_B, 1); in mlxbf_pmc_program_counter()
1261 MLXBF_PMC_WRITE_REG_64, perfmon_cfg)) in mlxbf_pmc_program_counter()
1319 u64 perfmon_cfg; in mlxbf_pmc_read_counter() local
1336 perfmon_cfg = FIELD_PREP(MLXBF_PMC_PERFMON_CONFIG_ADDR, in mlxbf_pmc_read_counter()
1338 perfmon_cfg |= FIELD_PREP(MLXBF_PMC_PERFMON_CONFIG_STROBE, 1); in mlxbf_pmc_read_counter()
1339 perfmon_cfg |= FIELD_PREP(MLXBF_PMC_PERFMON_CONFIG_WR_R_B, 0); in mlxbf_pmc_read_counter()
1342 MLXBF_PMC_WRITE_REG_64, perfmon_cfg); in mlxbf_pmc_read_counter()
1431 u64 perfmon_cfg, perfevt; in mlxbf_pmc_read_event() local
1447 perfmon_cfg = FIELD_PREP(MLXBF_PMC_PERFMON_CONFIG_ADDR, in mlxbf_pmc_read_event()
1449 perfmon_cfg |= FIELD_PREP(MLXBF_PMC_PERFMON_CONFIG_STROBE, 1); in mlxbf_pmc_read_event()
1450 perfmon_cfg |= FIELD_PREP(MLXBF_PMC_PERFMON_CONFIG_WR_R_B, 0); in mlxbf_pmc_read_event()
1453 MLXBF_PMC_WRITE_REG_64, perfmon_cfg)) in mlxbf_pmc_read_event()