Home
last modified time | relevance | path

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

/openbmc/linux/tools/power/cpupower/utils/idle_monitor/
H A Damd_fam14h_idle.c82 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()
272 val = pci_read_long(amd_fam14h_pci_dev, PCI_NBP1_CAP_OFFSET); in is_nbp1_capable()
302 amd_fam14h_pci_dev = pci_slot_func_init(&pci_acc, 0x18, 6); in amd_fam14h_register()
[all …]