Home
last modified time | relevance | path

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

/linux-5.19.10/arch/x86/events/intel/
Duncore_discovery.c391 int box_ctl = uncore_pci_box_ctl(box); in intel_generic_uncore_pci_init_box() local
394 pci_write_config_dword(pdev, box_ctl, GENERIC_PMON_BOX_CTL_INT); in intel_generic_uncore_pci_init_box()
400 int box_ctl = uncore_pci_box_ctl(box); in intel_generic_uncore_pci_disable_box() local
402 pci_write_config_dword(pdev, box_ctl, GENERIC_PMON_BOX_CTL_FRZ); in intel_generic_uncore_pci_disable_box()
408 int box_ctl = uncore_pci_box_ctl(box); in intel_generic_uncore_pci_enable_box() local
410 pci_write_config_dword(pdev, box_ctl, 0); in intel_generic_uncore_pci_enable_box()
467 u64 box_ctl = generic_uncore_mmio_box_ctl(box); in intel_generic_uncore_mmio_init_box() local
471 if (!box_ctl) { in intel_generic_uncore_mmio_init_box()
477 addr = box_ctl; in intel_generic_uncore_mmio_init_box()
552 uncore->box_ctl = (unsigned int)type->box_ctrl; in uncore_update_uncore_type()
[all …]
Duncore_snbep.c552 int box_ctl = uncore_pci_box_ctl(box); in snbep_uncore_pci_disable_box() local
555 if (!pci_read_config_dword(pdev, box_ctl, &config)) { in snbep_uncore_pci_disable_box()
557 pci_write_config_dword(pdev, box_ctl, config); in snbep_uncore_pci_disable_box()
564 int box_ctl = uncore_pci_box_ctl(box); in snbep_uncore_pci_enable_box() local
567 if (!pci_read_config_dword(pdev, box_ctl, &config)) { in snbep_uncore_pci_enable_box()
569 pci_write_config_dword(pdev, box_ctl, config); in snbep_uncore_pci_enable_box()
604 int box_ctl = uncore_pci_box_ctl(box); in snbep_uncore_pci_init_box() local
606 pci_write_config_dword(pdev, box_ctl, SNBEP_PMON_BOX_CTL_INT); in snbep_uncore_pci_init_box()
1048 .box_ctl = SNBEP_C0_MSR_PMON_BOX_CTL,
1158 .box_ctl = SNBEP_PCU_MSR_PMON_BOX_CTL,
[all …]
Duncore.h61 unsigned box_ctl; member
253 return box->pmu->type->box_ctl + in uncore_mmio_box_ctl()
259 return box->pmu->type->box_ctl; in uncore_pci_box_ctl()
297 if (!box->pmu->type->box_ctl) in uncore_msr_box_ctl()
299 return box->pmu->type->box_ctl + uncore_msr_box_offset(box); in uncore_msr_box_ctl()
Duncore.c1059 u64 box_ctl; in uncore_pci_find_dev_pmu_from_types() local
1068 box_ctl = type->box_ctls[die] + type->pci_offsets[i]; in uncore_pci_find_dev_pmu_from_types()
1069 if (pdev->devfn == UNCORE_DISCOVERY_PCI_DEVFN(box_ctl) && in uncore_pci_find_dev_pmu_from_types()
1070 pdev->bus->number == UNCORE_DISCOVERY_PCI_BUS(box_ctl) && in uncore_pci_find_dev_pmu_from_types()
1071 pci_domain_nr(pdev->bus) == UNCORE_DISCOVERY_PCI_DOMAIN(box_ctl)) in uncore_pci_find_dev_pmu_from_types()
1352 u64 box_ctl; in uncore_pci_pmus_register() local
1361 box_ctl = type->box_ctls[die] + type->pci_offsets[i]; in uncore_pci_pmus_register()
1362 pdev = pci_get_domain_bus_and_slot(UNCORE_DISCOVERY_PCI_DOMAIN(box_ctl), in uncore_pci_pmus_register()
1363 UNCORE_DISCOVERY_PCI_BUS(box_ctl), in uncore_pci_pmus_register()
1364 UNCORE_DISCOVERY_PCI_DEVFN(box_ctl)); in uncore_pci_pmus_register()
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_snb.c1486 .box_ctl = ADL_UNCORE_IMC_BOX_CTL,