Home
last modified time | relevance | path

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

/Linux-v5.4/arch/x86/events/intel/
Duncore.h99 int pmu_idx; member
202 box->pmu->type->mmio_offset * box->pmu->pmu_idx; in uncore_mmio_box_ctl()
239 pmu->type->msr_offsets[pmu->pmu_idx] : in uncore_msr_box_offset()
240 pmu->type->msr_offset * pmu->pmu_idx; in uncore_msr_box_offset()
313 pmu->type->freerunning[type].box_offset * pmu->pmu_idx; in uncore_freerunning_counter()
Duncore_snb.c137 if (box->pmu->pmu_idx == 0) { in snb_uncore_msr_init_box()
151 if (box->pmu->pmu_idx == 0) in snb_uncore_msr_exit_box()
236 if (box->pmu->pmu_idx == 0) { in skl_uncore_msr_init_box()
242 if (box->pmu->pmu_idx == 7) in skl_uncore_msr_init_box()
254 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.c742 if (pmu->type->single_fixed && pmu->pmu_idx > 0) in uncore_pmu_event_init()
859 pmu->pmu_idx); in uncore_pmu_register()
922 pmus[i].pmu_idx = i; in uncore_type_init()
Duncore_snbep.c945 SNBEP_CBO_MSR_OFFSET * box->pmu->pmu_idx; in snbep_cbox_hw_config()
1128 int idx = box->pmu->pmu_idx + SNBEP_PCI_QPI_PORT0_FILTER; in snbep_qpi_enable_event()
1629 SNBEP_CBO_MSR_OFFSET * box->pmu->pmu_idx; in ivbep_cbox_hw_config()
2057 KNL_CHA_MSR_OFFSET * box->pmu->pmu_idx; in knl_cha_hw_config()
2612 HSWEP_CBO_MSR_OFFSET * box->pmu->pmu_idx; in hswep_cbox_hw_config()
3505 HSWEP_CBO_MSR_OFFSET * box->pmu->pmu_idx; in skx_cha_hw_config()
4077 box->pmu->type->msr_offset * box->pmu->pmu_idx; in snr_cha_hw_config()
/Linux-v5.4/drivers/perf/
Darm_pmu_acpi.c292 int pmu_idx = 0; in arm_pmu_acpi_probe() local
325 pmu->name = kasprintf(GFP_KERNEL, "%s_%d", base_name, pmu_idx++); in arm_pmu_acpi_probe()
Darm_dsu_pmu.c680 static atomic_t pmu_idx = ATOMIC_INIT(-1); in dsu_pmu_device_probe() local
699 PMUNAME, atomic_inc_return(&pmu_idx)); in dsu_pmu_device_probe()
Darm_spe_pmu.c879 static atomic_t pmu_idx = ATOMIC_INIT(-1); in arm_spe_pmu_perf_init() local
910 idx = atomic_inc_return(&pmu_idx); in arm_spe_pmu_perf_init()
/Linux-v5.4/arch/powerpc/perf/
Dimc-pmu.c1634 int init_imc_pmu(struct device_node *parent, struct imc_pmu *pmu_ptr, int pmu_idx) in init_imc_pmu() argument
1638 ret = imc_mem_init(pmu_ptr, parent, pmu_idx); in init_imc_pmu()