Home
last modified time | relevance | path

Searched refs:prom_getprop (Results 1 – 25 of 89) sorted by relevance

1234

/titanic_50/usr/src/cmd/mdb/sparc/kmdb/
H A Dkmdb_promif_isadep.c106 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 Dmachdep.c66 (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 Dsun4dep.c60 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 Dschumacher.c262 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 Denchilada.c279 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 Dsbdp_dr.c137 (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 Dsbdp_cpu.c499 (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 Dsbdp_mem.c669 if (prom_getprop(nodeid, "reg", (caddr_t)&reg) < 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)&reg) < 0) in mc_read_regs()
[all …]
/titanic_50/usr/src/uts/sparc/os/
H A Dbootops.c422 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 Dcpr_sparc.c104 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 Dmemctrl.c98 if (prom_getprop(nodeid, "reg", (caddr_t)&reg) < 0) in mc_get_asr_addr()
118 if (prom_getprop(nodeid, "reg", (caddr_t)&reg) < 0) in mc_get_idle_addr()
139 if (prom_getprop(nodeid, "reg", (caddr_t)&reg) < 0) in mc_get_dimm_size()
171 if (prom_getprop(nodeid, "reg", (caddr_t)&reg) < 0) in mc_get_alignment_mask()
/titanic_50/usr/src/psm/promif/ieee1275/sun4/
H A Dprom_mem.c51 (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 Dprom_vercheck.c216 (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 Dprom_mmu.c49 (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 Dprom_devtype.c42 (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 Dprom_fb.c146 (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 Dchicago.c237 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 Dmach_ddi_impl.c143 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 Duname-i.c84 (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 Dmfgname.c53 (void) prom_getprop(n, OBP_NAME, mfgname); in get_mfg_name()
/titanic_50/usr/src/stand/lib/inet/
H A Dmac.c118 (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 Dibd.c584 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 Dutil.c69 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 Dopl.c147 (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 Dbenv_kvm.c169 prom_getprop(char *prop, int *lenp) in prom_getprop() function
208 propval = prom_getprop(curprop, &npp->prop_len); in get_proplist()

1234