Home
last modified time | relevance | path

Searched refs:id (Results 1 – 12 of 12) sorted by relevance

/pciutils/lib/
H A Dcaps.c27 cap->id = id; in pci_add_cap()
30 d->domain, d->bus, d->dev, d->func, id, type, addr); in pci_add_cap()
47 byte id = pci_read_byte(d, where + PCI_CAP_LIST_ID); in pci_scan_trad_caps() local
51 if (id == 0xff) in pci_scan_trad_caps()
53 pci_add_cap(d, where, id, PCI_CAP_NORMAL); in pci_scan_trad_caps()
71 int id; in pci_scan_ext_caps() local
76 id = header & 0xffff; in pci_scan_ext_caps()
79 pci_add_cap(d, where, id, PCI_CAP_EXTENDED); in pci_scan_ext_caps()
110 pci_find_cap(struct pci_dev *d, unsigned int id, unsigned int type) in pci_find_cap() argument
112 return pci_find_cap_nr(d, id, type, NULL); in pci_find_cap()
[all …]
H A Dnames.c62 if (iv > 0 && id > 0) /* Per-device lookup */ in id_lookup_subsys()
67 d = id_lookup(a, flags, ID_DEVICE, iv, id, 0, 0); in id_lookup_subsys()
130 int iv, id, isv, isd, icls, ipif; in pci_lookup_name() local
158 id = va_arg(args, int); in pci_lookup_name()
159 sprintf(numbuf, "%04x", id); in pci_lookup_name()
164 id = va_arg(args, int); in pci_lookup_name()
165 sprintf(numbuf, "%04x:%04x", iv, id); in pci_lookup_name()
167 d = id_lookup(a, flags, ID_DEVICE, iv, id, 0, 0); in pci_lookup_name()
178 id = va_arg(args, int); in pci_lookup_name()
186 id = va_arg(args, int); in pci_lookup_name()
[all …]
H A Dwin32-sysdbg.c122 DWORD id; in win32_sysdbg_setup() local
146 status = win32_sysdbg_pci_bus_data(FALSE, 0, 0, 0, 0, &id, sizeof(id), &ret_len); in win32_sysdbg_setup()
147 if ((status >= 0 && ret_len == sizeof(id)) || status == STATUS_UNSUCCESSFUL) in win32_sysdbg_setup()
180 status = win32_sysdbg_pci_bus_data(FALSE, 0, 0, 0, 0, &id, sizeof(id), &ret_len); in win32_sysdbg_setup()
181 if ((status >= 0 && ret_len == sizeof(id)) || status == STATUS_UNSUCCESSFUL) in win32_sysdbg_setup()
H A Dwin32-kldbg.c473 DWORD id; in win32_kldbg_setup() local
517 …if (win32_kldbg_pci_bus_data(FALSE, 0, 0, 0, 0, 0, &id, sizeof(id), &ret_len) && ret_len == sizeof… in win32_kldbg_setup()
549 …if (win32_kldbg_pci_bus_data(FALSE, 0, 0, 0, 0, 0, &id, sizeof(id), &ret_len) && ret_len == sizeof… in win32_kldbg_setup()
H A Dpci.h252 u16 id; /* PCI_CAP_ID_xxx */ member
260 struct pci_cap *pci_find_cap(struct pci_dev *, unsigned int id, unsigned int type) PCI_ABI;
261 struct pci_cap *pci_find_cap_nr(struct pci_dev *, unsigned int id, unsigned int type,
/pciutils/maint/
H A Dgen-zone11 my @id = ();
23 if (my ($indent, $id, $ignored, $name) = /^(\t*)(([0-9a-fA-Z]+ ?)*)(( |\t|$)\s*(.*))$/) {
25 $depth <= @id or err "Mismatched indentation";
26 @id = (@id[0..$depth-1], $id);
27 my $i = join(":", @id);
/pciutils/
H A Dls-vpd.c162 byte id[2], id1, id2; in cap_vpd() local
167 memcpy(id, buf, 2); in cap_vpd()
168 id1 = id[0]; in cap_vpd()
169 id2 = id[1]; in cap_vpd()
186 print_vpd_string(id, 2); in cap_vpd()
H A Dls-ecaps.c1260 cap_dvsec_cxl(struct device *d, int id, int rev, int where, int len) in cap_dvsec_cxl() argument
1269 switch (id) in cap_dvsec_cxl()
1307 printf("\t\tUnknown ID %04x\n", id); in cap_dvsec_cxl()
1326 u16 id = get_conf_long(d, where + PCI_DVSEC_HEADER2); in cap_dvsec() local
1328 printf("Vendor=%04x ID=%04x Rev=%d Len=%d", vendor, id, rev, len); in cap_dvsec()
1330 cap_dvsec_cxl(d, id, rev, where, len); in cap_dvsec()
1922 int id, version; in show_ext_caps() local
1929 id = header & 0xffff; in show_ext_caps()
1940 switch (id) in show_ext_caps()
2076 printf("Extended Capability ID %#02x\n", id); in show_ext_caps()
H A Dls-caps.c1819 int id, next, cap; in show_caps() local
1826 id = get_conf_byte(d, where + PCI_CAP_LIST_ID); in show_caps()
1835 if (id == 0xff) in show_caps()
1840 switch (id) in show_caps()
1908 printf("Capability ID %#02x [%04x]\n", id, cap); in show_caps()
H A DChangeLog859 * When an unknown device ID is encountered, we print `Device <id>'
860 instead of `Unknown device <id>'. It uses less space and it also
2115 The id's said I had a rev C, when it was actually a rev B.
H A Dpci.ids23913 179a id Quantique
25673 # device 1b4b:0100 reports incorrect vendor id due to hw erratum (correct is 11ab)
/pciutils/tests/
H A Dcap-vendor-virtio60 BAR=2 offset=0000000000000000 size=0000000040000000 id=0