Searched refs:t_node (Results 1 - 14 of 14) sorted by relevance

/osnet-11/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/common/
H A Dpi_mem.c41 tnode_t **t_node)
47 *t_node = NULL;
56 t_parent, hc_name, _ENUM_NAME, t_node, SUN4VPI_ENUM_ADD_SERIAL);
65 result = topo_node_resource(*t_node, &rsrc, &err);
74 result = topo_node_asru_set(*t_node, rsrc, TOPO_ASRU_COMPUTE, &err);
39 pi_enum_mem(topo_mod_t *mod, md_t *mdp, mde_cookie_t mde_node, topo_instance_t inst, tnode_t *t_parent, const char *hc_name, tnode_t **t_node) argument
H A Dpi_hostbridge.c45 tnode_t **t_node)
52 *t_node = NULL;
59 t_parent, hc_name, _ENUM_NAME, t_node, 0);
60 if (result != 0 || *t_node == NULL) {
69 result = pi_enum_update(mod, mdp, mde_node, t_parent, *t_node,
43 pi_enum_hostbridge(topo_mod_t *mod, md_t *mdp, mde_cookie_t mde_node, topo_instance_t inst, tnode_t *t_parent, const char *hc_name, tnode_t **t_node) argument
H A Dpi_top.c47 tnode_t **t_node)
58 NULL, hc_name, _ENUM_NAME, t_node, 0);
45 pi_enum_top(topo_mod_t *mod, md_t *mdp, mde_cookie_t mde_node, topo_instance_t inst, tnode_t *t_parent, const char *hc_name, tnode_t **t_node) argument
H A Dpi_pciexrc.c67 tnode_t **t_node)
74 *t_node = NULL;
81 t_parent, hc_name, _ENUM_NAME, t_node, 0);
82 if (result != 0 || *t_node == NULL) {
91 result = pi_enum_update(mod, mdp, mde_node, t_parent, *t_node,
101 result = pi_enum_pciexrc_finddev(mod, mdp, mde_node, *t_node);
109 result = pi_defer_add(mod, mde_node, t_parent, *t_node,
114 t_parent, hc_name, *t_node, NULL);
135 tnode_t *t_node, void *private)
155 result = topo_node_range_create(mod, t_node, PCI_BU
65 pi_enum_pciexrc(topo_mod_t *mod, md_t *mdp, mde_cookie_t mde_node, topo_instance_t inst, tnode_t *t_parent, const char *hc_name, tnode_t **t_node) argument
133 pi_enum_pciexrc_defer(topo_mod_t *mod, md_t *mdp, mde_cookie_t mde_node, topo_instance_t inst, tnode_t *t_parent, const char *hc_name, tnode_t *t_node, void *private) argument
189 pi_enum_update(topo_mod_t *mod, md_t *mdp, mde_cookie_t mde_node, tnode_t *t_parent, tnode_t *t_node, const char *hc_name) argument
418 pi_enum_pciexrc_finddev(topo_mod_t *mod, md_t *mdp, mde_cookie_t mde_node, tnode_t *t_node) argument
[all...]
H A Dpi_generic.c44 tnode_t **t_node)
54 t_parent, hc_name, _ENUM_NAME, t_node, SUN4VPI_ENUM_ADD_SERIAL);
67 const char *hc_name, const char *enum_name, tnode_t **t_node, int flag)
104 *t_node = pi_node_bind(mod, mdp, mde_node, t_bindparent, hc_name, inst,
107 if (*t_node == NULL) {
117 topo_method_register(mod, *t_node,
42 pi_enum_generic(topo_mod_t *mod, md_t *mdp, mde_cookie_t mde_node, topo_instance_t inst, tnode_t *t_parent, const char *hc_name, tnode_t **t_node) argument
65 pi_enum_generic_impl(topo_mod_t *mod, md_t *mdp, mde_cookie_t mde_node, topo_instance_t inst, tnode_t *t_bindparent, tnode_t *t_fmriparent, const char *hc_name, const char *enum_name, tnode_t **t_node, int flag) argument
H A Dpi_defer.c54 tnode_t *t_node; /* Topo node associated with MDE node */ member in struct:pi_defernode_s
71 tnode_t *t_node, pi_deferenum_fn_t func, void *private)
98 dnp->t_node = t_node;
123 tnode_t *t_node; local
140 t_node = dp->t_node;
179 t_node, private);
70 pi_defer_add(topo_mod_t *mod, mde_cookie_t mde_node, tnode_t *t_parent, tnode_t *t_node, pi_deferenum_fn_t func, void *private) argument
H A Dpi_niu.c43 tnode_t **t_node)
47 *t_node = NULL;
41 pi_enum_niu(topo_mod_t *mod, md_t *mdp, mde_cookie_t mde_node, topo_instance_t inst, tnode_t *t_parent, const char *hc_name, tnode_t **t_node) argument
H A Dpi_bay.c127 pi_bay_pgroups(topo_mod_t *mod, tnode_t *t_node, di_node_t cnode, argument
137 rv = topo_pgroup_create(t_node, &io_pgroup, &err);
169 rv = topo_prop_set_string(t_node, TOPO_PGROUP_IO, TOPO_IO_AP_PATH,
181 rv = topo_pgroup_create(t_node, &binding_pgroup, &err);
205 rv = topo_prop_set_string(t_node, TOPO_PGROUP_BINDING,
215 if (topo_mod_set_ch_alias(mod, t_node, oc_path) != 0) {
240 (void) topo_mod_set_ch_alias(mod, t_node,
383 pi_bay_update_node(topo_mod_t *mod, tnode_t *t_node, di_node_t dnode, argument
422 rv = pi_bay_pgroups(mod, t_node, sib, minor);
437 tnode_t **t_node)
435 pi_enum_bay(topo_mod_t *mod, md_t *mdp, mde_cookie_t mde_node, topo_instance_t inst, tnode_t *t_parent, const char *hc_name, tnode_t **t_node) argument
[all...]
H A Dpi_cpu.c49 tnode_t **t_node)
57 *t_node = NULL;
64 t_parent, hc_name, _ENUM_NAME, t_node, SUN4VPI_ENUM_ADD_SERIAL);
75 result = topo_node_resource(*t_node, &asru, &err);
82 result = topo_node_asru_set(*t_node, asru, TOPO_ASRU_COMPUTE,
128 result = topo_node_asru_set(*t_node, asru, 0, &err);
47 pi_enum_cpu(topo_mod_t *mod, md_t *mdp, mde_cookie_t mde_node, topo_instance_t inst, tnode_t *t_parent, const char *hc_name, tnode_t **t_node) argument
H A Dpi_subr.c1040 tnode_t *t_parent, tnode_t *t_node)
1046 if (mod == NULL || mdp == NULL || t_parent == NULL || t_node == NULL) {
1050 if ((topo_pgroup_create(t_node, &auth_pgroup, &err) != 0) &&
1067 result = topo_node_set_auth_chassis(mod, auth, t_node);
1086 const char *name, topo_instance_t inst, tnode_t *t_parent, tnode_t *t_node)
1097 if (t_node == NULL || mod == NULL || mdp == NULL) {
1107 (void) topo_node_fru_set(t_node, NULL, 0, &result);
1130 result = topo_node_fru_set(t_node, frufmri, 0, &err);
1141 pi_set_label(topo_mod_t *mod, md_t *mdp, mde_cookie_t mde_node, tnode_t *t_node) argument
1157 result = topo_node_label_set(t_node, labe
1039 pi_set_auth(topo_mod_t *mod, md_t *mdp, mde_cookie_t mde_node, tnode_t *t_parent, tnode_t *t_node) argument
1085 pi_set_frufmri(topo_mod_t *mod, md_t *mdp, mde_cookie_t mde_node, const char *name, topo_instance_t inst, tnode_t *t_parent, tnode_t *t_node) argument
1175 pi_set_system(topo_mod_t *mod, tnode_t *t_node) argument
1485 tnode_t *t_node; local
[all...]
H A Dpi_walker.c326 tnode_t *t_node; /* topo parent to this md node */ local
391 t_node = NULL;
393 &t_node);
394 if (result != MDE_WALK_NEXT || t_node == NULL) {
409 result = pi_walker_node_range(mod, mdp, t_node, mde_node);
420 tnode_t *t_parent, topo_instance_t inst, tnode_t **t_node)
463 *t_node = NULL;
464 result = (func)(mod, mdp, mde_node, inst, t_parent, hc_name, t_node);
489 result = topo_mod_enumerate(mod, *t_node, SES,
419 pi_walker_node_create(topo_mod_t *mod, md_t *mdp, mde_cookie_t mde_node, tnode_t *t_parent, topo_instance_t inst, tnode_t **t_node) argument
/osnet-11/usr/src/lib/fm/topo/modules/i86pc/x86pi/common/
H A Dx86pi_generic.c44 tnode_t *t_bindparent, tnode_t *t_fmriparent, tnode_t **t_node, int flag)
84 *t_node = x86pi_node_bind(mod, t_bindparent, hcfmri, fmri, flag);
86 if (*t_node == NULL) {
102 rv = topo_mod_enumerate(mod, *t_node, _FAC_PROV, _FAC_PROV, 0, 0, NULL);
111 if (topo_method_supported(*t_node, TOPO_METH_FAC_ENUM, 0)) {
112 if (topo_method_invoke(*t_node, TOPO_METH_FAC_ENUM, 0, NULL,
123 topo_node_name(*t_node));
134 tnode_t *t_node; local
145 t_node = topo_node_bind(mod, t_parent, hcfmri->hc_name,
147 if (t_node
43 x86pi_enum_generic(topo_mod_t *mod, x86pi_hcfmri_t *hcfmri, tnode_t *t_bindparent, tnode_t *t_fmriparent, tnode_t **t_node, int flag) argument
[all...]
H A Dx86pi_subr.c151 tnode_t *t_node)
160 if (mod == NULL || t_parent == NULL || t_node == NULL) {
164 if ((topo_pgroup_create(t_node, &auth_pgroup, &err) != 0) &&
196 result = topo_node_set_auth_chassis(mod, auth, t_node);
215 tnode_t *t_node, int flag)
223 if (t_node == NULL || mod == NULL) {
232 (void) topo_node_fru_set(t_node, NULL, 0, &result);
250 result = topo_node_fru_set(t_node, frufmri, 0, &err);
265 tnode_t *t_node)
279 result = topo_node_label_set(t_node, (cha
150 x86pi_set_auth(topo_mod_t *mod, x86pi_hcfmri_t *hcfmri, tnode_t *t_parent, tnode_t *t_node) argument
214 x86pi_set_frufmri(topo_mod_t *mod, x86pi_hcfmri_t *hcfmri, tnode_t *t_parent, tnode_t *t_node, int flag) argument
264 x86pi_set_label(topo_mod_t *mod, const char *label, const char *name, tnode_t *t_node) argument
296 x86pi_set_system(topo_mod_t *mod, tnode_t *t_node) argument
[all...]
/osnet-11/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_node.c594 topo_node_set_auth_chassis(topo_mod_t *mod, nvlist_t *auth, tnode_t *t_node) argument
609 result = topo_prop_inherit(t_node, FM_FMRI_AUTHORITY,
620 result = topo_prop_set_string(t_node,

Completed in 60 milliseconds