Home
last modified time | relevance | path

Searched refs:md_get_prop_str (Results 1 – 25 of 28) sorted by relevance

12

/titanic_44/usr/src/lib/fm/topo/modules/sun4v/platform-cpu/
H A Dcpu_mdesc.c186 if (md_get_prop_str(mdp, list1p[i], MD_STR_TYPE, &str) == 0 && in cpu_n2_mdesc_init()
195 if (md_get_prop_str(mdp, list1p[i], MD_STR_TYPE, &str) == 0 && in cpu_n2_mdesc_init()
217 if (md_get_prop_str(mdp, list1p[i], MD_STR_TYPE, &str) < 0 || in cpu_n2_mdesc_init()
221 if (md_get_prop_str(mdp, list1p[i], MD_STR_SERIAL, in cpu_n2_mdesc_init()
268 if (md_get_prop_str(mdp, list2p[j], MD_STR_TYPE, &str) in cpu_n2_mdesc_init()
314 if (!md_get_prop_str(mdp, list2p[j], MD_STR_NAC, &str)) in cpu_n2_mdesc_init()
318 if (!md_get_prop_str(mdp, list2p[j], MD_STR_PART, &str)) in cpu_n2_mdesc_init()
320 if (!md_get_prop_str(mdp, list2p[j], MD_STR_SERIAL, in cpu_n2_mdesc_init()
323 if (!md_get_prop_str(mdp, list2p[j], MD_STR_DASH, &str)) in cpu_n2_mdesc_init()
/titanic_44/usr/src/lib/fm/topo/modules/sun4v/motherboard/
H A Dmotherboard.c196 if (md_get_prop_str(mdp, listp[i], "type", &pstr) == 0) { in mb_get_pri_info()
199 if (md_get_prop_str(mdp, listp[i], in mb_get_pri_info()
202 if (md_get_prop_str(mdp, listp[i], in mb_get_pri_info()
205 if (md_get_prop_str(mdp, listp[i], in mb_get_pri_info()
209 if (md_get_prop_str(mdp, listp[i], in mb_get_pri_info()
215 if (md_get_prop_str(mdp, listp[i], "nac", &pstr) == 0) { in mb_get_pri_info()
217 if (md_get_prop_str(mdp, listp[i], in mb_get_pri_info()
/titanic_44/usr/src/lib/fm/topo/modules/sun4v/platform-mem/
H A Dmem_mdesc.c72 if (md_get_prop_str(mdp, listp[idx], "nac", &unum) < 0) in mdesc_init_n1()
74 if (md_get_prop_str(mdp, listp[idx], "serial#", in mdesc_init_n1()
77 if (md_get_prop_str(mdp, listp[idx], "part#", in mdesc_init_n1()
275 if (md_get_prop_str(mdp, listp[idx], "type", &type) < 0) in mdesc_init_n2()
281 if (md_get_prop_str(mdp, listp[idx], "nac", in mdesc_init_n2()
284 if (md_get_prop_str(mdp, listp[idx], "label", in mdesc_init_n2()
287 if (md_get_prop_str(mdp, listp[idx], in mdesc_init_n2()
290 if (md_get_prop_str(mdp, listp[idx], in mdesc_init_n2()
293 if (md_get_prop_str(mdp, listp[idx], in mdesc_init_n2()
375 if (md_get_prop_str(mdp, dl[i], in mdesc_init_n2()
/titanic_44/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/
H A Dpi_subr.c240 result = md_get_prop_str(mdp, mde_node, MD_STR_TYPE, &type); in pi_get_productsn()
246 result = md_get_prop_str(mdp, mde_node, MD_STR_SERIAL_NUMBER, in pi_get_productsn()
273 result = md_get_prop_str(mdp, nodes[idx], MD_STR_TYPE, &type); in pi_get_productsn()
279 result = md_get_prop_str(mdp, nodes[idx], in pi_get_productsn()
330 result = md_get_prop_str(mdp, mde_node, MD_STR_SERIAL_NUMBER, in pi_get_chassisid()
365 result = md_get_prop_str(mdp, chassis_nodes[idx], in pi_get_chassisid()
478 result = md_get_prop_str(mdp, mde_node, MD_STR_NAC, &lp); in pi_get_label()
555 result = md_get_prop_str(mdp, mde_node, MD_STR_PART_NUMBER, &part); in pi_get_part()
559 result = md_get_prop_str(mdp, mde_node, MD_STR_DASH_NUMBER, &dash); in pi_get_part()
605 result = md_get_prop_str(mdp, mde_node, MD_STR_PATH, &propbuf); in pi_get_path()
[all …]
H A Dpi_bay.c446 rv = md_get_prop_str(mdp, arcp[i], MD_STR_PATH, &hba_pri_path); in pi_enum_bay()
/titanic_44/usr/src/cmd/picl/plugins/sun4v/pri/
H A Dio_dev_label.c96 if (md_get_prop_str(mdp, components[i], "type", &type) == in io_dev_addlabel()
119 if (md_get_prop_str(mdp, components[i], "nac", &nac) == -1) { in io_dev_addlabel()
127 if (md_get_prop_str(mdp, components[i], "path", &pri_path) == in io_dev_addlabel()
H A Dmem_prop_update.c246 status = md_get_prop_str(mdp, dimmlistp[i], "type", in add_bank_props()
255 if (md_get_prop_str(mdp, dimmlistp[i], "nac", in add_bank_props()
/titanic_44/usr/src/lib/fm/topo/modules/sun4v/xaui/
H A Dxaui.c354 if ((md_get_prop_str(mdp, listp[i], "type", &pstr) == 0) && in xaui_get_pri_label()
357 (md_get_prop_str(mdp, listp[i], "topo-hc-name", &pstr) in xaui_get_pri_label()
360 (md_get_prop_str(mdp, listp[i], "path", &pstr) == 0) && in xaui_get_pri_label()
365 if (md_get_prop_str(mdp, listp[i], "nac", in xaui_get_pri_label()
/titanic_44/usr/src/cmd/picl/plugins/sun4v/mdesc/
H A Ddisk_discovery.c82 if (md_get_prop_str(mdp, disklistp[x], "phys_path", in disk_discovery()
87 if (md_get_prop_str(mdp, disklistp[x], "nac_name", in disk_discovery()
/titanic_44/usr/src/common/mdesc/
H A Dmdesc_getpropstr.c34 md_get_prop_str(md_t *ptr, mde_cookie_t node, char *namep, char **strp) in md_get_prop_str() function
/titanic_44/usr/src/lib/fm/topo/modules/sun4v/hostbridge/
H A Dhb_mdesc.c108 rc = md_get_prop_str(mdp, listp[i], MD_STR_DEVICE_TYPE, &s); in hb_rc_init()
134 rc = md_get_prop_str(mdp, listp[i], MD_STR_DEVICE_TYPE, &s); in hb_rc_init()
/titanic_44/usr/src/lib/libv12n/sparc/
H A Dlibv12n.c296 if (md_get_prop_str(mdp, nodes[i], node_str_prop, &prop_str)) in v12n_scan_md_nodes()
432 if (md_get_prop_str(mdp, vdev_nodes[i], "name", &vldc_name)) in v12n_get_md_domain_name()
435 rv = (md_get_prop_str(mdp, vdev_nodes[i], in v12n_get_md_domain_name()
506 rv = !md_get_prop_str(mdp, plat_nodes[0], "uuid", uuid_strp); in v12n_get_md_uuid_str()
/titanic_44/usr/src/lib/fm/topo/modules/sun4v/cpuboard/
H A Dcpuboard.c167 if (md_get_prop_str(mdp, listp[i], "type", &pstr) == 0 && in cpuboard_get_pri_info()
189 (void) md_get_prop_str(mdp, listp[i], in cpuboard_get_pri_info()
193 (void) md_get_prop_str(mdp, listp[i], in cpuboard_get_pri_info()
196 (void) md_get_prop_str(mdp, listp[i], in cpuboard_get_pri_info()
/titanic_44/usr/src/cmd/ldmad/
H A Dldma_system.c232 if (md_get_prop_str(mdp, component_nodes[i], "type", in ldma_get_chassis_serialno()
237 if (md_get_prop_str(mdp, component_nodes[i], in ldma_get_chassis_serialno()
/titanic_44/usr/src/uts/sun4v/io/
H A Ddr_io.c206 if (md_get_prop_str(mdp, listp[i], "name", &devnm)) { in dr_io_find_node_md()
263 if (md_get_prop_str(cba->mdp, cba->node, "name", &devnm)) { in new_dev_node()
311 if (md_get_prop_str(cba->mdp, cba->node, "device-type", &devtype)) { in new_dev_node()
504 if (md_get_prop_str(mdp, pnode, "name", &pname)) { in dr_io_configure()
H A Dvlds.c1237 if (md_get_prop_str(mdp, node, VLDS_MD_REM_DOMAIN_NAME, &dom_name) in vlds_add_mdeg_port()
1304 if (md_get_prop_str(mdp, vlds_nodes[i], "name", &svc_name)) { in vlds_mdeg_init()
1327 if (md_get_prop_str(mdp, vldsnode, VLDS_MD_DOMAIN_NAME, &dom_name) in vlds_mdeg_init()
H A Dmdeg.c710 if (md_get_prop_str(md, node, prop->namep, &str) != 0) in mdeg_node_spec_match()
H A Dvcc.c2308 if (md_get_prop_str(mdp, mdep, "vcc-domain-name", &domain_name)) { in i_vcc_md_add_port()
2316 if (md_get_prop_str(mdp, mdep, "vcc-group-name", &group_name)) { in i_vcc_md_add_port()
H A Dvsw.c1536 if (md_get_prop_str(mdp, node, "name", &node_name) != 0) { in vsw_mdeg_cb()
1708 if (md_get_prop_str(mdp, listp[i], "name", &name) != 0) { in vsw_read_mdprops()
H A Dcnex.c1316 if (md_get_prop_str(mdp, listp[0], "name", &md_name) != 0) { in cnex_find_chan_dip()
H A Dvldc.c622 if (md_get_prop_str(mdp, node, "vldc-svc-name", &sname)) { in i_vldc_add_port()
/titanic_44/usr/src/uts/common/sys/
H A Dmdesc.h181 extern int md_get_prop_str(md_t *,
/titanic_44/usr/src/lib/fm/libmdesc/common/
H A Dmapfile-vers48 md_get_prop_str;
/titanic_44/usr/src/lib/fm/libldom/sparc/
H A Dldom.c356 if ((md_get_prop_str(mdp, listp[i], MD_STR_DEVICE_TYPE, &p) in get_type()
364 if ((md_get_prop_str(mdp, listp[i], MD_STR_NAME, &p) == 0) && in get_type()
/titanic_44/usr/src/uts/sun4v/os/
H A Dfillsysinfo.c1162 err = md_get_prop_str(mdp, ionodes[i], "current", &str); in plat_ioaliases_init()
1169 err = md_get_prop_str(mdp, ionodes[i], "aliases", &str); in plat_ioaliases_init()

12