/titanic_50/usr/src/lib/libprtdiag/common/ |
H A D | cpu.c | 72 if ((value = (uint_t *)get_prop_val(prop)) == NULL) { in get_cpu_freq() 90 if (cache_size_p = (int *)get_prop_val(find_prop(node, in get_ecache_size() 94 if (cache_size_p = (int *)get_prop_val(find_prop(node, in get_ecache_size() 98 if (cache_size_p = (int *)get_prop_val(find_prop(node, in get_ecache_size() 164 mid = (int *)get_prop_val(find_prop(cpu, "upa-portid")); in display_cpus() 166 mid = (int *)get_prop_val(find_prop(cpu, "portid")); in display_cpus() 171 impl = (int *)get_prop_val(find_prop(cpu, "implementation#")); in display_cpus() 172 mask = (int *)get_prop_val(find_prop(cpu, "mask#")); in display_cpus()
|
H A D | io.c | 97 if ((value = (int *)get_prop_val(find_prop(pnode, "bus-range"))) == in get_pci_bus() 120 if ((value = get_prop_val(find_prop(pnode, "assigned-addresses"))) != in get_pci_device() 137 if ((value = get_prop_val(find_prop(pnode, "reg"))) != in get_pci_to_pci_device() 251 if ((value = get_prop_val(find_prop(pnode, "reg"))) != NULL) { in get_sbus_slot() 379 value = get_prop_val(find_prop(fb, "name")); in display_ffb() 399 value = get_prop_val(find_prop(fb, "board_type")); in display_ffb() 416 value = get_prop_val(find_prop(fb, in display_ffb() 426 value = get_prop_val(find_prop(fb, "model")); in display_ffb() 443 value = get_prop_val(find_prop(fb, "upa-portid")); in display_ffb() 445 value = get_prop_val(find_prop(fb, "portid")); in display_ffb() [all …]
|
H A D | pdevinfo_sun4u.c | 136 if ((value = (int *)get_prop_val(find_prop(node, "upa-portid"))) in get_id() 141 if ((value = (int *)get_prop_val(find_prop(node, "portid"))) in get_id() 202 model = (char *)get_prop_val(find_prop(pnode, "model")); in walk()
|
H A D | prom.c | 70 vers = (char *)get_prop_val(version); in disp_prom_version() 129 value = get_prop_val(find_prop(card_node, "class-code")); in get_pci_class_code_reg()
|
H A D | display_sun4u.c | 88 get_prop_val(find_prop(root, "banner-name")), 0); in display() 91 value = get_prop_val(find_prop(root, "clock-frequency")); in display()
|
H A D | memory.c | 143 portid = (*(int *)get_prop_val(find_prop(pnode, "portid"))); in get_us3_mem_regs() 146 ma_reg_arr = (uint64_t *)get_prop_val( in get_us3_mem_regs() 179 bank_status_array = (void *)get_prop_val( in get_us3_mem_regs()
|
H A D | libdevinfo_sun4u.c | 102 model = (char *)get_prop_val(find_prop(pnode, "model")); in walk_di_tree() 118 if (int_val = (int *)get_prop_val(find_prop(pnode, "portid"))) in walk_di_tree() 121 (int_val = (int *)get_prop_val(find_prop(pnode->parent, "portid")))) in walk_di_tree()
|
H A D | pdevinfo_funcs.c | 585 if ((value = get_prop_val(find_prop(node, "status"))) != NULL) { in node_status() 598 get_prop_val(Prop *prop) in get_prop_val() function 705 type_prop = (char *)get_prop_val(find_prop(root, type)); in dev_find_node_by_type() 768 (compatible_array = (char *)get_prop_val(prop)) != NULL) { in dev_find_node_by_compatible()
|
H A D | display_funcs.c | 129 value_str = get_prop_val(find_prop(pnode, pf_str)); in disp_powerfail()
|
H A D | pdevinfo_sun4v.c | 183 compatible = (char *)get_prop_val(find_prop(pnode, "compatible")); in sun4v_walk()
|
/titanic_50/usr/src/lib/libprtdiag_psr/sparc/desktop/common/ |
H A D | desktop.c | 183 value = get_prop_val(find_prop(pnode, "status")); in disp_fail_parts() 363 version = (int *)get_prop_val(find_prop(pnode, "version#")); in dt_disp_asic_revs() 364 name = get_prop_val(find_prop(pnode, "name")); in dt_disp_asic_revs() 375 version = (int *)get_prop_val(find_prop(pnode, "version#")); in dt_disp_asic_revs() 376 name = get_prop_val(find_prop(pnode, "name")); in dt_disp_asic_revs() 386 version = (int *)get_prop_val(find_prop(pnode, "revision-id")); in dt_disp_asic_revs() 387 name = get_prop_val(find_prop(pnode, "name")); in dt_disp_asic_revs() 397 version = (int *)get_prop_val(find_prop(pnode, "hm-rev")); in dt_disp_asic_revs() 398 name = get_prop_val(find_prop(pnode, "name")); in dt_disp_asic_revs() 453 name = get_prop_val(find_prop(np, "name")); in display_dev_node() [all …]
|
/titanic_50/usr/src/lib/libprtdiag_psr/sparc/javelin/common/ |
H A D | javelin.c | 161 preg = (uint_t *)(get_prop_val(find_prop(memory, "interleave"))); in display_memoryconf() 176 preg = (uint_t *)(get_prop_val( in display_memoryconf() 179 reg_prop = (uint_t *)(get_prop_val( in display_memoryconf() 196 preg = (uint_t *)(get_prop_val(find_prop(bank, "reg"))); in display_memoryconf() 205 sock_name = (char *)(get_prop_val( in display_memoryconf() 207 preg = (uint_t *)(get_prop_val(find_prop(dimm, "reg"))); in display_memoryconf() 212 status = (char *)(get_prop_val(status_prop)); in display_memoryconf() 268 value = get_prop_val(find_prop(pnode, "status")); in disp_fail_parts() 332 fru = (char *)(get_prop_val( in disp_fail_parts() 334 sock_name = (char *)(get_prop_val( in disp_fail_parts() [all …]
|
/titanic_50/usr/src/lib/libprtdiag_psr/sparc/starcat/common/ |
H A D | starcat.c | 79 void *get_prop_val(Prop *prop); 156 value = get_prop_val(find_prop(pci, "enum-impl")); in display_pci() 163 if (strstr((char *)get_prop_val( in display_pci() 170 value = (int *)get_prop_val in display_pci() 178 } else if (strstr((char *)get_prop_val( in display_pci() 190 value = (char *)get_prop_val(find_prop(pci, "slot-names")); in display_pci() 196 value = (char *)get_prop_val( in display_pci() 235 name = (char *)get_prop_val( in display_pci() 246 int_val = (int *)get_prop_val( in display_pci() 268 type = (char *)get_prop_val( in display_pci() [all …]
|
/titanic_50/usr/src/lib/libprtdiag_psr/sparc/tazmo/common/ |
H A D | tazmo.c | 164 preg = (uint_t *)(get_prop_val(find_prop(memory, "interleave"))); in display_memoryconf() 179 preg = (uint_t *)(get_prop_val( in display_memoryconf() 182 reg_prop = (uint_t *)(get_prop_val( in display_memoryconf() 199 preg = (uint_t *)(get_prop_val(find_prop(bank, "reg"))); in display_memoryconf() 208 sock_name = (char *)(get_prop_val( in display_memoryconf() 210 preg = (uint_t *)(get_prop_val(find_prop(dimm, "reg"))); in display_memoryconf() 215 status = (char *)(get_prop_val(status_prop)); in display_memoryconf() 271 value = get_prop_val(find_prop(pnode, "status")); in disp_fail_parts() 337 fru = (char *)(get_prop_val( in disp_fail_parts() 339 sock_name = (char *)(get_prop_val( in disp_fail_parts() [all …]
|
/titanic_50/usr/src/lib/libprtdiag_psr/sparc/serengeti/common/ |
H A D | serengeti.c | 126 void *get_prop_val(Prop *prop); 250 value = get_prop_val(find_prop(pci, "enum-impl")); in display_pci() 257 if (strstr((char *)get_prop_val( in display_pci() 264 value = (int *)get_prop_val in display_pci() 272 } else if (strstr((char *)get_prop_val( in display_pci() 282 value = (char *)get_prop_val(find_prop(pci, "slot-names")); in display_pci() 323 name = (char *)get_prop_val( in display_pci() 331 type = (char *)get_prop_val( in display_pci() 338 int_val = (int *)get_prop_val( in display_pci() 370 pname = (char *)get_prop_val( in display_pci() [all …]
|
/titanic_50/usr/src/lib/libprtdiag_psr/sparc/opl/common/ |
H A D | opl.c | 83 void *get_prop_val(Prop *prop); 133 val = get_prop_val(find_prop(node, "class-code")); in walk_tree_for_pci_devices() 141 str = (char *)get_prop_val(find_prop(node, "name")); in walk_tree_for_pci_devices() 145 str = (char *)get_prop_val(find_prop(node, "model")); in walk_tree_for_pci_devices() 319 portid = (int *)get_prop_val(find_prop(pnode, "portid")); in display_cpus() 321 l2cache_size = (int *)get_prop_val(find_prop(pnode->child, in display_cpus() 323 impl = (int *)get_prop_val(find_prop(pnode->child, in display_cpus() 325 mask = (int *)get_prop_val(find_prop(pnode->child, "mask#")); in display_cpus() 368 cpuid = (int *)get_prop_val(find_prop(cpu, "cpuid")); in display_cpus() 458 cs_stat = (struct cs_status *)get_prop_val in get_opl_mem_regs() [all …]
|
/titanic_50/usr/src/lib/libprtdiag_psr/sparc/cherrystone/common/ |
H A D | workfile.c | 59 void *get_prop_val(Prop *prop); 120 compatible = (char *)get_prop_val(find_prop(root, "compatible")); in dev_find_node_by_compat() 338 value = get_prop_val(find_prop(pnode, "portid")); in add_node() 401 get_prop_val(Prop *prop) in get_prop_val() function 511 name = (char *)get_prop_val( in fill_pci_card_list() 523 value = get_prop_val(find_prop(pci_instance, "portid")); in fill_pci_card_list() 540 int_val = (int *)get_prop_val(find_prop(pci_instance, "reg")); in fill_pci_card_list() 562 int_val = (int *)get_prop_val( in fill_pci_card_list() 592 type = (char *)get_prop_val( in fill_pci_card_list() 674 value = get_prop_val(find_prop(pci_card_node, "model")); in fill_pci_card_list() [all …]
|
H A D | cherrystone.c | 138 mid = (int *)get_prop_val(find_prop(cpu, "portid")); in display_cpus() 140 mid = (int *)get_prop_val(find_prop(cpu, "cpuid")); in display_cpus() 143 impl = (int *)get_prop_val(find_prop(cpu, "implementation#")); in display_cpus() 144 mask = (int *)get_prop_val(find_prop(cpu, "mask#")); in display_cpus() 146 (int *)get_prop_val(find_prop(cpu, "l3-cache-sharing")); in display_cpus() 154 coreid = (int *)get_prop_val(find_prop(cpu, "reg")); in display_cpus() 328 value = (char *)get_prop_val( in display_pci() 813 value = (char *)get_prop_val(find_prop(pnode, "version")); in display_hw_revisions() 860 int_val = (int *)get_prop_val in display_schizo_revisions() 868 int_val = (int *)get_prop_val in display_schizo_revisions() [all …]
|
/titanic_50/usr/src/lib/libprtdiag_psr/sparc/daktari/common/ |
H A D | workfile.c | 113 void *get_prop_val(Prop *prop); 199 value = get_prop_val(find_prop(pnode, "portid")); in add_node() 264 get_prop_val(Prop *prop) in get_prop_val() function 318 compatible = (char *)get_prop_val(find_prop(root, "compatible")); in dev_find_node_by_compat() 621 name = (char *)get_prop_val( in fill_pci_card_list() 633 value = get_prop_val(find_prop(pci_instance, "portid")); in fill_pci_card_list() 642 int_val = (int *)get_prop_val(find_prop(pci_instance, "reg")); in fill_pci_card_list() 667 int_val = (int *)get_prop_val( in fill_pci_card_list() 677 type = (char *)get_prop_val( in fill_pci_card_list() 764 value = get_prop_val(find_prop(pci_card_node, "model")); in fill_pci_card_list() [all …]
|
H A D | daktari.c | 164 value = get_prop_val(find_prop(pnode, "status")); in disp_fail_parts() 337 mid = (int *)get_prop_val(find_prop(cpu, "portid")); in display_cpus() 339 mid = (int *)get_prop_val(find_prop(cpu, "cpuid")); in display_cpus() 342 impl = (int *)get_prop_val(find_prop(cpu, "implementation#")); in display_cpus() 343 mask = (int *)get_prop_val(find_prop(cpu, "mask#")); in display_cpus() 344 l3_shares = (int *)get_prop_val(find_prop(cpu, in display_cpus() 355 coreid = (int *)get_prop_val(find_prop(cpu, "reg")); in display_cpus() 475 value = (char *)get_prop_val( in display_pci() 1256 value = (char *)get_prop_val(find_prop(pnode, "version")); in dak_display_hw_revisions() 1300 int_val = (int *)get_prop_val in display_schizo_revisions() [all …]
|
/titanic_50/usr/src/lib/libprtdiag_psr/sparc/littleneck/common/ |
H A D | workfile.c | 55 void *get_prop_val(Prop *prop); 199 compatible = (char *)get_prop_val(find_prop(root, "compatible")); in dev_find_node_by_compat() 474 value = get_prop_val(find_prop(pnode, "portid")); in add_node() 537 get_prop_val(Prop *prop) in get_prop_val() function 647 name = (char *)get_prop_val( in fill_pci_card_list() 658 value = get_prop_val(find_prop(pci_instance, "portid")); in fill_pci_card_list() 667 int_val = (int *)get_prop_val(find_prop(pci_instance, "reg")); in fill_pci_card_list() 685 int_val = (int *)get_prop_val( in fill_pci_card_list() 706 type = (char *)get_prop_val( in fill_pci_card_list() 777 value = get_prop_val(find_prop(pci_card_node, "model")); in fill_pci_card_list() [all …]
|
H A D | littleneck.c | 171 mid = (int *)get_prop_val(find_prop(cpu, "portid")); in display_cpus() 174 impl = (int *)get_prop_val(find_prop(cpu, "implementation#")); in display_cpus() 175 mask = (int *)get_prop_val(find_prop(cpu, "mask#")); in display_cpus() 331 value = (char *)get_prop_val( in display_pci() 489 value = get_prop_val(find_prop(pnode, "status")); in disp_fail_parts() 958 value = (char *)get_prop_val(find_prop(pnode, "version")); in lneck_display_hw_revisions() 1004 int_val = (int *)get_prop_val in display_schizo_revisions() 1012 int_val = (int *)get_prop_val in display_schizo_revisions() 1026 status_b = (char *)get_prop_val in display_schizo_revisions() 1044 int_val = (int *)get_prop_val in display_schizo_revisions() [all …]
|
/titanic_50/usr/src/lib/libprtdiag_psr/sparc/sunfire/common/ |
H A D | sunfire.c | 486 value = get_prop_val(find_prop(pnode, "status")); in disp_fail_parts() 737 value = get_prop_val(find_prop(ffb, "board_type")); in display_ffb() 748 value = get_prop_val(find_prop(ffb, "model")); in display_ffb() 764 value = get_prop_val(find_prop(ffb, "upa-portid")); in display_ffb() 839 if ((value = get_prop_val(find_prop(pnode, in add_node() 886 type = get_prop_val(find_prop(pnode, "board-type")); in resolve_board_types() 1200 str = get_prop_val(find_prop(pn, in disp_fault_list() 1813 if ((version = (int *)get_prop_val(find_prop(pnode, in sunfire_disp_asic_revs() 1825 if ((version = (int *)get_prop_val(find_prop(pnode, in sunfire_disp_asic_revs() 1837 if ((version = (int *)get_prop_val(find_prop(pnode, in sunfire_disp_asic_revs() [all …]
|
/titanic_50/usr/src/lib/libprtdiag/inc/ |
H A D | pdevinfo.h | 184 void *get_prop_val(Prop *);
|
/titanic_50/usr/src/lib/libprtdiag_psr/sparc/starfire/common/ |
H A D | starfire.c | 132 memsize = get_prop_val(find_prop(pnode, "size")); in display_memoryconf()
|