Searched refs:amd_fam14h_pci_dev (Results 1 – 1 of 1) sorted by relevance
/linux-6.12.1/tools/power/cpupower/utils/idle_monitor/ |
D | amd_fam14h_idle.c | 82 static struct pci_dev *amd_fam14h_pci_dev; variable 135 val = pci_read_long(amd_fam14h_pci_dev, pci_offset); in amd_fam14h_init() 137 val = pci_write_long(amd_fam14h_pci_dev, pci_offset, val); in amd_fam14h_init() 142 val = pci_read_long(amd_fam14h_pci_dev, PCI_MONITOR_ENABLE_REG); in amd_fam14h_init() 146 pci_write_long(amd_fam14h_pci_dev, PCI_MONITOR_ENABLE_REG, val); in amd_fam14h_init() 153 pci_write_long(amd_fam14h_pci_dev, pci_offset, 0); in amd_fam14h_init() 168 val = pci_read_long(amd_fam14h_pci_dev, pci_offset); in amd_fam14h_disable() 188 val = pci_read_long(amd_fam14h_pci_dev, PCI_MONITOR_ENABLE_REG); in amd_fam14h_disable() 190 pci_write_long(amd_fam14h_pci_dev, PCI_MONITOR_ENABLE_REG, val); in amd_fam14h_disable() 272 val = pci_read_long(amd_fam14h_pci_dev, PCI_NBP1_CAP_OFFSET); in is_nbp1_capable() [all …]
|