Home
last modified time | relevance | path

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

/pciutils/lib/
H A Dcaps.c131 unsigned int index = 0; in pci_find_cap_nr() local
139 if (target == index) in pci_find_cap_nr()
141 index++; in pci_find_cap_nr()
146 *cap_number = index; in pci_find_cap_nr()
H A Dinit.c279 pci_get_method_name(int index) in pci_get_method_name() argument
281 if (index < 0 || index >= PCI_ACCESS_MAX) in pci_get_method_name()
283 else if (!pci_methods[index]) in pci_get_method_name()
286 return pci_methods[index]->name; in pci_get_method_name()
H A Di386-io-haiku.h37 uint8 index; member
H A Dpci.h114 char *pci_get_method_name(int index) PCI_ABI; /* Returns "" if unavailable, NULL if index out of ra…
/pciutils/
H A Dlspci.c234 struct device **index, **h, **last_dev; in sort_them() local
241 h = index = alloca(sizeof(struct device *) * cnt); in sort_them()
244 qsort(index, cnt, sizeof(struct device *), compare_them); in sort_them()
246 h = index; in sort_them()