Home
last modified time | relevance | path

Searched refs:c (Results 1 – 25 of 54) sorted by relevance

123

/pciutils/lib/
H A Dconfigure55 c=config.h
57 echo >$c '#define PCI_CONFIG_H'
75 echo >>$c '#define PCI_HAVE_PM_ECAM'
98 echo >>$c '#define PCI_HAVE_PM_ECAM'
107 echo >>$c '#define PCI_HAVE_PM_ECAM'
120 echo >>$c '#define PCI_HAVE_PM_ECAM'
154 echo >>$c '#define PCI_HAVE_PM_ECAM'
254 echo >>$c '#define PCI_HAVE_PM_DUMP'
290 echo >>$c "#define PCI_USE_DNS"
340 echo >>$c '#define PCI_HAVE_HWDB'
[all …]
H A DMakefile146 init.o: init.c $(INCL)
147 access.o: access.c $(INCL)
148 params.o: params.c $(INCL)
152 proc.o: proc.c $(INCL)
153 sysfs.o: sysfs.c $(INCL)
154 generic.o: generic.c $(INCL)
155 emulated.o: emulated.c $(INCL)
156 syscalls.o: syscalls.c $(INCL)
160 dump.o: dump.c $(INCL)
167 filter.o: filter.c $(INCL)
[all …]
H A Dfilter.c88 int c = *str++; in parse_hex_field() local
91 if ((c == 'x' || c == 'X') && maskp) in parse_hex_field()
99 if (c >= '0' && c <= '9') in parse_hex_field()
100 d = c - '0'; in parse_hex_field()
101 else if (c >= 'A' && c <= 'F') in parse_hex_field()
102 d = c - 'A' + 10; in parse_hex_field()
103 else if (c >= 'a' && c <= 'f') in parse_hex_field()
104 d = c - 'a' + 10; in parse_hex_field()
H A Dcaps.c128 struct pci_cap *c; in pci_find_cap_nr() local
135 for (c=d->first_cap; c; c=c->next) in pci_find_cap_nr()
137 if (c->type == type && c->id == id) in pci_find_cap_nr()
140 found = c; in pci_find_cap_nr()
/pciutils/tests/
H A Dtree-fujitsu-p801012 a0: 18 00 00 0c 00 00 00 00 00 00 00 00 00 00 00 00
16 e0: 09 00 0a 91 2c 64 00 30 04 00 00 00 00 00 00 00
261 10: 04 00 00 fc 00 00 00 00 0c 00 00 e0 00 00 00 00
264 40: 00 00 00 00 48 00 00 00 09 00 0a 91 2c 64 00 30
269 90: 05 d0 01 00 0c 30 e0 fe 89 41 00 00 00 00 00 00
275 f0: 05 02 34 07 ff 00 00 00 90 0f 04 00 93 ba 6c bf
282 40: 00 00 00 00 48 00 00 00 09 00 0a 91 2c 64 00 30
296 00: 86 80 34 28 05 00 80 02 03 00 03 0c 00 00 80 00
314 00: 86 80 35 28 05 00 80 02 03 00 03 0c 00 00 00 00
1204 80: 10 00 08 3c 01 fd 7c 00 00 00 00 00 00 00 00 00
[all …]
H A Dtree-asus-p6t611 90: 10 e0 42 00 20 80 00 00 00 01 00 00 41 3c 39 00
269 90: 10 e0 42 01 21 80 00 00 00 01 00 00 42 3c 39 00
270 a0: 00 00 01 10 80 0c 08 00 c0 03 08 00 10 00 01 00
1916 00: 86 80 3c 3a 06 01 90 02 00 20 03 0c 00 00 00 00
3167 390: 0f 3c 10 40 0f 00 10 04 0e 38 0f 3c 00 00 00 00
3169 3b0: 0f 3c 10 40 0f 00 10 04 04 3c 05 40 00 00 00 00
3181 470: 0f 3c 01 04 0f 00 01 04 04 3c 01 04 00 00 00 00
3189 4f0: 1f 3c 20 40 1f 00 20 04 1f 3c 20 40 00 00 00 00
3191 510: 1e 38 1f 3c 1f 00 20 04 1e 38 1f 3c 00 00 00 00
4143 10: 00 00 00 fa 0c 00 00 d0 00 00 00 00 0c 00 00 ce
[all …]
H A DPCI-X-bridges-and-domains39 10: 0c 00 ff ff 00 00 00 00 00 01 10 f8 01 f1 20 04
49 b0: 01 b8 0a 76 00 00 00 00 0c 00 00 00 01 00 01 01
57 10: 0c 00 00 00 00 00 00 00 00 21 30 f8 01 f1 20 04
67 b0: 01 b8 0a 76 00 00 00 00 0c 00 00 00 01 00 01 01
75 10: 0c 00 00 00 00 00 00 00 00 31 40 f8 01 f1 20 04
85 b0: 01 b8 0a 76 00 00 00 00 0c 00 00 00 01 00 01 01
93 10: 0c 00 00 00 00 00 00 00 00 41 50 f8 01 f1 20 04
103 b0: 01 b8 0a 76 00 00 00 00 0c 00 00 00 01 00 01 01
111 10: 0c 00 00 00 00 00 00 00 00 61 70 f8 01 f1 20 04
121 b0: 01 b8 0a 76 00 00 00 00 0c 00 00 00 01 00 01 01
[all …]
H A Dcap-ide91 10: 0c 00 00 14 00 02 00 00 0c 30 01 18 00 02 00 00
93 30: 00 00 2c dc 40 00 00 00 00 00 00 00 ff 00 00 00
97 70: 10 00 02 00 23 80 2c 51 57 29 09 00 05 f1 43 00
112 160: 00 00 a5 50 53 05 00 00 01 00 00 00 0c 00 00 f8
113 170: ff 01 00 00 0c c0 00 18 00 02 00 00 00 00 00 00
114 180: 00 00 00 00 00 00 00 00 0e 00 01 1c 00 01 00 00
154 400: 27 00 01 45 00 00 01 00 38 9c 00 00 38 9c 00 00
155 410: 38 9c 00 00 38 9c 00 00 38 9c 00 00 38 9c 00 00
156 420: 38 9c 00 00 38 9c 00 00 38 9c 00 00 38 9c 00 00
157 430: 38 9c 00 00 38 9c 00 00 38 9c 00 00 38 9c 00 00
[all …]
H A Dtree-fsl-p20206 40: 00 00 00 00 01 4c 02 fe 00 00 00 00 10 00 41 00
71 450: ce d7 14 00 20 1e fc 01 00 00 00 00 5c 0c 00 00
81 4f0: 4a 00 00 01 05 00 00 04 00 00 00 00 00 8c 06 00
259 …work controller [0280]: Qualcomm Atheros QCA986x/988x 802.11ac Wireless Network Adapter [168c:003c]
260 00: 8c 16 3c 00 06 04 10 00 00 00 80 02 08 00 00 00
267 70: 10 00 02 00 c1 8d 3c 00 10 20 00 00 11 6c 03 00
587 450: ce d7 14 00 20 1e fc 01 00 00 00 00 5c 0c 00 00
783 70: 10 00 02 00 00 87 3c 00 10 20 00 00 11 5c 03 00
1103 450: ce d7 14 00 20 1e fc 01 00 00 00 00 5c 0c 00 00
1292 00: 4c 10 41 82 06 04 10 00 02 30 03 0c 08 00 00 00
[all …]
H A Dcap-vendor-virtio51 Capabilities: [4c] Vendor Specific Information: VirtIO: CommonCfg
52 BAR=0 offset=00003000 size=0000003c
53 Capabilities: [5c] Vendor Specific Information: VirtIO: ISR
54 BAR=0 offset=0000303c size=00000004
55 Capabilities: [6c] Vendor Specific Information: VirtIO: Notify
58 BAR=0 offset=00003048 size=0000002c
63 10: 00 80 00 a0 00 00 00 00 0c 00 00 00 02 00 00 00
66 40: 11 4c 02 80 00 00 00 00 00 20 00 00 09 5c 10 01
67 50: 00 00 00 00 00 30 00 00 3c 00 00 00 09 6c 10 03
68 60: 00 00 00 00 3c 30 00 00 04 00 00 00 09 80 14 02
[all …]
H A Dcap-phy32110 140: 00 00 00 00 00 00 00 00 03 00 81 16 00 25 38 8c
118 1c0: 00 00 03 00 38 9c 38 9c 38 9c 38 9c 38 9c 00 00
119 1d0: 38 9c 00 00 2a 00 81 1f 03 01 00 00 00 00 00 00
121 1f0: 00 00 00 00 60 60 40 40 10 00 01 3c 02 00 00 00
125 230: 00 00 00 00 00 00 00 00 0d 00 41 24 0c 08 00 00
128 260: 1c 1b 1a 19 18 17 16 15 14 13 12 11 10 0f 0e 0d
129 270: 0c 0b 0a 09 08 07 06 05 04 03 02 01 22 00 81 28
145 370: 00 0c 40 30 00 00 00 00 00 00 00 00 00 00 00 00
146 380: 00 00 00 00 00 00 00 00 0b 00 01 3c 01 00 81 03
206 740: 0f 00 00 00 00 00 00 00 e0 c1 23 46 3c c0 23 06
[all …]
H A Dcap-multicast22 140: 00 00 00 00 01 00 00 00 02 00 01 e0 00 0c 00 00
25 170: 00 00 00 00 00 00 00 00 00 04 08 0c 10 14 1f 1f
26 180: 00 1f 08 0c 1f 1f 1f 1f 00 1f 08 0c 1f 1f 1f 1f
27 190: 00 1f 08 0c 1f 1f 1f 1f 00 1f 08 0c 1f 1f 1f 1f
28 1a0: 00 1f 08 0c 1f 1f 1f 1f 00 1f 08 0c 1f 1f 1f 1f
29 1b0: 00 1f 08 0c 1f 1f 1f 1f 00 00 00 00 00 00 00 00
252 fa0: 00 00 00 00 00 00 00 00 4c 00 00 00 00 00 00 00
H A Dcap-exp-lnkcap2127 300: a7 5f b7 00 97 0c c0 1b 00 00 00 00 00 00 00 00
150 470: 00 00 00 00 00 00 00 00 2c 3d 00 28 02 40 04 00
159 500: 18 80 6c 00 85 06 18 1c 00 01 02 00 dd 00 70 04
160 510: c0 35 18 18 04 b1 15 00 16 a0 00 00 0a 20 14 3c
161 520: 18 80 6c 00 85 06 18 1c 00 01 02 00 dd 00 70 04
162 530: c0 35 18 18 04 b1 15 00 16 a0 00 00 0a 20 14 3c
163 540: 18 80 6c 00 85 06 18 1c 00 01 02 00 dd 00 70 04
164 550: c0 35 18 18 04 b1 15 00 16 a0 00 00 0a 20 14 3c
165 560: 18 80 6c 00 85 06 18 1c 00 01 02 00 dd 00 70 04
410 10: 00 00 00 e8 0c 00 00 70 00 00 00 00 0c 00 00 80
[all …]
H A Dcap-vc-and-rcl331 40: 10 80 41 01 c0 0f 00 00 00 00 10 00 11 2c 11 01
335 80: 05 90 01 00 0c 30 e0 fe 69 41 00 00 00 00 00 00
375 300: 07 60 00 60 00 00 00 00 60 02 00 00 0c 00 06 00
376 310: 00 00 00 2c 5b 60 c9 c0 00 70 26 0d 55 11 38 00
629 40: 10 80 41 01 c0 0f 00 00 00 00 10 00 11 2c 11 02
633 80: 05 90 01 00 0c 30 e0 fe 71 41 00 00 00 00 00 00
927 40: 10 80 41 01 c0 0f 00 00 00 00 10 00 11 4c 11 03
931 80: 05 90 01 00 0c 30 e0 fe 79 41 00 00 00 00 00 00
1225 40: 10 80 41 01 c0 0f 00 00 00 00 10 00 11 4c 11 04
1773 70: 10 ac 02 02 c1 8c 04 05 10 20 09 00 11 3c 07 00
[all …]
H A Dcap-dev375 70: 10 b0 02 00 c0 8f 2c 11 1f 20 19 00 43 c8 45 00
93 190: 16 00 01 1c 1f 11 80 ff 00 00 00 00 00 01 00 00
94 1a0: 20 1f 1e 1d 1c 1b 1a 19 18 17 16 15 14 13 12 11
95 1b0: 10 0f 0e 0d 0c 0b 0a 09 08 07 06 05 04 03 02 01
96 1c0: 22 00 c1 1c 00 00 00 80 00 00 00 00 0b 00 c1 2c
111 2b0: 00 0a 0c 00 85 b9 40 36 00 00 00 00 00 00 00 00
116 300: 2f 00 01 00 0f 0c 00 00 93 01 00 00 18 00 00 00
183 730: fc 01 04 00 ff 0f 04 00 7c 00 02 00 00 00 00 00
H A Dcap-flitmode75 70: 10 b0 02 80 c0 8f 2c 11 1f 20 19 00 43 c8 45 00
93 190: 16 00 01 1c 1f 11 80 ff 00 00 00 00 00 01 00 00
94 1a0: 20 1f 1e 1d 1c 1b 1a 19 18 17 16 15 14 13 12 11
95 1b0: 10 0f 0e 0d 0c 0b 0a 09 08 07 06 05 04 03 02 01
96 1c0: 22 00 c1 1c 00 00 00 80 00 00 00 00 0b 00 c1 2c
111 2b0: 00 0a 0c 00 85 b9 40 36 00 00 00 00 00 00 00 00
183 730: fc 01 04 00 ff 0f 04 00 7c 00 02 00 00 00 00 00
H A Dcap-aer-log1 00:1c.0 PCI bridge: Intel Corporation Device 9d10 (rev f1) (prog-if 00 [Normal decode])
100 200: 1e 00 01 22 1f 28 28 00 0f 3c a0 40 31 00 00 00
116 300: a7 5f b7 00 97 0c c0 1b 00 00 00 00 00 00 00 00
118 320: db 60 d9 69 20 60 00 08 4f 19 18 3c 4e 99 85 08
139 470: 00 00 00 00 00 00 00 00 2c 3d 00 28 01 a0 00 00
148 500: 18 80 6c 00 85 06 18 1c 00 01 02 00 dd 00 70 04
212 900: 06 b0 c4 0c 96 0f 64 07 00 00 00 00 00 00 00 00
H A Dcap-aer-hdr1 00:1c.0 PCI bridge: Intel Corporation Device 9d10 (rev f1) (prog-if 00 [Normal decode])
99 200: 1e 00 01 22 1f 28 28 00 0f 3c a0 40 31 00 00 00
115 300: a7 5f b7 00 97 0c c0 1b 00 00 00 00 00 00 00 00
117 320: db 60 d9 69 20 60 00 08 4f 19 18 3c 4e 99 85 08
138 470: 00 00 00 00 00 00 00 00 2c 3d 00 28 01 a0 00 00
147 500: 18 80 6c 00 85 06 18 1c 00 01 02 00 dd 00 70 04
211 900: 06 b0 c4 0c 96 0f 64 07 00 00 00 00 00 00 00 00
/pciutils/
H A Dsetpci.c492 switch (*c) in parse_options()
498 c++; in parse_options()
502 c++; in parse_options()
506 c++; in parse_options()
510 c++; in parse_options()
516 c++; in parse_options()
519 if (*c) in parse_options()
549 if (!c[1] || !strchr("sd", c[1])) in parse_filter()
551 if (c[2]) in parse_filter()
552 d = (c[2] == '=') ? c+3 : c+2; in parse_filter()
[all …]
H A DChangeLog877 * lspci.c, setpci.c: Cleaned up the list of options.
1175 * lspci.c, setpci.c, common.c: die() now uses the right program
1473 * lib/sysfs.c, lib/proc.c: Don't print error messages on short reads,
1635 * lib/i386-ports.c: Split OS-dependent I/O port access from i386-ports.c.
1683 * pciutils.h, common.c, setpci.c: Introduced a NONRET macro encapsulating
2159 * lspci.c, lib/proc.c: Alpha compilation fixes from Matthew Jacob
2290 * filter.c, names.c: Moved to library.
2405 * lspci.c (main), setpci.c (main): Implemented "--version".
2411 * filter.c, names.c: Extraneous #include <linux/pci.h> removed.
2429 * setpci.c: Finished.
[all …]
H A Dls-tree.c89 struct bridge *c; in insert_dev() local
90 for (c=b->child; c; c=c->prev) in insert_dev()
91 if (c->domain == (unsigned)p->domain && c->secondary <= p->bus && p->bus <= c->subordinate) in insert_dev()
93 insert_dev(d, c); in insert_dev()
208 struct bridge *c, *best = NULL; in grow_tree() local
216 for (c=&host_bridge; c; c=c->chain) in grow_tree()
217 if (c != b && (c == &host_bridge || b->domain == c->domain) && in grow_tree()
218 b->primary >= c->secondary && b->primary <= c->subordinate && in grow_tree()
219 …(!best || best == &host_bridge || best->subordinate - best->primary > c->subordinate - c->primary)) in grow_tree()
220 best = c; in grow_tree()
H A Dpci.ids1892 103c 088c NC8000 laptop
2319 103c 230c FirePro W5100
3095 103c 030c MED-X7000
3146 103c 176c FirePro M6000
7040 103c 088c NC8000 laptop
7078 103c 099c NX6110/NC6120
7084 103c 099c NX6110/NC6120
7091 103c 099c NX6110/NC6120
7097 103c 099c NX6110/NC6120
13629 690c DC-690c
[all …]
H A Dls-kernel.c143 char *c = strchr(line, '\n'); in show_kernel_init() local
146 if (!c) in show_kernel_init()
148 *c = 0; in show_kernel_init()
152 c = line; in show_kernel_init()
153 while (*c && *c != ' ' && *c != '\t') in show_kernel_init()
154 c++; in show_kernel_init()
155 if (!*c) in show_kernel_init()
157 *c++ = 0; in show_kernel_init()
160 if (sscanf(c, "%i%i%i%i%i%i", in show_kernel_init()
H A DMakefile96 lspci.o: lspci.c $(LSPCIINC)
97 ls-vpd.o: ls-vpd.c $(LSPCIINC)
98 ls-caps.o: ls-caps.c $(LSPCIINC)
101 ls-tree.o: ls-tree.c $(LSPCIINC)
102 ls-map.o: ls-map.c $(LSPCIINC)
104 setpci.o: setpci.c $(UTILINC)
105 common.o: common.c $(UTILINC)
106 compat/getopt.o: compat/getopt.c
117 example.o: example.c $(PCIINC)
120 $(LMROBJS): %.o: %.c $(LMRINC)
[all …]
/pciutils/compat/
H A Dgetopt.c575 if (c < 040 || c >= 0177) in _getopt_internal()
578 argv[0], c); in _getopt_internal()
581 c); in _getopt_internal()
587 optopt = c; in _getopt_internal()
611 argv[0], c); in _getopt_internal()
619 optopt = c; in _getopt_internal()
621 c = ':'; in _getopt_internal()
631 return c; in _getopt_internal()
654 int c; in main() local
661 if (c == EOF) in main()
[all …]

123