Home
last modified time | relevance | path

Searched refs:box_ctl (Results 1 – 6 of 6) sorted by relevance

/Linux-v6.6/arch/x86/events/intel/
Duncore_discovery.c411 int box_ctl = uncore_pci_box_ctl(box); in intel_generic_uncore_pci_init_box() local
414 pci_write_config_dword(pdev, box_ctl, GENERIC_PMON_BOX_CTL_INT); in intel_generic_uncore_pci_init_box()
420 int box_ctl = uncore_pci_box_ctl(box); in intel_generic_uncore_pci_disable_box() local
422 pci_write_config_dword(pdev, box_ctl, GENERIC_PMON_BOX_CTL_FRZ); in intel_generic_uncore_pci_disable_box()
428 int box_ctl = uncore_pci_box_ctl(box); in intel_generic_uncore_pci_enable_box() local
430 pci_write_config_dword(pdev, box_ctl, 0); in intel_generic_uncore_pci_enable_box()
487 u64 box_ctl = generic_uncore_mmio_box_ctl(box); in intel_generic_uncore_mmio_init_box() local
491 if (!box_ctl) { in intel_generic_uncore_mmio_init_box()
497 addr = box_ctl; in intel_generic_uncore_mmio_init_box()
572 uncore->box_ctl = (unsigned int)type->box_ctrl; in uncore_update_uncore_type()
[all …]
Duncore_snbep.c554 int box_ctl = uncore_pci_box_ctl(box); in snbep_uncore_pci_disable_box() local
557 if (!pci_read_config_dword(pdev, box_ctl, &config)) { in snbep_uncore_pci_disable_box()
559 pci_write_config_dword(pdev, box_ctl, config); in snbep_uncore_pci_disable_box()
566 int box_ctl = uncore_pci_box_ctl(box); in snbep_uncore_pci_enable_box() local
569 if (!pci_read_config_dword(pdev, box_ctl, &config)) { in snbep_uncore_pci_enable_box()
571 pci_write_config_dword(pdev, box_ctl, config); in snbep_uncore_pci_enable_box()
606 int box_ctl = uncore_pci_box_ctl(box); in snbep_uncore_pci_init_box() local
608 pci_write_config_dword(pdev, box_ctl, SNBEP_PMON_BOX_CTL_INT); in snbep_uncore_pci_init_box()
1050 .box_ctl = SNBEP_C0_MSR_PMON_BOX_CTL,
1160 .box_ctl = SNBEP_PCU_MSR_PMON_BOX_CTL,
[all …]
Duncore.h64 unsigned box_ctl; member
272 return box->pmu->type->box_ctl + in uncore_mmio_box_ctl()
278 return box->pmu->type->box_ctl; in uncore_pci_box_ctl()
316 if (!box->pmu->type->box_ctl) in uncore_msr_box_ctl()
318 return box->pmu->type->box_ctl + uncore_msr_box_offset(box); in uncore_msr_box_ctl()
Duncore_nhmex.c289 .box_ctl = NHMEX_U_MSR_PMON_GLOBAL_CTL,
321 .box_ctl = NHMEX_C0_MSR_PMON_GLOBAL_CTL,
343 .box_ctl = NHMEX_W_MSR_GLOBAL_CTL,
432 .box_ctl = NHMEX_B0_MSR_PMON_GLOBAL_CTL,
509 .box_ctl = NHMEX_S0_MSR_PMON_GLOBAL_CTL,
935 .box_ctl = NHMEX_M0_MSR_GLOBAL_CTL,
1198 .box_ctl = NHMEX_R_MSR_GLOBAL_CTL,
Duncore.c1080 u64 box_ctl; in uncore_pci_find_dev_pmu_from_types() local
1089 box_ctl = type->box_ctls[die] + type->pci_offsets[i]; in uncore_pci_find_dev_pmu_from_types()
1090 if (pdev->devfn == UNCORE_DISCOVERY_PCI_DEVFN(box_ctl) && in uncore_pci_find_dev_pmu_from_types()
1091 pdev->bus->number == UNCORE_DISCOVERY_PCI_BUS(box_ctl) && in uncore_pci_find_dev_pmu_from_types()
1092 pci_domain_nr(pdev->bus) == UNCORE_DISCOVERY_PCI_DOMAIN(box_ctl)) in uncore_pci_find_dev_pmu_from_types()
1373 u64 box_ctl; in uncore_pci_pmus_register() local
1382 box_ctl = type->box_ctls[die] + type->pci_offsets[i]; in uncore_pci_pmus_register()
1383 pdev = pci_get_domain_bus_and_slot(UNCORE_DISCOVERY_PCI_DOMAIN(box_ctl), in uncore_pci_pmus_register()
1384 UNCORE_DISCOVERY_PCI_BUS(box_ctl), in uncore_pci_pmus_register()
1385 UNCORE_DISCOVERY_PCI_DEVFN(box_ctl)); in uncore_pci_pmus_register()
Duncore_snb.c707 .box_ctl = MTL_UNC_CNCU_BOX_CTL,
722 .box_ctl = MTL_UNC_SNCU_BOX_CTL,
1650 .box_ctl = ADL_UNCORE_IMC_BOX_CTL,