Home
last modified time | relevance | path

Searched refs:mde_node (Results 1 – 12 of 12) sorted by relevance

/titanic_50/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/
H A Dpi_pciexrc.c66 pi_enum_pciexrc(topo_mod_t *mod, md_t *mdp, mde_cookie_t mde_node, in pi_enum_pciexrc() argument
73 _ENUM_NAME, (uint64_t)mde_node, hc_name); in pi_enum_pciexrc()
81 result = pi_enum_generic_impl(mod, mdp, mde_node, inst, t_parent, in pi_enum_pciexrc()
86 _ENUM_NAME, (uint64_t)mde_node, in pi_enum_pciexrc()
92 result = pi_enum_update(mod, mdp, mde_node, t_parent, *t_node, in pi_enum_pciexrc()
97 _ENUM_NAME, (uint64_t)mde_node, in pi_enum_pciexrc()
102 result = pi_enum_pciexrc_finddev(mod, mdp, mde_node, *t_node); in pi_enum_pciexrc()
110 result = pi_defer_add(mod, mde_node, t_parent, *t_node, in pi_enum_pciexrc()
114 result = pi_enum_pciexrc_defer(mod, mdp, mde_node, inst, in pi_enum_pciexrc()
126 _ENUM_NAME, (uint64_t)mde_node, hc_name); in pi_enum_pciexrc()
[all …]
H A Dpi_walker.c109 mde_cookie_t mde_node; /* Child MDE node index */ member
196 mde_cookie_t mde_node, mde_str_cookie_t component_cookie, in pi_walker() argument
211 mde_node); in pi_walker()
225 result = pi_walkerlist_add(mod, t_parent, mde_node); in pi_walker()
261 result = md_walk_dag(pip->mdp, mde_node, component_cookie, arc_cookie, in pi_walker()
295 topo_mod_dprintf(mod, "walker done with node_0x%llx\n", mde_node); in pi_walker()
315 pi_walker_node(md_t *mdp, mde_cookie_t parent_mde_node, mde_cookie_t mde_node, in pi_walker_node() argument
335 (uint64_t)mde_node, (uint64_t)parent_mde_node); in pi_walker_node()
338 skip = pi_skip_node(mod, pip->mdp, mde_node); in pi_walker_node()
342 (uint64_t)mde_node); in pi_walker_node()
[all …]
H A Dpi_defer.c53 mde_cookie_t mde_node; /* MDE node index */ member
71 pi_defer_add(topo_mod_t *mod, mde_cookie_t mde_node, tnode_t *t_parent, in pi_defer_add() argument
97 dnp->mde_node = mde_node; in pi_defer_add()
122 mde_cookie_t mde_node; in pi_defer_exec() local
139 mde_node = dp->mde_node; in pi_defer_exec()
154 if (pi_get_instance(mod, mdp, mde_node, &inst) != 0) { in pi_defer_exec()
156 (uint64_t)mde_node); in pi_defer_exec()
164 hc_name = pi_get_topo_hc_name(mod, mdp, mde_node); in pi_defer_exec()
168 (uint64_t)mde_node); in pi_defer_exec()
176 (uint64_t)mde_node); in pi_defer_exec()
[all …]
H A Dpi_subr.c116 pi_skip_node(topo_mod_t *mod, md_t *mdp, mde_cookie_t mde_node) in pi_skip_node() argument
130 result = md_get_prop_val(mdp, mde_node, MD_STR_TOPO_SKIP, &skip); in pi_skip_node()
228 pi_get_productsn(topo_mod_t *mod, md_t *mdp, mde_cookie_t mde_node) in pi_get_productsn() argument
240 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()
310 pi_get_chassisid(topo_mod_t *mod, md_t *mdp, mde_cookie_t mde_node) in pi_get_chassisid() argument
322 hc_name = pi_get_topo_hc_name(mod, mdp, mde_node); in pi_get_chassisid()
330 result = md_get_prop_str(mdp, mde_node, MD_STR_SERIAL_NUMBER, in pi_get_chassisid()
396 pi_get_fru(topo_mod_t *mod, md_t *mdp, mde_cookie_t mde_node, int *is_fru) in pi_get_fru() argument
407 result = md_get_prop_val(mdp, mde_node, MD_STR_FRU, &fru); in pi_get_fru()
[all …]
H A Dpi_generic.c43 pi_enum_generic(topo_mod_t *mod, md_t *mdp, mde_cookie_t mde_node, in pi_enum_generic() argument
54 result = pi_enum_generic_impl(mod, mdp, mde_node, inst, t_parent, in pi_enum_generic()
66 pi_enum_generic_impl(topo_mod_t *mod, md_t *mdp, mde_cookie_t mde_node, in pi_enum_generic_impl() argument
76 enum_name, (uint64_t)mde_node, hc_name); in pi_enum_generic_impl()
81 enum_name, (uint64_t)mde_node, hc_name); in pi_enum_generic_impl()
88 serial = pi_get_serial(mod, mdp, mde_node); in pi_enum_generic_impl()
100 (uint64_t)mde_node, topo_strerror(topo_mod_errno(mod))); in pi_enum_generic_impl()
105 *t_node = pi_node_bind(mod, mdp, mde_node, t_bindparent, hc_name, inst, in pi_enum_generic_impl()
111 enum_name, (uint64_t)mde_node, (uint32_t)inst, in pi_enum_generic_impl()
122 (uint64_t)mde_node, hc_name); in pi_enum_generic_impl()
[all …]
H A Dpi_cpu.c48 pi_enum_cpu(topo_mod_t *mod, md_t *mdp, mde_cookie_t mde_node, in pi_enum_cpu() argument
64 result = pi_enum_generic_impl(mod, mdp, mde_node, inst, t_parent, in pi_enum_cpu()
80 _ENUM_NAME, (uint64_t)mde_node, topo_strerror(err)); in pi_enum_cpu()
96 result = pi_enum_cpu_serial(mod, mdp, mde_node, &serial); in pi_enum_cpu()
100 _ENUM_NAME, (uint64_t)mde_node); in pi_enum_cpu()
114 _ENUM_NAME, (uint64_t)mde_node, in pi_enum_cpu()
126 (uint64_t)mde_node, topo_strerror(err)); in pi_enum_cpu()
135 pi_enum_cpu_serial(topo_mod_t *mod, md_t *mdp, mde_cookie_t mde_node, in pi_enum_cpu_serial() argument
154 result = md_walk_dag(mdp, mde_node, component_cookie, back_cookie, in pi_enum_cpu_serial()
165 mde_cookie_t mde_node, void *private) in pi_enum_cpu_serial_cb() argument
[all …]
H A Dpi_hostbridge.c44 pi_enum_hostbridge(topo_mod_t *mod, md_t *mdp, mde_cookie_t mde_node, in pi_enum_hostbridge() argument
51 _ENUM_NAME, (uint64_t)mde_node, hc_name); in pi_enum_hostbridge()
59 result = pi_enum_generic_impl(mod, mdp, mde_node, inst, t_parent, in pi_enum_hostbridge()
64 _ENUM_NAME, (uint64_t)mde_node, in pi_enum_hostbridge()
70 result = pi_enum_update(mod, mdp, mde_node, t_parent, *t_node, in pi_enum_hostbridge()
75 _ENUM_NAME, (uint64_t)mde_node, in pi_enum_hostbridge()
81 _ENUM_NAME, (uint64_t)mde_node, hc_name); in pi_enum_hostbridge()
H A Dpi_bay.c354 pi_enum_bay(topo_mod_t *mod, md_t *mdp, mde_cookie_t mde_node, in pi_enum_bay() argument
368 nphy = pi_get_priphy(mod, mdp, mde_node, phy); in pi_enum_bay()
371 _ENUM_NAME, (uint64_t)mde_node); in pi_enum_bay()
378 _ENUM_NAME, (uint64_t)mde_node); in pi_enum_bay()
383 rv = pi_get_priphy(mod, mdp, mde_node, phy); in pi_enum_bay()
386 _ENUM_NAME, (uint64_t)mde_node); in pi_enum_bay()
390 mde_node, *phy); in pi_enum_bay()
393 num_arcs = md_get_prop_arcs(mdp, mde_node, MD_STR_BACK, NULL, 0); in pi_enum_bay()
396 _ENUM_NAME, (uint64_t)mde_node); in pi_enum_bay()
400 _ENUM_NAME, mde_node, num_arcs); in pi_enum_bay()
[all …]
H A Dpi_niu.c44 pi_enum_niu(topo_mod_t *mod, md_t *mdp, mde_cookie_t mde_node, in pi_enum_niu() argument
54 (uint64_t)mde_node); in pi_enum_niu()
71 (uint64_t)mde_node, topo_strerror(topo_mod_errno(mod))); in pi_enum_niu()
76 _ENUM_NAME, (uint64_t)mde_node, hc_name); in pi_enum_niu()
H A Dpi_mem.c40 pi_enum_mem(topo_mod_t *mod, md_t *mdp, mde_cookie_t mde_node, in pi_enum_mem() argument
56 result = pi_enum_generic_impl(mod, mdp, mde_node, inst, t_parent, in pi_enum_mem()
70 _ENUM_NAME, (uint64_t)mde_node, topo_strerror(err)); in pi_enum_mem()
80 (uint64_t)mde_node, topo_strerror(err)); in pi_enum_mem()
H A Dpi_top.c46 pi_enum_top(topo_mod_t *mod, md_t *mdp, mde_cookie_t mde_node, in pi_enum_top() argument
58 result = pi_enum_generic_impl(mod, mdp, mde_node, inst, t_parent, in pi_enum_top()
H A Dsun4vpi.c222 mde_cookie_t mde_node, mde_str_cookie_t component_cookie, in pi_enum_components() argument
243 num_arcs = md_get_prop_arcs(mdp, mde_node, MD_STR_FWD, NULL, 0); in pi_enum_components()
253 (uint64_t)mde_node, num_arcs); in pi_enum_components()
263 num_arcs = md_get_prop_arcs(mdp, mde_node, MD_STR_FWD, arcp, in pi_enum_components()