/titanic_41/usr/src/lib/libprtdiag/inc/ |
H A D | pdevinfo.h | 121 typedef struct prom_node Prom_node; typedef 123 Prom_node *parent; /* points to parent node */ 124 Prom_node *child; /* points to child PROM node */ 125 Prom_node *sibling; /* point to next sibling */ 138 Prom_node *nodes; 144 Prom_node *sys_mem; /* System memory node */ 145 Prom_node *boards; /* boards node holds bif info if present */ 162 char *get_node_name(Prom_node *); 163 char *get_node_type(Prom_node *); 164 Prom_node *dev_find_node(Prom_node *, char *); [all …]
|
H A D | libprtdiag.h | 81 void display_diaginfo(int flag, Prom_node *root, Sys_tree *tree, 93 uint_t get_cpu_freq(Prom_node *); 94 int get_ecache_size(Prom_node *); 99 Prom_node *find_pci_bus(Prom_node *, int, int); 100 int get_pci_bus(Prom_node *); 101 int get_pci_device(Prom_node *); 102 int get_pci_to_pci_device(Prom_node *); 106 int get_sbus_slot(Prom_node *); 112 int populate_slot_name_arr(Prom_node *pci, int *slot_name_bits, 114 int get_card_frequency(Prom_node *pci); [all …]
|
H A D | display_sun4v.h | 49 void sun4v_display_diaginfo(int flag, Prom_node *root, picl_nodehdl_t plafh); 50 int sun4v_display(Sys_tree *, Prom_node *, int, picl_nodehdl_t);
|
/titanic_41/usr/src/lib/libprtdiag/common/ |
H A D | pdevinfo_funcs.c | 116 dump_node(Prom_node *node) in dump_node() 316 has_board_num(Prom_node *node) in has_board_num() 339 get_board_num(Prom_node *node) in get_board_num() 410 get_node_name(Prom_node *pnode) in get_node_name() 432 get_node_type(Prom_node *pnode) in get_node_type() 454 Prom_node * 455 dev_find_node(Prom_node *root, char *name) in dev_find_node() 457 Prom_node *node; in dev_find_node() 464 Prom_node * 465 dev_next_node(Prom_node *root, char *name) in dev_next_node() [all …]
|
H A D | pdevinfo_sun4u.c | 67 extern int get_id(Prom_node *); 70 Prom_node *walk(Sys_tree *, Prom_node *, int); 84 Prom_node *root_node; /* root node of OBP device tree */ in do_prominfo() 129 get_id(Prom_node *node) in get_id() 161 Prom_node * 162 walk(Sys_tree *tree, Prom_node *root, int id) in walk() 165 Prom_node *pnode; in walk() 172 if ((pnode = (Prom_node *) malloc(sizeof (struct prom_node))) == in walk()
|
H A D | pdevinfo_sun4v.c | 66 extern int get_id(Prom_node *); 69 Prom_node *sun4v_walk(Sys_tree *, Prom_node *, int); 84 Prom_node *root_node; /* root node of OBP device tree */ in do_prominfo() 147 Prom_node * 148 sun4v_walk(Sys_tree *tree, Prom_node *root, int id) in sun4v_walk() 151 Prom_node *pnode; in sun4v_walk() 158 if ((pnode = (Prom_node *) malloc(sizeof (struct prom_node))) == in sun4v_walk() 277 get_id(Prom_node *node) in get_id()
|
H A D | io.c | 60 Prom_node * 61 find_pci_bus(Prom_node *node, int id, int bus) in find_pci_bus() 63 Prom_node *pnode; in find_pci_bus() 92 get_pci_bus(Prom_node *pnode) in get_pci_bus() 116 get_pci_device(Prom_node *pnode) in get_pci_device() 133 get_pci_to_pci_device(Prom_node *pnode) in get_pci_to_pci_device() 247 get_sbus_slot(Prom_node *pnode) in get_sbus_slot() 360 Prom_node *fb; in display_ffb() 502 Prom_node *sbus; in display_sbus() 503 Prom_node *card_node; in display_sbus() [all …]
|
H A D | libdevinfo_sun4u.c | 54 static void dump_di_node(Prom_node *pnode, di_node_t di_node); 55 static Prom_node *walk_di_tree(Sys_tree *tree, Prom_node *root, 72 static Prom_node* 73 walk_di_tree(Sys_tree *tree, Prom_node *root, di_node_t di_node) in walk_di_tree() 76 Prom_node *pnode; in walk_di_tree() 84 if ((pnode = (Prom_node *) malloc(sizeof (struct prom_node))) == in walk_di_tree() 198 dump_di_node(Prom_node *pnode, di_node_t di_node) in dump_di_node() 414 Prom_node *root_node; /* root node of OBP device tree */ in do_devinfo()
|
H A D | prom.c | 61 disp_prom_version(Prom_node *flashprom) in disp_prom_version() 95 Prom_node *pnode; in platform_disp_prom_version() 121 get_pci_class_code_reg(Prom_node *card_node) in get_pci_class_code_reg()
|
H A D | cpu.c | 62 get_cpu_freq(Prom_node *pnode) in get_cpu_freq() 85 get_ecache_size(Prom_node *node) in get_ecache_size() 150 Prom_node *cpu; in display_cpus()
|
H A D | display_sun4u.c | 58 Prom_node *root, in display() 167 display_diaginfo(int flag, Prom_node *root, Sys_tree *tree, in display_diaginfo()
|
H A D | display_funcs.c | 116 disp_powerfail(Prom_node *root) in disp_powerfail() 118 Prom_node *pnode; in disp_powerfail()
|
/titanic_41/usr/src/lib/libprtdiag_psr/sparc/cherrystone/common/ |
H A D | workfile.c | 42 static Prom_node *dev_next_node_by_compat(Prom_node *root, char *model); 43 static Prom_node *dev_find_node_by_compat(Prom_node *root, char *model); 53 void add_node(Sys_tree *root, Prom_node *pnode); 60 Prop *find_prop(Prom_node *pnode, char *name); 61 char *get_node_name(Prom_node *pnode); 62 char *get_node_type(Prom_node *pnode); 64 void fill_pci_card_list(Prom_node *pci_instance, 65 Prom_node *pci_card_node, 70 static Prom_node *next_pci_card(Prom_node *curr_card, int *is_bridge, 71 int is_pcidev, Prom_node *curr_bridge, [all …]
|
H A D | cherrystone.c | 75 void display_diaginfo(int flag, Prom_node *root, Sys_tree *tree, 89 static void display_hw_revisions(Prom_node *root, 117 Prom_node *cpu; in display_cpus() 264 display_diaginfo(int flag, Prom_node *root, Sys_tree *tree, in display_diaginfo() 300 Prom_node *pci; in display_pci() 301 Prom_node *card_node; in display_pci() 798 display_hw_revisions(Prom_node *root, Board_node *bdlist) in display_hw_revisions() 800 Prom_node *pnode; in display_hw_revisions() 831 Prom_node *pnode; in display_schizo_revisions()
|
/titanic_41/usr/src/lib/libprtdiag_psr/sparc/daktari/common/ |
H A D | workfile.c | 108 char *get_node_name(Prom_node *pnode); 109 char *get_node_type(Prom_node *pnode); 110 void add_node(Sys_tree *root, Prom_node *pnode); 111 Prop *find_prop(Prom_node *pnode, char *name); 114 char *get_node_type(Prom_node *pnode); 117 void fill_pci_card_list(Prom_node *pci_instance, 118 Prom_node *pci_card_node, 123 static Prom_node *next_pci_card(Prom_node *curr_card, int *is_bridge, 124 int is_pcidev, Prom_node *curr_bridge, 125 Prom_node * parent_bridge, Prom_node *pci); [all …]
|
H A D | daktari.c | 85 void display_diaginfo(int flag, Prom_node *root, Sys_tree *tree, 99 static void dak_display_hw_revisions(Prom_node *root, 140 Prom_node *pnode; in disp_fail_parts() 317 Prom_node *cpu; in display_cpus() 446 Prom_node *pci; in display_pci() 447 Prom_node *card_node; in display_pci() 593 display_diaginfo(int flag, Prom_node *root, Sys_tree *tree, in display_diaginfo() 1241 dak_display_hw_revisions(Prom_node *root, Board_node *bdlist) in dak_display_hw_revisions() 1243 Prom_node *pnode; in dak_display_hw_revisions() 1273 Prom_node *pnode; in display_schizo_revisions()
|
/titanic_41/usr/src/lib/libprtdiag_psr/sparc/littleneck/common/ |
H A D | workfile.c | 35 static Prom_node *dev_next_node_by_compat(Prom_node *root, char *model); 36 static Prom_node *dev_find_node_by_compat(Prom_node *root, char *model); 49 void add_node(Sys_tree *root, Prom_node *pnode); 56 Prop *find_prop(Prom_node *pnode, char *name); 57 char *get_node_name(Prom_node *pnode); 58 char *get_node_type(Prom_node *pnode); 60 void fill_pci_card_list(Prom_node *pci_instance, 61 Prom_node *pci_card_node, 66 static Prom_node *next_pci_card(Prom_node *curr_card, int *is_bridge, 67 int is_pcidev, Prom_node *curr_bridge, [all …]
|
H A D | littleneck.c | 81 void display_diaginfo(int flag, Prom_node *root, Sys_tree *tree, 95 static void lneck_display_hw_revisions(Prom_node *root, 155 Prom_node *cpu; in display_cpus() 266 display_diaginfo(int flag, Prom_node *root, Sys_tree *tree, in display_diaginfo() 304 Prom_node *pci; in display_pci() 305 Prom_node *card_node; in display_pci() 465 Prom_node *pnode; in disp_fail_parts() 943 lneck_display_hw_revisions(Prom_node *root, Board_node *bdlist) in lneck_display_hw_revisions() 945 Prom_node *pnode; in lneck_display_hw_revisions() 975 Prom_node *pnode; in display_schizo_revisions()
|
/titanic_41/usr/src/lib/libprtdiag_psr/sparc/starfire/common/ |
H A D | starfire.c | 66 void display_diaginfo(int flag, Prom_node *root, Sys_tree *tree, 70 Prom_node *find_device(Board_node *, int, char *); 115 Prom_node *pnode; in display_memoryconf() 153 display_diaginfo(int flag, Prom_node *root, Sys_tree *tree, in display_diaginfo() 207 Prom_node * 210 Prom_node *pnode; in find_device()
|
/titanic_41/usr/src/lib/libprtdiag_psr/sparc/starcat/common/ |
H A D | starcat.c | 80 Prop *find_prop(Prom_node *pnode, char *name); 81 char *get_node_name(Prom_node *pnode); 82 char *get_node_type(Prom_node *pnode); 83 void add_node(Sys_tree *, Prom_node *); 92 void display_diaginfo(int flag, Prom_node *root, Sys_tree *tree, 96 static void starcat_disp_hw_revisions(Prom_node *root); 113 Prom_node *pci; in display_pci() 114 Prom_node *card_node; in display_pci() 115 Prom_node *pci_bridge_node = NULL; in display_pci() 518 add_node(Sys_tree *root, Prom_node *pnode) in add_node() [all …]
|
/titanic_41/usr/src/lib/libprtdiag_psr/sparc/opl/common/ |
H A D | opl.c | 91 void display_diaginfo(int flag, Prom_node *root, Sys_tree *tree, 93 Prop *find_prop(Prom_node *pnode, char *name); 99 static void opl_disp_hw_revisions(Sys_tree *tree, Prom_node *root); 103 void add_node(Sys_tree *root, Prom_node *pnode); 120 walk_tree_for_pci_devices(Prom_node *node, int board_number) in walk_tree_for_pci_devices() 303 Prom_node *pnode, *cpu; in display_cpus() 360 Prom_node *cpu_next = NULL; in display_cpus() 443 Prom_node *pnode; in get_opl_mem_regs() 662 display_diaginfo(int flag, Prom_node *root, Sys_tree *tree, in display_diaginfo() 674 opl_disp_hw_revisions(Sys_tree *tree, Prom_node *root) in opl_disp_hw_revisions() [all …]
|
/titanic_41/usr/src/lib/libprtdiag_psr/sparc/javelin/common/ |
H A D | javelin.c | 75 void display_diaginfo(int flag, Prom_node *root, Sys_tree *tree, 88 static int tazmo_physical_slot(Prom_node *, Prom_node *, int, char *); 89 static Prom_node *dev_next_node_sibling(Prom_node *root, char *name); 114 static Prom_node * 115 dev_next_node_sibling(Prom_node *root, char *name) in dev_next_node_sibling() 137 Prom_node *memory; in display_memoryconf() 138 Prom_node *bank; in display_memoryconf() 139 Prom_node *dimm; in display_memoryconf() 239 Prom_node *pnode; in disp_fail_parts() 371 display_diaginfo(int flag, Prom_node *root, Sys_tree *tree, in display_diaginfo() [all …]
|
/titanic_41/usr/src/lib/libprtdiag_psr/sparc/tazmo/common/ |
H A D | tazmo.c | 75 void display_diaginfo(int flag, Prom_node *root, Sys_tree *tree, 91 static int tazmo_physical_slot(Prom_node *, Prom_node *, int, char *); 92 static Prom_node *dev_next_node_sibling(Prom_node *root, char *name); 117 static Prom_node * 118 dev_next_node_sibling(Prom_node *root, char *name) in dev_next_node_sibling() 140 Prom_node *memory; in display_memoryconf() 141 Prom_node *bank; in display_memoryconf() 142 Prom_node *dimm; in display_memoryconf() 242 Prom_node *pnode; in disp_fail_parts() 376 display_diaginfo(int flag, Prom_node *root, Sys_tree *tree, in display_diaginfo() [all …]
|
/titanic_41/usr/src/lib/libprtdiag_psr/sparc/desktop/common/ |
H A D | desktop.c | 95 void display_diaginfo(int flag, Prom_node *root, Sys_tree *tree, 107 static void display_dev_node(Prom_node *np, int depth); 156 Prom_node *pnode; in disp_fail_parts() 269 display_diaginfo(int flag, Prom_node *root, Sys_tree *tree, in display_diaginfo() 301 Prom_node *pci; in display_pci() 343 Prom_node *pnode; in dt_disp_asic_revs() 443 display_dev_node(Prom_node *np, int depth) in display_dev_node() 508 Prom_node *sbus; in display_sbus() 509 Prom_node *card_node; in display_sbus()
|
/titanic_41/usr/src/lib/libprtdiag_psr/sparc/serengeti/common/ |
H A D | serengeti.c | 127 Prop *find_prop(Prom_node *pnode, char *name); 128 char *get_node_name(Prom_node *pnode); 129 char *get_node_type(Prom_node *pnode); 130 void add_node(Sys_tree *, Prom_node *); 136 void display_diaginfo(int flag, Prom_node *root, Sys_tree *tree, 146 static void serengeti_display_hw_revisions(Prom_node *root, 206 Prom_node *pci; in display_pci() 207 Prom_node *card_node; in display_pci() 208 Prom_node *pci_bridge_node; in display_pci() 209 Prom_node *child_pci_bridge_node; in display_pci() [all …]
|