Home
last modified time | relevance | path

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

/Linux-v5.10/arch/x86/events/intel/
Duncore.h112 int pmu_idx; member
240 box->pmu->type->mmio_offset * box->pmu->pmu_idx; in uncore_mmio_box_ctl()
277 pmu->type->msr_offsets[pmu->pmu_idx] : in uncore_msr_box_offset()
278 pmu->type->msr_offset * pmu->pmu_idx; in uncore_msr_box_offset()
352 pmu->type->freerunning[type].box_offsets[pmu->pmu_idx] : in uncore_freerunning_counter()
353 pmu->type->freerunning[type].box_offset * pmu->pmu_idx); in uncore_freerunning_counter()
Duncore_snb.c158 if (box->pmu->pmu_idx == 0) { in snb_uncore_msr_init_box()
172 if (box->pmu->pmu_idx == 0) in snb_uncore_msr_exit_box()
257 if (box->pmu->pmu_idx == 0) { in skl_uncore_msr_init_box()
263 if (box->pmu->pmu_idx == 7) in skl_uncore_msr_init_box()
275 if (box->pmu->pmu_idx == 0) in skl_uncore_msr_exit_box()
1264 addr = (resource_size_t)(mch_bar + TGL_UNCORE_MMIO_IMC_MEM_OFFSET * pmu->pmu_idx); in tgl_uncore_imc_freerunning_init_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_snbep.c1006 SNBEP_CBO_MSR_OFFSET * box->pmu->pmu_idx; in snbep_cbox_hw_config()
1189 int idx = box->pmu->pmu_idx + SNBEP_PCI_QPI_PORT0_FILTER; in snbep_qpi_enable_event()
1690 SNBEP_CBO_MSR_OFFSET * box->pmu->pmu_idx; in ivbep_cbox_hw_config()
2118 KNL_CHA_MSR_OFFSET * box->pmu->pmu_idx; in knl_cha_hw_config()
2673 HSWEP_CBO_MSR_OFFSET * box->pmu->pmu_idx; in hswep_cbox_hw_config()
3566 HSWEP_CBO_MSR_OFFSET * box->pmu->pmu_idx; in skx_cha_hw_config()
3646 return pmu->type->topology[die] >> (pmu->pmu_idx * BUS_NUM_STRIDE); in skx_iio_stack()
3655 return (!skx_iio_stack(pmu, die) && pmu->pmu_idx) ? 0 : attr->mode; in skx_iio_mapping_visible()
4308 box->pmu->type->msr_offset * box->pmu->pmu_idx; in snr_cha_hw_config()
4867 icx_cha_msr_offsets[box->pmu->pmu_idx]; in icx_cha_hw_config()
[all …]
Duncore.c747 if (pmu->type->single_fixed && pmu->pmu_idx > 0) in uncore_pmu_event_init()
866 pmu->pmu_idx); in uncore_pmu_register()
932 pmus[i].pmu_idx = i; in uncore_type_init()
/Linux-v5.10/drivers/perf/
Darm_pmu_acpi.c289 int pmu_idx = 0; in arm_pmu_acpi_probe() local
322 pmu->name = kasprintf(GFP_KERNEL, "%s_%d", base_name, pmu_idx++); in arm_pmu_acpi_probe()
Darm_dsu_pmu.c713 static atomic_t pmu_idx = ATOMIC_INIT(-1); in dsu_pmu_device_probe() local
739 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.10/arch/powerpc/perf/
Dimc-pmu.c1775 int init_imc_pmu(struct device_node *parent, struct imc_pmu *pmu_ptr, int pmu_idx) in init_imc_pmu() argument
1779 ret = imc_mem_init(pmu_ptr, parent, pmu_idx); in init_imc_pmu()