/titanic_50/usr/src/cmd/mdb/sparc/kmdb/ |
H A D | kmdb_promif_isadep.c | 106 return (prom_getprop(node, name, value)); in kmdb_prom_getprop() 130 if ((prom_getprop(node, "portid", (caddr_t)&port_id) == -1) && in walk_cpus_cb() 131 (prom_getprop(node, "upa-portid", (caddr_t)&port_id) == -1) && in walk_cpus_cb() 132 (prom_getprop(node, "cpuid", (caddr_t)&port_id) == -1)) { in walk_cpus_cb() 176 if (prom_getprop(node, "portid", (caddr_t)&val) == -1 && in kmdb_prom_getcpu_propnode() 177 prom_getprop(node, "upa-portid", (caddr_t)&val) == -1 && in kmdb_prom_getcpu_propnode() 178 prom_getprop((pnode = prom_parentnode(node)), "name", name) != -1 && in kmdb_prom_getcpu_propnode() 234 if (prom_getprop(pnode, PROM_KCTX_PRESERVED_PROPNAME, in kmdb_prom_preserve_kctx_init()
|
/titanic_50/usr/src/psm/stand/boot/sparc/common/ |
H A D | machdep.c | 66 (void) prom_getprop(node, "name", name); in visit() 72 (void) prom_getprop(node, manufacturer, (caddr_t)&manu); in visit() 79 (void) prom_getprop(node, implementation, (caddr_t)&impl); in visit() 159 (void) prom_getprop(prom_rootnode(), "name", name); in retain_nvram_page()
|
H A D | sun4dep.c | 60 prom_getprop(node, OBP_NAME, cpubuf) <= 0) in setup_aux() 73 prom_getprop(node, OBP_DEVICETYPE, dname) > 0 && in setup_aux() 78 if (prom_getprop(node, OBP_COMPATIBLE, in setup_aux()
|
/titanic_50/usr/src/uts/sun4u/schumacher/os/ |
H A D | schumacher.c | 262 if (prom_getprop(curnode, OBP_NAME, (caddr_t)tmp_name) == -1 || in plat_lgrp_init() 263 prom_getprop(curnode, OBP_DEVICETYPE, tmp_name) == -1 || in plat_lgrp_init() 268 if (prom_getprop(curnode, "portid", (caddr_t)&portid) != -1 && in plat_lgrp_init() 345 if ((prom_getprop(nodeid, "portid", (caddr_t)&portid) == -1) || in plat_fill_mc()
|
/titanic_50/usr/src/uts/sun4u/enchilada/os/ |
H A D | enchilada.c | 279 if (prom_getprop(curnode, OBP_NAME, (caddr_t)tmp_name) == -1 || in plat_lgrp_init() 280 prom_getprop(curnode, OBP_DEVICETYPE, tmp_name) == -1 || in plat_lgrp_init() 285 if (prom_getprop(curnode, "portid", (caddr_t)&portid) != -1 && in plat_lgrp_init() 362 if ((prom_getprop(nodeid, "portid", (caddr_t)&portid) == -1) || in plat_fill_mc()
|
/titanic_50/usr/src/uts/sun4u/serengeti/io/ |
H A D | sbdp_dr.c | 137 (void) prom_getprop(node, OBP_NAME, (caddr_t)name); in sbdp_attach_branch() 217 (void) prom_getprop(node, OBP_DEVICETYPE, (caddr_t)devtype); in sbdp_select_top_nodes() 218 (void) prom_getprop(node, OBP_NAME, (caddr_t)devname); in sbdp_select_top_nodes() 241 if (prom_getprop(node, "cpuid", in sbdp_select_top_nodes() 244 if (prom_getprop(node, "portid", in sbdp_select_top_nodes() 255 (void) prom_getprop(node, "implementation#", in sbdp_select_top_nodes()
|
H A D | sbdp_cpu.c | 499 (void) prom_getprop(nodeid, "device_type", (caddr_t)type); in sbdp_get_cpuid() 514 if (prom_getprop(nodeid, "cpuid", (caddr_t)&cpuid) == -1) in sbdp_get_cpuid() 515 if (prom_getprop(nodeid, "portid", (caddr_t)&cpuid) == -1) { in sbdp_get_cpuid() 541 (void) prom_getprop(nodeid, "device_type", (caddr_t)type); in sbdp_cpu_get_impl() 555 if (prom_getprop(nodeid, "implementation#", (caddr_t)&impl) == -1) in sbdp_cpu_get_impl() 598 if (prom_getprop(cur_node, OBP_PORTID, (caddr_t)&portid) < 0) in sbdp_prom_get_cpu()
|
H A D | sbdp_mem.c | 669 if (prom_getprop(nodeid, "reg", (caddr_t)®) < 0) in sbdp_get_reg_addr() 701 if (prom_getprop(cpu_node, "name", (caddr_t)namebuf) == -1) { in mc_get_sibling_cpu_impl() 716 if (prom_getprop(cpu_node, "implementation#", (caddr_t)&impl) == -1) { in mc_get_sibling_cpu_impl() 741 if (prom_getprop(nodeid, "portid", (caddr_t)&portid) < 0 || in mc_get_idle_reg() 1379 (void) prom_getprop(node, "device_type", (caddr_t)type); in sbdp_is_mem() 1395 (void) prom_getprop(node, OBP_NAME, (caddr_t)name); in sbdp_is_mem() 1450 if (prom_getprop(nodeid, OBP_PORTID, (caddr_t)&portid) < 0) in mc_get_sibling_cpu() 1485 (void) prom_getprop(nodeid, OBP_PORTID, (caddr_t)&portid); in mc_check_sibling_cpu() 1516 if ((prom_getprop(nodeid, "portid", (caddr_t)&portid) < 0) || in mc_read_regs() 1535 if (prom_getprop(nodeid, "reg", (caddr_t)®) < 0) in mc_read_regs() [all …]
|
/titanic_50/usr/src/uts/sparc/os/ |
H A D | bootops.c | 422 return (prom_getprop(node, prop, value)); in bop_getprop() 465 (void) prom_getprop(chosennode, "bootfs", (caddr_t)&bfs_ih); in bop_mountroot() 466 (void) prom_getprop(chosennode, "archfs", (caddr_t)&afs_ih); in bop_mountroot() 519 prom_getprop(chosennode, "bootarchive", archive) == -1) in bop_free_archive() 523 prom_getprop(arph, OBP_ALLOCSIZE, (caddr_t)&alloc_size) == -1 || in bop_free_archive() 524 prom_getprop(arph, OBP_SIZE, (caddr_t)&arsize) == -1 || in bop_free_archive() 525 prom_getprop(arph, OBP_ADDRESS, (caddr_t)&arbase) == -1) in bop_free_archive()
|
H A D | cpr_sparc.c | 104 if (prom_getprop(node, name, value) != len) in cpr_get_bool_prop() 290 if (prom_getprop(node, orig->name, orig->value) < 0) { in cpr_default_setup() 479 prom_getprop(node, OBP_NAME, name) < 0) in cpr_build_nodename() 487 if (prom_getprop(node, OBP_REG, (caddr_t)reg) < 0) in cpr_build_nodename()
|
/titanic_50/usr/src/uts/sun4u/starfire/io/ |
H A D | memctrl.c | 98 if (prom_getprop(nodeid, "reg", (caddr_t)®) < 0) in mc_get_asr_addr() 118 if (prom_getprop(nodeid, "reg", (caddr_t)®) < 0) in mc_get_idle_addr() 139 if (prom_getprop(nodeid, "reg", (caddr_t)®) < 0) in mc_get_dimm_size() 171 if (prom_getprop(nodeid, "reg", (caddr_t)®) < 0) in mc_get_alignment_mask()
|
/titanic_50/usr/src/psm/promif/ieee1275/sun4/ |
H A D | prom_mem.c | 51 (void) prom_getprop(prom_chosennode(), "memory", (caddr_t)(&imemory)); in prom_memory_ihandle() 196 return (prom_getprop(prom_mem_phandle(), "reg", prop)); in prom_phys_installed() 202 return (prom_getprop(prom_mem_phandle(), "available", prop)); in prom_phys_avail()
|
H A D | prom_vercheck.c | 216 (void) prom_getprop(node, OBP_NAME, model); in visit() 223 (void) prom_getprop(node, version, vers); in visit() 233 (void) prom_getprop(node, model_name, model); in visit() 270 (void) prom_getprop(node, version, vers); in visit()
|
H A D | prom_mmu.c | 49 (void) prom_getprop(prom_chosennode(), "mmu", (caddr_t)(&immu)); in prom_mmu_ihandle() 244 return (prom_getprop(prom_mmu_phandle(), "available", prop)); in prom_virt_avail()
|
/titanic_50/usr/src/psm/promif/ieee1275/common/ |
H A D | prom_devtype.c | 42 (void) prom_getprop(id, OBP_DEVICETYPE, (caddr_t)buf); in prom_devicetype() 60 (void) prom_getprop(id, OBP_NAME, (caddr_t)buf); in prom_getnode_byname()
|
H A D | prom_fb.c | 146 (void) prom_getprop(node, (caddr_t)name, (caddr_t)buf); in prom_get_tem_size() 152 (void) prom_getprop(node, (caddr_t)name, (caddr_t)buf); in prom_get_tem_size()
|
/titanic_50/usr/src/uts/sun4u/chicago/os/ |
H A D | chicago.c | 237 if (prom_getprop(curnode, "portid", (caddr_t)&portid) != in plat_lgrp_init() 314 if ((prom_getprop(nodeid, "portid", (caddr_t)&portid) == -1) || in plat_fill_mc() 393 if (prom_getprop(node, "address", (caddr_t)&eaddr) == -1) in get_ebus_rtc_vaddr()
|
/titanic_50/usr/src/uts/sun4u/os/ |
H A D | mach_ddi_impl.c | 143 if (prom_getprop((pnode_t)nid, OBP_BOARDNUM, in get_boardnum() 154 if (prom_getprop((pnode_t)nid, OBP_BOARDNUM, in get_boardnum() 176 if (-1 == prom_getprop((pnode_t)id, name, buf)) in getlongprop_buf()
|
/titanic_50/usr/src/psm/stand/lib/names/sparc/common/ |
H A D | uname-i.c | 84 (void) prom_getprop(n, namename, iarch); in get_impl_arch_name() 98 (void) prom_getprop(n, namename, iarch); in get_impl_arch_name()
|
H A D | mfgname.c | 53 (void) prom_getprop(n, OBP_NAME, mfgname); in get_mfg_name()
|
/titanic_50/usr/src/stand/lib/inet/ |
H A D | mac.c | 118 (void) prom_getprop(node, mtu_name, in mac_init() 128 (void) prom_getprop(node, netiftype, tmpbuf); in mac_init() 131 (void) prom_getprop(node, chosen_net, tmpbuf); in mac_init() 134 (void) prom_getprop(node, supported_net, tmpbuf); in mac_init()
|
H A D | ibd.c | 584 if (prom_getprop(chosen, addrprop, (caddr_t)mac_state.mac_addr_buf) != in ibd_init() 588 if (prom_getprop(chosen, bcastprop, (caddr_t)&ibdbroadcastaddr) != in ibd_init() 593 (cidlen > DHCP_MAX_CID_LEN) || (prom_getprop(chosen, cidprop, in ibd_init() 602 if (prom_getprop(chosen, mtuprop, in ibd_init()
|
/titanic_50/usr/src/psm/stand/cpr/sparcv9/sun4u/ |
H A D | util.c | 69 if (prom_getprop(chosen, "fs-package", fs_pkg) == -1) { in cpr_statefile_open() 111 if (prom_getprop(chosen, "bootfs", (caddr_t)&cb_rih) == -1) { in cb_mountroot() 321 glen = prom_getprop(node, prop, dst); in get_intprop()
|
/titanic_50/usr/src/uts/sun4u/opl/os/ |
H A D | opl.c | 147 (void) prom_getprop(prom_rootnode(), "model", (caddr_t)name); in set_model_info() 295 if ((prom_getprop(pnode, "name", (caddr_t)pname) == -1) || in opl_get_physical_board() 299 if (prom_getprop(pnode, LSBPROP, (caddr_t)&lsb_id) == -1) in opl_get_physical_board() 303 if (prom_getprop(pnode, PSBPROP, in opl_get_physical_board() 519 if (prom_getprop(nodeid, "board#", (caddr_t)&board) < 0) { in plat_fill_mc() 522 if (prom_getprop(nodeid, "sb-mem-ranges", (caddr_t)&mem_range) < 0) { in plat_fill_mc()
|
/titanic_50/usr/src/cmd/eeprom/i386/ |
H A D | benv_kvm.c | 169 prom_getprop(char *prop, int *lenp) in prom_getprop() function 208 propval = prom_getprop(curprop, &npp->prop_len); in get_proplist()
|