Searched refs:box_ctl (Results 1 – 5 of 5) sorted by relevance
/linux-6.12.1/arch/x86/events/intel/ |
D | uncore_discovery.c | 486 u64 box_ctl; in intel_generic_uncore_assign_hw_event() local 497 box_ctl = intel_generic_uncore_box_ctl(box); in intel_generic_uncore_assign_hw_event() 498 if (!box_ctl) in intel_generic_uncore_assign_hw_event() 502 box_ctl = UNCORE_DISCOVERY_PCI_BOX_CTRL(box_ctl); in intel_generic_uncore_assign_hw_event() 503 hwc->config_base = box_ctl + uncore_pci_event_ctl(box, hwc->idx); in intel_generic_uncore_assign_hw_event() 504 hwc->event_base = box_ctl + uncore_pci_perf_ctr(box, hwc->idx); in intel_generic_uncore_assign_hw_event() 508 hwc->config_base = box_ctl + box->pmu->type->event_ctl + hwc->idx; in intel_generic_uncore_assign_hw_event() 509 hwc->event_base = box_ctl + box->pmu->type->perf_ctr + hwc->idx; in intel_generic_uncore_assign_hw_event() 522 int box_ctl = intel_pci_uncore_box_ctl(box); in intel_generic_uncore_pci_init_box() local 525 pci_write_config_dword(pdev, box_ctl, GENERIC_PMON_BOX_CTL_INT); in intel_generic_uncore_pci_init_box() [all …]
|
D | uncore_snbep.c | 557 int box_ctl = uncore_pci_box_ctl(box); in snbep_uncore_pci_disable_box() local 560 if (!pci_read_config_dword(pdev, box_ctl, &config)) { in snbep_uncore_pci_disable_box() 562 pci_write_config_dword(pdev, box_ctl, config); in snbep_uncore_pci_disable_box() 569 int box_ctl = uncore_pci_box_ctl(box); in snbep_uncore_pci_enable_box() local 572 if (!pci_read_config_dword(pdev, box_ctl, &config)) { in snbep_uncore_pci_enable_box() 574 pci_write_config_dword(pdev, box_ctl, config); in snbep_uncore_pci_enable_box() 609 int box_ctl = uncore_pci_box_ctl(box); in snbep_uncore_pci_init_box() local 611 pci_write_config_dword(pdev, box_ctl, SNBEP_PMON_BOX_CTL_INT); in snbep_uncore_pci_init_box() 1053 .box_ctl = SNBEP_C0_MSR_PMON_BOX_CTL, 1163 .box_ctl = SNBEP_PCU_MSR_PMON_BOX_CTL, [all …]
|
D | uncore.h | 64 unsigned box_ctl; member 276 return box->pmu->type->box_ctl + in uncore_mmio_box_ctl() 282 return box->pmu->type->box_ctl; in uncore_pci_box_ctl() 320 if (!box->pmu->type->box_ctl) in uncore_msr_box_ctl() 322 return box->pmu->type->box_ctl + uncore_msr_box_offset(box); in uncore_msr_box_ctl()
|
D | uncore_nhmex.c | 290 .box_ctl = NHMEX_U_MSR_PMON_GLOBAL_CTL, 322 .box_ctl = NHMEX_C0_MSR_PMON_GLOBAL_CTL, 344 .box_ctl = NHMEX_W_MSR_GLOBAL_CTL, 433 .box_ctl = NHMEX_B0_MSR_PMON_GLOBAL_CTL, 510 .box_ctl = NHMEX_S0_MSR_PMON_GLOBAL_CTL, 936 .box_ctl = NHMEX_M0_MSR_GLOBAL_CTL, 1199 .box_ctl = NHMEX_R_MSR_GLOBAL_CTL,
|
D | uncore_snb.c | 708 .box_ctl = MTL_UNC_CNCU_BOX_CTL, 723 .box_ctl = MTL_UNC_SNCU_BOX_CTL, 1696 .box_ctl = ADL_UNCORE_IMC_BOX_CTL, 1808 .box_ctl = LNL_UNCORE_HBO_BOX_CTL, 1837 .box_ctl = LNL_UNCORE_SNCU_BOX_CTL,
|