Home
last modified time | relevance | path

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

/openbmc/linux/tools/power/cpupower/utils/helpers/
H A Dpci.c26 struct pci_dev *pci_acc_init(struct pci_access **pacc, int domain, int bus, in pci_acc_init() argument
32 *pacc = pci_alloc(); in pci_acc_init()
33 if (*pacc == NULL) in pci_acc_init()
36 pci_filter_init(*pacc, &filter_nb_link); in pci_acc_init()
44 pci_init(*pacc); in pci_acc_init()
45 pci_scan_bus(*pacc); in pci_acc_init()
47 for (device = (*pacc)->devices; device; device = device->next) { in pci_acc_init()
51 pci_cleanup(*pacc); in pci_acc_init()
57 struct pci_dev *pci_slot_func_init(struct pci_access **pacc, int slot, in pci_slot_func_init() argument
60 return pci_acc_init(pacc, 0, 0, slot, func, -1, -1); in pci_slot_func_init()
H A Dhelpers.h127 extern struct pci_dev *pci_acc_init(struct pci_access **pacc, int domain,
130 extern struct pci_dev *pci_slot_func_init(struct pci_access **pacc,