Searched refs:pmu_idx (Results 1 – 9 of 9) sorted by relevance
225 int pmu_idx = 0; in arm_pmu_acpi_probe() local258 pmu->name = kasprintf(GFP_KERNEL, "%s_%d", base_name, pmu_idx++); in arm_pmu_acpi_probe()
689 static atomic_t pmu_idx = ATOMIC_INIT(-1); in dsu_pmu_device_probe() local708 PMUNAME, atomic_inc_return(&pmu_idx)); in dsu_pmu_device_probe()
897 static atomic_t pmu_idx = ATOMIC_INIT(-1); in arm_spe_pmu_perf_init() local928 idx = atomic_inc_return(&pmu_idx); in arm_spe_pmu_perf_init()
95 int pmu_idx; member220 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()
102 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()
367 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()
737 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()
877 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()
1325 int init_imc_pmu(struct device_node *parent, struct imc_pmu *pmu_ptr, int pmu_idx) in init_imc_pmu() argument1329 ret = imc_mem_init(pmu_ptr, parent, pmu_idx); in init_imc_pmu()