Lines Matching refs:perfmon_cfg

719 	uint64_t perfctl, perfevt, perfmon_cfg;  in mlxbf_pmc_program_counter()  local
736 perfmon_cfg = FIELD_PREP(MLXBF_PMC_PERFMON_CONFIG_WDATA, perfctl); in mlxbf_pmc_program_counter()
737 perfmon_cfg |= FIELD_PREP(MLXBF_PMC_PERFMON_CONFIG_ADDR, in mlxbf_pmc_program_counter()
739 perfmon_cfg |= FIELD_PREP(MLXBF_PMC_PERFMON_CONFIG_STROBE, 1); in mlxbf_pmc_program_counter()
740 perfmon_cfg |= FIELD_PREP(MLXBF_PMC_PERFMON_CONFIG_WR_R_B, 1); in mlxbf_pmc_program_counter()
744 MLXBF_PMC_WRITE_REG_64, perfmon_cfg)) in mlxbf_pmc_program_counter()
750 perfmon_cfg = FIELD_PREP(MLXBF_PMC_PERFMON_CONFIG_WDATA, perfevt); in mlxbf_pmc_program_counter()
751 perfmon_cfg |= FIELD_PREP(MLXBF_PMC_PERFMON_CONFIG_ADDR, in mlxbf_pmc_program_counter()
753 perfmon_cfg |= FIELD_PREP(MLXBF_PMC_PERFMON_CONFIG_STROBE, 1); in mlxbf_pmc_program_counter()
754 perfmon_cfg |= FIELD_PREP(MLXBF_PMC_PERFMON_CONFIG_WR_R_B, 1); in mlxbf_pmc_program_counter()
758 MLXBF_PMC_WRITE_REG_64, perfmon_cfg)) in mlxbf_pmc_program_counter()
762 perfmon_cfg = FIELD_PREP(MLXBF_PMC_PERFMON_CONFIG_ADDR, in mlxbf_pmc_program_counter()
764 perfmon_cfg |= FIELD_PREP(MLXBF_PMC_PERFMON_CONFIG_STROBE, 1); in mlxbf_pmc_program_counter()
765 perfmon_cfg |= FIELD_PREP(MLXBF_PMC_PERFMON_CONFIG_WR_R_B, 1); in mlxbf_pmc_program_counter()
769 MLXBF_PMC_WRITE_REG_64, perfmon_cfg)) in mlxbf_pmc_program_counter()
812 uint64_t perfmon_cfg; in mlxbf_pmc_read_counter() local
826 perfmon_cfg = FIELD_PREP(MLXBF_PMC_PERFMON_CONFIG_ADDR, in mlxbf_pmc_read_counter()
828 perfmon_cfg |= FIELD_PREP(MLXBF_PMC_PERFMON_CONFIG_STROBE, 1); in mlxbf_pmc_read_counter()
829 perfmon_cfg |= FIELD_PREP(MLXBF_PMC_PERFMON_CONFIG_WR_R_B, 0); in mlxbf_pmc_read_counter()
832 MLXBF_PMC_WRITE_REG_64, perfmon_cfg); in mlxbf_pmc_read_counter()
901 uint64_t perfmon_cfg, perfevt; in mlxbf_pmc_read_event() local
914 perfmon_cfg = FIELD_PREP(MLXBF_PMC_PERFMON_CONFIG_ADDR, in mlxbf_pmc_read_event()
916 perfmon_cfg |= FIELD_PREP(MLXBF_PMC_PERFMON_CONFIG_STROBE, 1); in mlxbf_pmc_read_event()
917 perfmon_cfg |= FIELD_PREP(MLXBF_PMC_PERFMON_CONFIG_WR_R_B, 0); in mlxbf_pmc_read_event()
920 MLXBF_PMC_WRITE_REG_64, perfmon_cfg)) in mlxbf_pmc_read_event()