Searched refs:pmu_idx (Results 1 – 12 of 12) sorted by relevance
/Linux-v6.6/tools/perf/arch/x86/util/ |
D | iostat.c | 65 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() argument 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() 182 u8 pmu_idx = 0; in iio_pmu_count() local [all …]
|
/Linux-v6.6/arch/x86/events/intel/ |
D | uncore.h | 124 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()
|
D | uncore_snb.c | 274 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 …]
|
D | uncore_snbep.c | 1028 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() 3881 t->pmu_idx = idx; in skx_iio_topology_cb() 4268 return pmu->type->topology[die][pmu->pmu_idx].upi->enabled ? attr->mode : 0; in skx_upi_mapping_visible() [all …]
|
D | uncore_discovery.c | 482 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()
|
D | uncore_nhmex.c | 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()
|
D | uncore.c | 778 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()
|
/Linux-v6.6/drivers/perf/ |
D | arm_pmu_acpi.c | 354 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()
|
D | arm_dsu_pmu.c | 712 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()
|
D | arm_spe_pmu.c | 949 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()
|
/Linux-v6.6/drivers/perf/arm_cspmu/ |
D | arm_cspmu.c | 314 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()
|
/Linux-v6.6/arch/powerpc/perf/ |
D | imc-pmu.c | 1783 int init_imc_pmu(struct device_node *parent, struct imc_pmu *pmu_ptr, int pmu_idx) in init_imc_pmu() argument 1787 ret = imc_mem_init(pmu_ptr, parent, pmu_idx); in init_imc_pmu()
|