Searched defs:pci_card (Results 1 - 11 of 11) sorted by relevance

/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/ontario/common/
H A Dhuron.c144 struct io_card pci_card; local
181 (void) strlcpy(pci_card.notes, path, sizeof (pci_card.notes));
183 huron_get_bus_type(parent_path, &pci_card);
193 huron_get_slot_number(path, &pci_card);
195 huron_get_slot_number(parent_path, &pci_card);
199 (strcmp(pci_card.slot_str, MOTHERBOARD) == 0)) {
201 (void) snprintf(pci_card.status,
202 sizeof (pci_card.status), "%s/%s%d", MOTHERBOARD,
205 if (pci_card
[all...]
H A Dpelton.c148 struct io_card pci_card; local
181 (void) strlcpy(pci_card.notes, path, sizeof (pci_card.notes));
183 get_bus_type(parent_path, &pci_card);
185 get_slot_number(parent_path, &pci_card);
197 (strcmp(pci_card.slot_str, IOBOARD) == 0)) {
200 (void) snprintf(pci_card.status,
201 sizeof (pci_card.status), "%s/%s%d", IOBOARD,
204 if (pci_card.slot != -1) {
205 (void) snprintf(pci_card
[all...]
H A Dontario.c162 struct io_card pci_card; local
199 (void) strlcpy(pci_card.notes, path, sizeof (pci_card.notes));
201 get_bus_type(parent_path, &pci_card);
203 get_slot_number(nodeh, parent_path, &pci_card);
214 (strcmp(pci_card.slot_str, IOBOARD) == 0)) {
217 (void) snprintf(pci_card.status,
218 sizeof (pci_card.status), "%s/%s%d", IOBOARD,
221 if (pci_card.slot != -1) {
222 (void) snprintf(pci_card
[all...]
H A Dstpaul.c81 struct io_card pci_card; local
118 (void) strlcpy(pci_card.notes, path, sizeof (pci_card.notes));
120 get_bus_type(path, &pci_card);
122 get_slot_number(path, &pci_card);
133 (strcmp(pci_card.slot_str, MOTHERBOARD) == 0)) {
135 (void) snprintf(pci_card.status,
136 sizeof (pci_card.status), "%s/%s%d",
141 (strcmp(pci_card.slot_str, MOTHERBOARD) == 0)) {
142 (void) snprintf(pci_card
[all...]
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/montoya/common/
H A Dmontoya.c130 struct io_card pci_card; local
168 (void) strlcpy(pci_card.notes, path, sizeof (pci_card.notes));
170 get_bus_type(parent_path, &pci_card);
172 get_slot_number(parent_path, &pci_card);
184 (strcmp(pci_card.slot_str, MOTHERBOARD) == 0)) {
187 (void) snprintf(pci_card.status,
188 sizeof (pci_card.status), "%s/%s%d", MOTHERBOARD,
191 if (pci_card.slot != -1) {
192 (void) snprintf(pci_card
[all...]
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/monza/common/
H A Dmonza.c157 struct io_card pci_card; local
195 (void) strlcpy(pci_card.notes, path, sizeof (pci_card.notes));
197 monza_get_bus_type(parent_path, &pci_card);
207 monza_get_slot_number(path, &pci_card);
209 monza_get_slot_number(parent_path, &pci_card);
221 (strcmp(pci_card.slot_str, MOTHERBOARD) == 0)) {
224 (void) snprintf(pci_card.status,
225 sizeof (pci_card.status), "%s/%s%d", MOTHERBOARD,
228 if (pci_card
[all...]
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/cherrystone/common/
H A Dworkfile.c66 struct io_card *pci_card,
489 struct io_card *pci_card,
527 pci_card->schizo_portid = portid;
528 if (pci_card->schizo_portid != 8) {
546 pci_card->pci_bus = 'A';
548 pci_card->pci_bus = 'B';
551 pci_card->pci_bus = '-';
555 pci_card->pci_bus = '-';
565 pci_card->dev_no = (((*int_val) & 0xF800) >> 11);
566 pci_card
488 fill_pci_card_list(Prom_node * pci_instance, Prom_node * pci_card_node, struct io_card *pci_card, struct io_card **pci_card_list, char **slot_name_arr) argument
[all...]
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/daktari/common/
H A Dworkfile.c119 struct io_card *pci_card,
599 struct io_card *pci_card,
637 pci_card->schizo_portid = portid;
648 pci_card->pci_bus = 'A';
650 pci_card->pci_bus = 'B';
652 pci_card->pci_bus = '-';
654 pci_card->pci_bus = '-';
657 if ((pci_card->schizo_portid == 8) &&
658 (pci_card->pci_bus == 'A')) {
670 pci_card
598 fill_pci_card_list(Prom_node * pci_instance, Prom_node * pci_card_node, struct io_card *pci_card, struct io_card **pci_card_list, char **slot_name_arr) argument
[all...]
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/littleneck/common/
H A Dworkfile.c62 struct io_card *pci_card,
625 struct io_card *pci_card,
662 pci_card->schizo_portid = portid;
673 pci_card->pci_bus = 'A';
675 pci_card->pci_bus = 'B';
677 pci_card->pci_bus = '-';
679 pci_card->pci_bus = '-';
688 pci_card->dev_no = (((*int_val) & 0xF800) >> 11);
689 pci_card->func_no = (((*int_val) & 0x700) >> 8);
691 pci_card
624 fill_pci_card_list(Prom_node * pci_instance, Prom_node * pci_card_node, struct io_card *pci_card, struct io_card **pci_card_list, char **slot_name_arr) argument
[all...]
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/opl/common/
H A Dopl_picl.c101 struct io_card pci_card; local
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
[all...]
/illumos-gate/usr/src/lib/libprtdiag/common/
H A Ddisplay_sun4v.c440 struct io_card pci_card; local
480 (void) strlcpy(pci_card.notes, path, sizeof (pci_card.notes));
483 err = get_slot_label(nodeh, &pci_card);
496 err = get_slot_label(pnodeh, &pci_card);
510 get_slot_number(nodeh, &pci_card);
522 get_bus_type(pnodeh, &pci_card);
538 (void) snprintf(pci_card.status, sizeof (pci_card.status),
539 "%s", pci_card
[all...]

Completed in 363 milliseconds