Home
last modified time | relevance | path

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

/pciutils/lib/
H A Dhurd.c122 struct dirent *entry; in enum_devices() local
136 while ((entry = readdir(dir)) != 0) in enum_devices()
138 snprintf(path, NAME_MAX, "%s/%s", parent, entry->d_name); in enum_devices()
139 if (entry->d_type == DT_DIR) in enum_devices()
141 if (!strncmp(entry->d_name, ".", NAME_MAX) in enum_devices()
142 || !strncmp(entry->d_name, "..", NAME_MAX)) in enum_devices()
146 ret = strtol(entry->d_name, 0, 16); in enum_devices()
153 "not connected to an arbiter", entry->d_name); in enum_devices()
185 if (strncmp(entry->d_name, FILE_CONFIG_NAME, NAME_MAX)) in enum_devices()
H A Dsysfs.c241 struct dirent *entry; in sysfs_scan() local
250 while ((entry = readdir(dir))) in sysfs_scan()
256 if (entry->d_name[0] == '.') in sysfs_scan()
260 if (sscanf(entry->d_name, "%x:%x:%x.%d", &dom, &bus, &dev, &func) < 4) in sysfs_scan()
261 a->error("sysfs_scan: Couldn't parse entry name %s", entry->d_name); in sysfs_scan()
281 struct dirent *entry; in sysfs_fill_slots() local
291 while (entry = readdir(dir)) in sysfs_fill_slots()
300 if (entry->d_name[0] == '.') in sysfs_fill_slots()
303 n = snprintf(namebuf, OBJNAMELEN, "%s/%s/%s", dirname, entry->d_name, "address"); in sysfs_fill_slots()
329 d->phy_slot = pci_set_property(d, PCI_FILL_PHYS_SLOT, entry->d_name); in sysfs_fill_slots()
H A Dnames-hwdb.c77 struct udev_list_entry *entry; in pci_id_hwdb_lookup() local
78 … udev_list_entry_foreach(entry, udev_hwdb_get_properties_list_entry(a->id_udev_hwdb, modalias, 0)) in pci_id_hwdb_lookup()
80 const char *entry_name = udev_list_entry_get_name(entry); in pci_id_hwdb_lookup()
83 const char *entry_value = udev_list_entry_get_value(entry); in pci_id_hwdb_lookup()
/pciutils/tests/
H A Dcap-ea-134 SecondaryProperties: entry unavailable for use, PrimaryProperties should be used
40 SecondaryProperties: entry unavailable for use, PrimaryProperties should be used
46 SecondaryProperties: entry unavailable for use, PrimaryProperties should be used
52 SecondaryProperties: entry unavailable for use, PrimaryProperties should be used
/pciutils/
H A Dls-caps.c1688 int entry; in cap_ea() local
1710 for (entry = 0; entry < num_entries; entry++) { in cap_ea()
1726 printf("\t\tEntry %u: Enable%c Writable%c EntrySize=%u\n", entry, in cap_ea()
H A DChangeLog61 previously returned a device name if there was no entry for
2039 * pci.ids: Added an entry for PLX 9080 bridges with subsystem ID
2400 * pci.ids: Killed duplicate entry. Thanks to Stephen Williams
H A Dpci.ids7378 …take and used 1507 instead of 1057 in some chips. Please look at the 1507 entry as well when updat…