Lines Matching refs:pci_card
101 struct io_card pci_card;
114 (void) memset(&pci_card, 0, sizeof (pci_card));
183 (void) strlcpy(pci_card.notes, path, prop_size);
185 pci_card.board = saved_board;
186 pci_card.schizo_portid = saved_portid;
211 pci_card.dev_no =
213 pci_card.func_no =
215 pci_card.slot =
221 err = get_lane_width(root_path, pci_card.slot, pci_card.dev_no,
222 pci_card.func_no, &actual, &maximum, &freq_max, &freq_at,
271 (void) strlcpy(pci_card.name, name, prop_size);
287 (void) strlcpy(pci_card.model, model, prop_size);
290 (void) strlcpy(pci_card.bus_type,
291 "PCI", sizeof (pci_card.bus_type));
293 (void) strlcpy(pci_card.bus_type,
294 "PCIx", sizeof (pci_card.bus_type));
296 (void) strlcpy(pci_card.bus_type,
297 "PCIe", sizeof (pci_card.bus_type));
299 (void) strlcpy(pci_card.bus_type,
300 "UNKN", sizeof (pci_card.bus_type));
319 log_printf("%02d ", pci_card.board);
321 log_printf("%-5.5s ", pci_card.bus_type);
323 log_printf("%-3d ", pci_card.schizo_portid);
327 pci_card.slot, pci_card.dev_no, pci_card.func_no);
345 log_printf("%-30.30s", pci_card.name);
348 log_printf(" %-20.20s", pci_card.model);
352 log_printf("%4s%-100.100s", " ", pci_card.notes);