Home
last modified time | relevance | path

Searched refs:card_node (Results 1 – 11 of 11) sorted by relevance

/titanic_50/usr/src/lib/libprtdiag/common/
H A Dio.c503 Prom_node *card_node; in display_sbus() local
522 for (card_node = sbus->child; card_node != NULL; in display_sbus()
523 card_node = card_node->sibling) { in display_sbus()
528 card_num = get_sbus_slot(card_node); in display_sbus()
541 value = get_prop_val(find_prop(card_node, "status")); in display_sbus()
551 model = (char *)get_prop_val(find_prop(card_node, in display_sbus()
553 name = get_node_name(card_node); in display_sbus()
562 child_name = get_node_name(card_node->child); in display_sbus()
563 if ((card_node->child != NULL) && in display_sbus()
565 value = get_prop_val(find_prop(card_node->child, in display_sbus()
[all …]
H A Dprom.c121 get_pci_class_code_reg(Prom_node *card_node) in get_pci_class_code_reg() argument
129 value = get_prop_val(find_prop(card_node, "class-code")); in get_pci_class_code_reg()
/titanic_50/usr/src/lib/libprtdiag_psr/sparc/starcat/common/
H A Dstarcat.c114 Prom_node *card_node; in display_pci() local
230 card_node = pci->child; in display_pci()
231 while (card_node != NULL) { in display_pci()
236 find_prop(card_node, "name")); in display_pci()
238 card_node = card_node->sibling; in display_pci()
247 find_prop(card_node, "reg")); in display_pci()
269 find_prop(card_node, "device_type")); in display_pci()
274 pci_bridge_node = card_node; in display_pci()
291 if (card_node->parent == pci_bridge_node) { in display_pci()
362 if (node_failed(card_node)) in display_pci()
[all …]
/titanic_50/usr/src/lib/libprtdiag_psr/sparc/serengeti/common/
H A Dserengeti.c207 Prom_node *card_node; in display_pci() local
318 card_node = pci->child; in display_pci()
319 while (card_node != NULL) { in display_pci()
324 find_prop(card_node, "name")); in display_pci()
326 card_node = card_node->sibling; in display_pci()
332 find_prop(card_node, "device_type")); in display_pci()
339 find_prop(card_node, "reg")); in display_pci()
371 find_prop(card_node->parent, in display_pci()
374 find_prop(card_node->parent, in display_pci()
382 card_node; in display_pci()
[all …]
/titanic_50/usr/src/lib/libprtdiag_psr/sparc/desktop/common/
H A Ddesktop.c509 Prom_node *card_node; in display_sbus() local
528 for (card_node = sbus->child; card_node != NULL; in display_sbus()
529 card_node = card_node->sibling) { in display_sbus()
534 card_num = get_sbus_slot(card_node); in display_sbus()
547 value = get_prop_val(find_prop(card_node, "status")); in display_sbus()
571 model = (char *)get_prop_val(find_prop(card_node, in display_sbus()
573 name = get_node_name(card_node); in display_sbus()
582 child_name = get_node_name(card_node->child); in display_sbus()
583 if ((card_node->child != NULL) && in display_sbus()
585 value = get_prop_val(find_prop(card_node->child, in display_sbus()
/titanic_50/usr/src/lib/libprtdiag/inc/
H A Dlibprtdiag.h115 void get_dev_func_num(Prom_node *card_node, int *dev_no, int *func_no);
116 void get_pci_class_codes(Prom_node *card_node, int *class_code,
118 int is_pci_bridge(Prom_node *card_node, char *name);
119 int is_pci_bridge_other(Prom_node *card_node, char *name);
120 void get_pci_card_model(Prom_node *card_node, char *model);
121 void create_io_card_name(Prom_node *card_node, char *name,
128 void decode_qlc_card_model_prop(Prom_node *card_node, struct io_card *card);
/titanic_50/usr/src/lib/libprtdiag_psr/sparc/javelin/common/
H A Djavelin.c420 Prom_node *card_node; in display_pci() local
469 card_node = pci->child; in display_pci()
470 while (card_node != NULL) { in display_pci()
475 find_prop(card_node, "name")); in display_pci()
477 card_node = card_node->sibling; in display_pci()
486 card_node = card_node->child; in display_pci()
497 card_node->parent), in display_pci()
504 get_pci_device(card_node), in display_pci()
511 if ((card_node->parent == prev_parent) && in display_pci()
512 (get_pci_device(card_node) == prev_device) && in display_pci()
[all …]
/titanic_50/usr/src/lib/libprtdiag_psr/sparc/tazmo/common/
H A Dtazmo.c425 Prom_node *card_node; in display_pci() local
474 card_node = pci->child; in display_pci()
475 while (card_node != NULL) { in display_pci()
480 find_prop(card_node, "name")); in display_pci()
482 card_node = card_node->sibling; in display_pci()
491 card_node = card_node->child; in display_pci()
502 card_node->parent), in display_pci()
509 get_pci_device(card_node), in display_pci()
516 if ((card_node->parent == prev_parent) && in display_pci()
517 (get_pci_device(card_node) == prev_device) && in display_pci()
[all …]
/titanic_50/usr/src/lib/libprtdiag_psr/sparc/cherrystone/common/
H A Dcherrystone.c301 Prom_node *card_node; in display_pci() local
345 card_node = pci->child; in display_pci()
347 fill_pci_card_list(pci, card_node, &card, &card_list, in display_pci()
/titanic_50/usr/src/lib/libprtdiag_psr/sparc/littleneck/common/
H A Dlittleneck.c305 Prom_node *card_node; in display_pci() local
348 card_node = pci->child; in display_pci()
350 fill_pci_card_list(pci, card_node, &card, &card_list, in display_pci()
/titanic_50/usr/src/lib/libprtdiag_psr/sparc/daktari/common/
H A Ddaktari.c447 Prom_node *card_node; in display_pci() local
497 card_node = pci->child; in display_pci()
499 fill_pci_card_list(pci, card_node, &card, &card_list, in display_pci()