Home
last modified time | relevance | path

Searched refs:prom_getproplen (Results 1 – 25 of 80) sorted by relevance

1234

/titanic_41/usr/src/psm/stand/boot/sparc/common/
H A Dmachdep.c64 if (prom_getproplen(node, "name") != sizeof (ultrasparc)) in visit()
70 if (prom_getproplen(node, manufacturer) != sizeof (int)) in visit()
77 if (prom_getproplen(node, implementation) != sizeof (int)) in visit()
157 len = prom_getproplen(prom_rootnode(), "name"); in retain_nvram_page()
H A Dsun4dep.c58 if ((nlen = prom_getproplen(node, OBP_NAME)) <= 0 || in setup_aux()
69 if ((clen = prom_getproplen(node, OBP_COMPATIBLE)) > 0 || in setup_aux()
72 (clen = prom_getproplen(node, OBP_COMPATIBLE)) > 0 && in setup_aux()
/titanic_41/usr/src/uts/sun4u/starfire/io/
H A Dmemctrl.c94 rlen = prom_getproplen(nodeid, "reg"); in mc_get_asr_addr()
114 rlen = prom_getproplen(nodeid, "reg"); in mc_get_idle_addr()
135 rlen = prom_getproplen(nodeid, "reg"); in mc_get_dimm_size()
167 rlen = prom_getproplen(nodeid, "reg"); in mc_get_alignment_mask()
/titanic_41/usr/src/psm/promif/ieee1275/sun4/
H A Dprom_mem.c48 if (prom_getproplen(prom_chosennode(), "memory") != sizeof (ihandle_t)) in prom_memory_ihandle()
184 return (prom_getproplen(prom_mem_phandle(), "reg")); in prom_phys_installed_len()
190 return (prom_getproplen(prom_mem_phandle(), "available")); in prom_phys_avail_len()
H A Dprom_vercheck.c214 if (prom_getproplen(node, OBP_NAME) != sizeof (flashprom)) in visit()
220 plen = prom_getproplen(node, version); in visit()
230 plen = prom_getproplen(node, model_name); in visit()
267 plen = prom_getproplen(node, version); in visit()
H A Dprom_mmu.c46 if (prom_getproplen(prom_chosennode(), "mmu") != sizeof (ihandle_t)) in prom_mmu_ihandle()
238 return (prom_getproplen(prom_mmu_phandle(), "available")); in prom_virt_avail_len()
H A Dprom_idprom.c50 length = prom_getproplen(prom_rootnode(), OBP_IDPROM); in prom_getidprom()
H A Dprom_macaddr.c54 if (prom_getproplen(macnodeid, OBP_MAC_ADDR) != -1) { in prom_getmacaddr()
/titanic_41/usr/src/psm/promif/ieee1275/common/
H A Dprom_devtype.c38 len = prom_getproplen(id, OBP_DEVICETYPE); in prom_devicetype()
56 len = prom_getproplen(id, OBP_NAME); in prom_getnode_byname()
H A Dprom_boot.c46 length = prom_getproplen(node, name); in prom_bootargs()
77 length = prom_getproplen(node, name); in prom_bootpath()
H A Dprom_fb.c145 if ((len = prom_getproplen(node, (caddr_t)name)) > 0) { in prom_get_tem_size()
151 if ((len = prom_getproplen(node, (caddr_t)name)) > 0) { in prom_get_tem_size()
H A Dprom_kbd.c49 if (prom_getproplen(prom_stdin_node(), "keyboard") == 0) in prom_stdin_is_keyboard()
H A Dprom_stdout.c44 if (prom_getproplen(prom_chosennode(), name) != in prom_stdout_ihandle()
H A Dprom_stdin.c44 if (prom_getproplen(prom_chosennode(), name) != in prom_stdin_ihandle()
H A Dprom_prop.c182 prom_getproplen(pnode_t nodeid, caddr_t name) in prom_getproplen() function
217 if ((len = prom_getproplen(nodeid, name)) <= 0) in prom_getprop()
/titanic_41/usr/src/uts/sparc/os/
H A Dcpr_sparc.c100 len = prom_getproplen(node, name); in cpr_get_bool_prop()
140 if (rc < 0 || prom_getproplen(node, props->name) != len) { in cpr_update_nvram()
283 len = prom_getproplen(node, orig->name); in cpr_default_setup()
476 int prop_len = prom_getproplen(node, OBP_NAME); in cpr_build_nodename()
483 if ((prop_len = prom_getproplen(node, OBP_REG)) < in cpr_build_nodename()
/titanic_41/usr/src/psm/stand/lib/names/sparc/common/
H A Duname-i.c81 len = prom_getproplen(n, namename); in get_impl_arch_name()
93 len = prom_getproplen(n, namename); in get_impl_arch_name()
H A Dmfgname.c52 (len = prom_getproplen(n, OBP_NAME)) > 0 && len < MAXNMLEN) { in get_mfg_name()
/titanic_41/usr/src/stand/lib/inet/
H A Dmac.c117 if (prom_getproplen(node, mtu_name) == sizeof (ihandle_t)) { in mac_init()
126 if ((len = prom_getproplen(node, netiftype)) > 0 && in mac_init()
129 } else if ((len = prom_getproplen(node, chosen_net)) > 0 && in mac_init()
132 } else if ((len = prom_getproplen(node, supported_net)) > 0 && in mac_init()
/titanic_41/usr/src/uts/sun4/os/
H A Dmlsetup.c337 if ((nlen = prom_getproplen(node, OBP_NAME)) <= 0 ||
344 if ((clen = prom_getproplen(node, OBP_COMPATIBLE)) > 0) {
350 if ((clen = prom_getproplen(node, OBP_COMPATIBLE)) > 0 ||
353 (clen = prom_getproplen(node, OBP_COMPATIBLE)) > 0 &&
/titanic_41/usr/src/uts/sun4u/chicago/os/
H A Dchicago.c388 if ((size = prom_getproplen(node, "address")) == -1) in get_ebus_rtc_vaddr()
400 if (prom_getproplen(node, "watchdog-enable") != -1) in get_ebus_rtc_vaddr()
/titanic_41/usr/src/uts/sun4v/promif/
H A Dpromif_stree.c340 if (prom_getproplen(child, "name") <= 0) { in create_children()
363 if (prom_getproplen(peer, "name") <= 0) { in create_peers()
401 if ((proplen = prom_getproplen(node, propname)) == -1) in create_node()
/titanic_41/usr/src/uts/intel/promif/
H A Dprom_prop.c38 prom_getproplen(pnode_t nodeid, caddr_t name) in prom_getproplen() function
/titanic_41/usr/src/uts/sun4u/os/
H A Decc.c232 if (((size = prom_getproplen(node, "reset-reason")) != -1) && in error_init()
/titanic_41/usr/src/uts/intel/sys/
H A Dpromif.h73 extern int prom_getproplen(pnode_t nodeid, caddr_t name);

1234