Home
last modified time | relevance | path

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

/pciutils/
H A Dls-tree.c243 print_it(char *line, char *p) in print_it() argument
246 fputs(line, stdout); in print_it()
250 for (p=line; *p; p++) in print_it()
314 print_it(line, p); in show_tree_dev()
375 print_it(line, p); in show_tree_bus()
384 print_it(line, p); in show_tree_bus()
409 print_it(line, p); in show_tree_bus()
426 print_it(line, p); in show_tree_bridge()
452 print_it(line, p); in show_tree_bridge()
459 char line[LINE_BUF_SIZE]; in show_forest() local
[all …]
H A Dls-kernel.c117 char *name, line[1024]; in show_kernel_init() local
141 while (fgets(line, sizeof(line), f)) in show_kernel_init()
143 char *c = strchr(line, '\n'); in show_kernel_init()
149 if (!line[0] || line[0] == '#') in show_kernel_init()
152 c = line; in show_kernel_init()
159 e = xmalloc(sizeof(*e) + strlen(line)); in show_kernel_init()
167 strcpy(e->module, line); in show_kernel_init()
H A DCOPYING291 the "copyright" line and a pointer to where the full notice is found.
293 <one line to give the program's name and a brief idea of what it does.>
H A DChangeLog679 * Fixed another silly bug in the command-line parser of setpci.
690 * The command-line parser of setpci did sometimes segfault on invalid
1226 * lspci.c (show_verbose): Report cache line size in bytes.
1783 * lib/names.c (parse_name_list): End-of-line comments are no longer
1785 a comment only at the start of the line.
2018 * lspci.c (show_htype2): Don't forget a TAB before the "I/O window" line.
H A Dpci.ids16865 0010 16-line serial port w/- DMA
16866 0011 4-line serial port w/- DMA
29190 de01 DL200ME High resolution delay line PCI based card
29191 de02 DL200ME Middle resolution delay line PCI based card
/pciutils/lib/
H A Dnames-cache.c104 char line[MAX_LINE]; in pci_id_cache_load() local
133 while (fgets(line, sizeof(line), f)) in pci_id_cache_load()
135 char *p = strchr(line, '\n'); in pci_id_cache_load()
142 if (strcmp(line, cache_version)) in pci_id_cache_load()
144 a->debug("Unrecognized cache version %s, ignoring\n", line); in pci_id_cache_load()
152 if (sscanf(line, "%d%x%x%x%x%n", &cat, &id1, &id2, &id3, &id4, &cnt) >= 5) in pci_id_cache_load()
154 p = line + cnt; in pci_id_cache_load()
H A Dnames-parse.c89 char line[MAX_LINE]; in id_parse_list() local
97 while (pci_gets(f, line, sizeof(line))) in id_parse_list()
100 p = line; in id_parse_list()
106 if (p > line && (p[-1] == ' ' || p[-1] == '\t')) in id_parse_list()
109 p = line; in id_parse_list()
115 p = line; in id_parse_list()
118 nest = p - line; in id_parse_list()