Searched refs:amd_fam14h_pci_dev (Results 1 – 1 of 1) sorted by relevance
/linux-4.1.27/tools/power/cpupower/utils/idle_monitor/ |
D | amd_fam14h_idle.c | 83 static struct pci_dev *amd_fam14h_pci_dev; variable 136 val = pci_read_long(amd_fam14h_pci_dev, pci_offset); in amd_fam14h_init() 138 val = pci_write_long(amd_fam14h_pci_dev, pci_offset, val); in amd_fam14h_init() 143 val = pci_read_long(amd_fam14h_pci_dev, PCI_MONITOR_ENABLE_REG); in amd_fam14h_init() 147 pci_write_long(amd_fam14h_pci_dev, PCI_MONITOR_ENABLE_REG, val); in amd_fam14h_init() 154 pci_write_long(amd_fam14h_pci_dev, pci_offset, 0); in amd_fam14h_init() 169 val = pci_read_long(amd_fam14h_pci_dev, pci_offset); in amd_fam14h_disable() 189 val = pci_read_long(amd_fam14h_pci_dev, PCI_MONITOR_ENABLE_REG); in amd_fam14h_disable() 191 pci_write_long(amd_fam14h_pci_dev, PCI_MONITOR_ENABLE_REG, val); in amd_fam14h_disable() 273 val = pci_read_long(amd_fam14h_pci_dev, PCI_NBP1_CAP_OFFSET); in is_nbp1_capable() [all …]
|