Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/perf/
Darm_pmu_acpi.c225 int pmu_idx = 0; in arm_pmu_acpi_probe() local
258 pmu->name = kasprintf(GFP_KERNEL, "%s_%d", base_name, pmu_idx++); in arm_pmu_acpi_probe()
Darm_dsu_pmu.c689 static atomic_t pmu_idx = ATOMIC_INIT(-1); in dsu_pmu_device_probe() local
708 PMUNAME, atomic_inc_return(&pmu_idx)); in dsu_pmu_device_probe()
Darm_spe_pmu.c897 static atomic_t pmu_idx = ATOMIC_INIT(-1); in arm_spe_pmu_perf_init() local
928 idx = atomic_inc_return(&pmu_idx); in arm_spe_pmu_perf_init()
/Linux-v4.19/arch/x86/events/intel/
Duncore.h95 int pmu_idx; member
220 pmu->type->msr_offsets[pmu->pmu_idx] : in uncore_msr_box_offset()
221 pmu->type->msr_offset * pmu->pmu_idx; in uncore_msr_box_offset()
294 pmu->type->freerunning[type].box_offset * pmu->pmu_idx; in uncore_freerunning_counter()
Duncore_snb.c102 if (box->pmu->pmu_idx == 0) { in snb_uncore_msr_init_box()
116 if (box->pmu->pmu_idx == 0) in snb_uncore_msr_exit_box()
201 if (box->pmu->pmu_idx == 0) { in skl_uncore_msr_init_box()
215 if (box->pmu->pmu_idx == 0) in skl_uncore_msr_exit_box()
Duncore_nhmex.c367 if (box->pmu->pmu_idx == 0) in nhmex_bbox_hw_config()
452 if (box->pmu->pmu_idx == 0) in nhmex_sbox_hw_config()
784 msr = er->msr + type->msr_offset * box->pmu->pmu_idx; in nhmex_mbox_hw_config()
811 if (box->pmu->pmu_idx == 0) in nhmex_mbox_hw_config()
1119 port = idx / 6 + box->pmu->pmu_idx * 4; in nhmex_rbox_msr_enable_event()
Duncore.c737 if (pmu->type->single_fixed && pmu->pmu_idx > 0) in uncore_pmu_event_init()
816 pmu->pmu_idx); in uncore_pmu_register()
879 pmus[i].pmu_idx = i; in uncore_type_init()
Duncore_snbep.c877 SNBEP_CBO_MSR_OFFSET * box->pmu->pmu_idx; in snbep_cbox_hw_config()
1060 int idx = box->pmu->pmu_idx + SNBEP_PCI_QPI_PORT0_FILTER; in snbep_qpi_enable_event()
1559 SNBEP_CBO_MSR_OFFSET * box->pmu->pmu_idx; in ivbep_cbox_hw_config()
1987 KNL_CHA_MSR_OFFSET * box->pmu->pmu_idx; in knl_cha_hw_config()
2542 HSWEP_CBO_MSR_OFFSET * box->pmu->pmu_idx; in hswep_cbox_hw_config()
3435 HSWEP_CBO_MSR_OFFSET * box->pmu->pmu_idx; in skx_cha_hw_config()
/Linux-v4.19/arch/powerpc/perf/
Dimc-pmu.c1325 int init_imc_pmu(struct device_node *parent, struct imc_pmu *pmu_ptr, int pmu_idx) in init_imc_pmu() argument
1329 ret = imc_mem_init(pmu_ptr, parent, pmu_idx); in init_imc_pmu()