Home
last modified time | relevance | path

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

/tools/power/cpupower/utils/helpers/
Dpci.c25 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_init(*pacc); in pci_acc_init()
37 pci_scan_bus(*pacc); in pci_acc_init()
39 for (device = (*pacc)->devices; device; device = device->next) { in pci_acc_init()
43 pci_cleanup(*pacc); in pci_acc_init()
49 struct pci_dev *pci_slot_func_init(struct pci_access **pacc, int slot, in pci_slot_func_init() argument
52 return pci_acc_init(pacc, 0, 0, slot, func, -1, -1); in pci_slot_func_init()
Dhelpers.h137 extern struct pci_dev *pci_acc_init(struct pci_access **pacc, int domain,
140 extern struct pci_dev *pci_slot_func_init(struct pci_access **pacc,