Lines Matching refs:mod

44 x86pi_enum_generic(topo_mod_t *mod, x86pi_hcfmri_t *hcfmri,
53 topo_mod_dprintf(mod, "%s adding entry for type (%s)\n",
57 topo_mod_dprintf(mod,
64 auth = topo_mod_auth(mod, t_bindparent);
65 fmri = topo_mod_hcfmri(mod, t_fmriparent, FM_HC_SCHEME_VERSION,
72 topo_mod_dprintf(mod,
74 hcfmri->hc_name, topo_strerror(topo_mod_errno(mod)));
78 rv = topo_node_range_create(mod, t_bindparent, hcfmri->hc_name, 0, 4);
79 if (rv != 0 && topo_mod_errno(mod) != EMOD_NODE_DUP) {
80 topo_mod_dprintf(mod, "%s range create failed for node %s\n",
85 *t_node = x86pi_node_bind(mod, t_bindparent, hcfmri, fmri, flag);
88 topo_mod_dprintf(mod,
91 topo_strerror(topo_mod_errno(mod)));
96 if (topo_mod_load(mod, _FAC_PROV, TOPO_VERSION) == NULL) {
97 topo_mod_dprintf(mod,
99 topo_mod_errmsg(mod));
103 rv = topo_mod_enumerate(mod, *t_node, _FAC_PROV, _FAC_PROV, 0, 0, NULL);
105 topo_mod_dprintf(mod,
107 topo_mod_errmsg(mod));
116 topo_mod_dprintf(mod,
123 topo_mod_dprintf(mod, "%s added (%s) node\n", _ENUM_NAME,
131 x86pi_node_bind(topo_mod_t *mod, tnode_t *t_parent, x86pi_hcfmri_t *hcfmri,
139 topo_mod_dprintf(mod,
146 t_node = topo_node_bind(mod, t_parent, hcfmri->hc_name,
149 topo_mod_dprintf(mod,
152 topo_strerror(topo_mod_errno(mod)));
155 topo_mod_dprintf(mod, "%s: bound %s node instance %d type %s\n",
162 result = x86pi_set_frufmri(mod, hcfmri, t_parent, t_node, flag);
169 topo_mod_dprintf(mod,
174 result = x86pi_set_label(mod, hcfmri->location, hcfmri->hc_name,
182 topo_mod_dprintf(mod, "%s: no label for %s node\n",
186 result = x86pi_set_auth(mod, hcfmri, t_parent, t_node);
193 topo_mod_dprintf(mod,
198 result = x86pi_set_system(mod, t_node);
205 topo_mod_dprintf(mod,