Home
last modified time | relevance | path

Searched refs:pmu_idx (Results 1 - 21 of 21) sorted by relevance

/kernel/linux/linux-6.6/tools/perf/arch/x86/util/
H A Diostat.c65 u8 pmu_idx; member
81 rp->die, rp->pmu_idx, rp->domain, rp->bus); in iio_root_port_show()
85 u8 die, u8 pmu_idx) in iio_root_port_new()
93 p->pmu_idx = pmu_idx; in iio_root_port_new()
145 static int iio_mapping(u8 pmu_idx, struct iio_root_ports_list * const list) in iio_mapping() argument
156 scnprintf(path, MAX_PATH, PLATFORM_MAPPING_PATH, pmu_idx, die); in iio_mapping()
158 if (pmu_idx) in iio_mapping()
167 pmu_idx, die); in iio_mapping()
170 rp = iio_root_port_new(domain, bus, die, pmu_idx); in iio_mapping()
84 iio_root_port_new(u32 domain, u8 bus, u8 die, u8 pmu_idx) iio_root_port_new() argument
182 u8 pmu_idx = 0; iio_pmu_count() local
[all...]
/kernel/linux/linux-6.6/arch/x86/events/intel/
H A Duncore.h124 int pmu_idx; member
196 int pmu_idx; member
273 box->pmu->type->mmio_offset * box->pmu->pmu_idx; in uncore_mmio_box_ctl()
310 pmu->type->msr_offsets[pmu->pmu_idx] : in uncore_msr_box_offset()
311 pmu->type->msr_offset * pmu->pmu_idx; in uncore_msr_box_offset()
385 pmu->type->freerunning[type].box_offsets[pmu->pmu_idx] : in uncore_freerunning_counter()
386 pmu->type->freerunning[type].box_offset * pmu->pmu_idx); in uncore_freerunning_counter()
H A Duncore_snb.c274 if (box->pmu->pmu_idx == 0) { in snb_uncore_msr_init_box()
288 if (box->pmu->pmu_idx == 0) in snb_uncore_msr_exit_box()
373 if (box->pmu->pmu_idx == 0) { in skl_uncore_msr_init_box()
379 if (box->pmu->pmu_idx == 7) in skl_uncore_msr_init_box()
391 if (box->pmu->pmu_idx == 0) in skl_uncore_msr_exit_box()
526 if (box->pmu->pmu_idx == 0) in rkl_uncore_msr_init_box()
542 if (box->pmu->pmu_idx == 0) in adl_uncore_msr_init_box()
553 if (box->pmu->pmu_idx == 0) in adl_uncore_msr_disable_box()
559 if (box->pmu->pmu_idx == 0) in adl_uncore_msr_exit_box()
1506 addr = (resource_size_t)(mch_bar + TGL_UNCORE_MMIO_IMC_MEM_OFFSET * pmu->pmu_idx); in __uncore_imc_init_box()
[all...]
H A Duncore_snbep.c1028 SNBEP_CBO_MSR_OFFSET * box->pmu->pmu_idx; in snbep_cbox_hw_config()
1210 int idx = box->pmu->pmu_idx + SNBEP_PCI_QPI_PORT0_FILTER; in snbep_qpi_enable_event()
1761 SNBEP_CBO_MSR_OFFSET * box->pmu->pmu_idx; in ivbep_cbox_hw_config()
2189 KNL_CHA_MSR_OFFSET * box->pmu->pmu_idx; in knl_cha_hw_config()
2744 HSWEP_CBO_MSR_OFFSET * box->pmu->pmu_idx; in hswep_cbox_hw_config()
3633 HSWEP_CBO_MSR_OFFSET * box->pmu->pmu_idx; in skx_cha_hw_config()
3717 if (pmu->type->topology[die][idx].pmu_idx == pmu->pmu_idx) in pmu_topology()
3731 return (pmut && !pmut->iio->pci_bus_no && pmu->pmu_idx != zero_bus_pmu) ? 0 : attr->mode; in pmu_iio_mapping_visible()
3737 /* Root bus 0x00 is valid only for pmu_idx in skx_iio_mapping_visible()
4302 upi_fill_topology(struct pci_dev *dev, struct intel_uncore_topology *tp, int pmu_idx) upi_fill_topology() argument
[all...]
H A Duncore_discovery.c482 return type->box_ctls[box->dieid] + type->mmio_offsets[box->pmu->pmu_idx]; in generic_uncore_mmio_box_ctl()
493 type->type_id, type->box_ids[box->pmu->pmu_idx]); in intel_generic_uncore_mmio_init_box()
501 type->type_id, type->box_ids[box->pmu->pmu_idx], in intel_generic_uncore_mmio_init_box()
H A 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()
H A Duncore.c778 if (pmu->type->single_fixed && pmu->pmu_idx > 0) in uncore_pmu_event_init()
863 return type->box_ids ? type->box_ids[pmu->pmu_idx] : pmu->pmu_idx; in uncore_get_box_id()
1000 pmus[i].pmu_idx = i; in uncore_type_init()
/kernel/linux/linux-5.10/arch/x86/events/intel/
H A Duncore.h113 int pmu_idx; member
241 box->pmu->type->mmio_offset * box->pmu->pmu_idx; in uncore_mmio_box_ctl()
278 pmu->type->msr_offsets[pmu->pmu_idx] : in uncore_msr_box_offset()
279 pmu->type->msr_offset * pmu->pmu_idx; in uncore_msr_box_offset()
353 pmu->type->freerunning[type].box_offsets[pmu->pmu_idx] : in uncore_freerunning_counter()
354 pmu->type->freerunning[type].box_offset * pmu->pmu_idx); in uncore_freerunning_counter()
H A 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()
1281 addr = (resource_size_t)(mch_bar + TGL_UNCORE_MMIO_IMC_MEM_OFFSET * pmu->pmu_idx); in tgl_uncore_imc_freerunning_init_box()
H A 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()
H A Duncore_snbep.c1006 SNBEP_CBO_MSR_OFFSET * box->pmu->pmu_idx; in snbep_cbox_hw_config()
1188 int idx = box->pmu->pmu_idx + SNBEP_PCI_QPI_PORT0_FILTER; in snbep_qpi_enable_event()
1689 SNBEP_CBO_MSR_OFFSET * box->pmu->pmu_idx; in ivbep_cbox_hw_config()
2117 KNL_CHA_MSR_OFFSET * box->pmu->pmu_idx; in knl_cha_hw_config()
2672 HSWEP_CBO_MSR_OFFSET * box->pmu->pmu_idx; in hswep_cbox_hw_config()
3561 HSWEP_CBO_MSR_OFFSET * box->pmu->pmu_idx; in skx_cha_hw_config()
3642 return pmu->type->topology[die] >> (pmu->pmu_idx * BUS_NUM_STRIDE); in skx_iio_stack()
3651 return (!skx_iio_stack(pmu, die) && pmu->pmu_idx != zero_bus_pmu) ? 0 : attr->mode; in pmu_iio_mapping_visible()
3657 /* Root bus 0x00 is valid only for pmu_idx = 0. */ in skx_iio_mapping_visible()
4335 box->pmu->type->msr_offset * box->pmu->pmu_idx; in snr_cha_hw_config()
[all...]
H A 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()
/kernel/linux/linux-5.10/drivers/perf/
H A 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()
H A 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()
H A 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()
/kernel/linux/linux-6.6/drivers/perf/
H A Darm_pmu_acpi.c354 int pmu_idx = 0; in arm_pmu_acpi_probe() local
412 pmu->name = kasprintf(GFP_KERNEL, "%s_%d", base_name, pmu_idx++); in arm_pmu_acpi_probe()
H A Darm_dsu_pmu.c712 static atomic_t pmu_idx = ATOMIC_INIT(-1); in dsu_pmu_device_probe() local
735 PMUNAME, atomic_inc_return(&pmu_idx)); in dsu_pmu_device_probe()
H A Darm_spe_pmu.c949 static atomic_t pmu_idx = ATOMIC_INIT(-1); in arm_spe_pmu_perf_init() local
980 idx = atomic_inc_return(&pmu_idx); in arm_spe_pmu_perf_init()
/kernel/linux/linux-5.10/arch/powerpc/perf/
H A Dimc-pmu.c1776 * @pmu_idx: Count of nest pmc registered
1781 int init_imc_pmu(struct device_node *parent, struct imc_pmu *pmu_ptr, int pmu_idx) in init_imc_pmu() argument
1785 ret = imc_mem_init(pmu_ptr, parent, pmu_idx); in init_imc_pmu()
/kernel/linux/linux-6.6/arch/powerpc/perf/
H A Dimc-pmu.c1784 * @pmu_idx: Count of nest pmc registered
1789 int init_imc_pmu(struct device_node *parent, struct imc_pmu *pmu_ptr, int pmu_idx) in init_imc_pmu() argument
1793 ret = imc_mem_init(pmu_ptr, parent, pmu_idx); in init_imc_pmu()
/kernel/linux/linux-6.6/drivers/perf/arm_cspmu/
H A Darm_cspmu.c314 static atomic_t pmu_idx[ACPI_APMT_NODE_TYPE_COUNT] = { 0 }; in arm_cspmu_get_name() local
336 atomic_fetch_inc(&pmu_idx[pmu_type])); in arm_cspmu_get_name()

Completed in 41 milliseconds