Searched refs:pmu_idx (Results 1 – 8 of 8) sorted by relevance
| /arch/x86/events/intel/ |
| A D | uncore_discovery.c | 123 if (unit->pmu_idx > *id) in pmu_idx_cmp() 125 else if (unit->pmu_idx < *id) in pmu_idx_cmp() 133 unsigned int pmu_idx) in intel_uncore_find_discovery_unit() argument 152 if (unit->pmu_idx != pmu_idx) in intel_uncore_find_discovery_unit() 163 unsigned int pmu_idx) in intel_uncore_find_discovery_unit_id() argument 181 if (a_node->pmu_idx < b_node->pmu_idx) in unit_less() 183 if (a_node->pmu_idx > b_node->pmu_idx) in unit_less() 215 node->pmu_idx = unit->pmu_idx; in uncore_find_add_unit() 217 node->pmu_idx = (*num_units)++; in uncore_find_add_unit() 483 -1, box->pmu->pmu_idx); in intel_generic_uncore_box_ctl() [all …]
|
| A D | uncore.h | 127 int pmu_idx; member 199 int pmu_idx; member 276 box->pmu->type->mmio_offset * box->pmu->pmu_idx; in uncore_mmio_box_ctl() 313 pmu->type->msr_offsets[pmu->pmu_idx] : in uncore_msr_box_offset() 314 pmu->type->msr_offset * pmu->pmu_idx; in uncore_msr_box_offset() 388 pmu->type->freerunning[type].box_offsets[pmu->pmu_idx] : in uncore_freerunning_counter() 389 pmu->type->freerunning[type].box_offset * pmu->pmu_idx); in uncore_freerunning_counter()
|
| A D | uncore_discovery.h | 121 unsigned int pmu_idx; /* The idx of the corresponding PMU */ member 169 unsigned int pmu_idx);
|
| A D | uncore_snb.c | 276 if (box->pmu->pmu_idx == 0) { in snb_uncore_msr_init_box() 290 if (box->pmu->pmu_idx == 0) in snb_uncore_msr_exit_box() 375 if (box->pmu->pmu_idx == 0) { in skl_uncore_msr_init_box() 381 if (box->pmu->pmu_idx == 7) in skl_uncore_msr_init_box() 393 if (box->pmu->pmu_idx == 0) in skl_uncore_msr_exit_box() 528 if (box->pmu->pmu_idx == 0) in rkl_uncore_msr_init_box() 544 if (box->pmu->pmu_idx == 0) in adl_uncore_msr_init_box() 555 if (box->pmu->pmu_idx == 0) in adl_uncore_msr_disable_box() 561 if (box->pmu->pmu_idx == 0) in adl_uncore_msr_exit_box() 761 if (box->pmu->pmu_idx == 0) in lnl_uncore_msr_init_box() [all …]
|
| A D | uncore.c | 774 if (pmu->type->single_fixed && pmu->pmu_idx > 0) in uncore_pmu_event_init() 862 return intel_uncore_find_discovery_unit_id(type->boxes, -1, pmu->pmu_idx); in uncore_get_box_id() 864 return pmu->pmu_idx; in uncore_get_box_id() 1000 pmus[i].pmu_idx = i; in uncore_type_init() 1091 return &type->pmus[unit->pmu_idx]; in uncore_pci_find_dev_pmu_from_types() 1379 pmu = &type->pmus[unit->pmu_idx]; in uncore_pci_pmus_register() 1446 int die, unsigned int pmu_idx) in uncore_die_has_box() argument 1451 if (intel_uncore_find_discovery_unit_id(type->boxes, die, pmu_idx) < 0) in uncore_die_has_box() 1472 if (uncore_die_has_box(type, die, pmu->pmu_idx)) { in uncore_change_type_ctx() 1485 if (!uncore_die_has_box(type, die, pmu->pmu_idx)) in uncore_change_type_ctx()
|
| A D | uncore_snbep.c | 1032 SNBEP_CBO_MSR_OFFSET * box->pmu->pmu_idx; in snbep_cbox_hw_config() 1773 SNBEP_CBO_MSR_OFFSET * box->pmu->pmu_idx; in ivbep_cbox_hw_config() 2201 KNL_CHA_MSR_OFFSET * box->pmu->pmu_idx; in knl_cha_hw_config() 2756 HSWEP_CBO_MSR_OFFSET * box->pmu->pmu_idx; in hswep_cbox_hw_config() 3645 HSWEP_CBO_MSR_OFFSET * box->pmu->pmu_idx; in skx_cha_hw_config() 3729 if (pmu->type->topology[die][idx].pmu_idx == pmu->pmu_idx) in pmu_topology() 3893 t->pmu_idx = idx; in skx_iio_topology_cb() 4315 int pmu_idx) in upi_fill_topology() argument 4321 tp->pmu_idx = pmu_idx; in upi_fill_topology() 5308 icx_cha_msr_offsets[box->pmu->pmu_idx]; in icx_cha_hw_config() [all …]
|
| A D | uncore_nhmex.c | 369 if (box->pmu->pmu_idx == 0) in nhmex_bbox_hw_config() 454 if (box->pmu->pmu_idx == 0) in nhmex_sbox_hw_config() 786 msr = er->msr + type->msr_offset * box->pmu->pmu_idx; in nhmex_mbox_hw_config() 813 if (box->pmu->pmu_idx == 0) in nhmex_mbox_hw_config() 1121 port = idx / 6 + box->pmu->pmu_idx * 4; in nhmex_rbox_msr_enable_event()
|
| /arch/powerpc/perf/ |
| A D | imc-pmu.c | 1790 int init_imc_pmu(struct device_node *parent, struct imc_pmu *pmu_ptr, int pmu_idx) in init_imc_pmu() argument 1794 ret = imc_mem_init(pmu_ptr, parent, pmu_idx); in init_imc_pmu()
|
Completed in 45 milliseconds