Lines Matching refs:amd_fam14h_pci_dev
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()
302 amd_fam14h_pci_dev = pci_slot_func_init(&pci_acc, 0x18, 6); in amd_fam14h_register()
303 if (amd_fam14h_pci_dev == NULL || pci_acc == NULL) in amd_fam14h_register()