Lines Matching refs:mod

57 x86pi_gen_bboard(topo_mod_t *mod, tnode_t *t_parent, int smb_id,
75 topo_mod_dprintf(mod, "%s\n", f);
77 shp = topo_mod_smbios(mod);
79 topo_mod_dprintf(mod, "%s: failed to load SMBIOS\n", f);
86 topo_mod_dprintf(mod, "%s: smbios_info_bboard() failed\n", f);
92 topo_mod_dprintf(mod, "%s: base board (%d) does not belong to "
110 bb_hcfmri.serial_number = x86pi_cleanup_smbios_str(mod,
112 bb_hcfmri.version = x86pi_cleanup_smbios_str(mod, ip.smbi_version, 0);
114 bb_hcfmri.part_number = x86pi_cleanup_smbios_str(mod,
116 bb_hcfmri.location = x86pi_cleanup_smbios_str(mod, ip.smbi_location, 0);
158 bb_hcfmri.hc_name = topo_mod_strdup(mod, bbnp->name);
160 bb_hcfmri.hc_name = topo_mod_strdup(mod, "NULL");
162 topo_mod_dprintf(mod, "%s: S/N (%s)\n", f, bb_hcfmri.serial_number);
163 topo_mod_dprintf(mod, "%s: version/N (%s)\n", f, bb_hcfmri.version);
164 topo_mod_dprintf(mod, "%s: Part/N (%s)\n", f, bb_hcfmri.part_number);
165 topo_mod_dprintf(mod, "%s: location (%s)\n", f, bb_hcfmri.location);
166 topo_mod_dprintf(mod, "%s: instance (%d)\n", f, bb_hcfmri.instance);
167 topo_mod_dprintf(mod, "%s: hc_name (%s)\n", f, bb_hcfmri.hc_name);
169 rv = x86pi_enum_generic(mod, &bb_hcfmri, t_parent, t_parent, &bb_node,
172 topo_mod_dprintf(mod, "%s: failed to create tnode %d\n", f,
179 topo_mod_strfree(mod, (char *)bb_hcfmri.hc_name);
182 topo_mod_strfree(mod, (char *)bb_hcfmri.part_number);
185 topo_mod_strfree(mod, (char *)bb_hcfmri.serial_number);
188 topo_mod_strfree(mod, (char *)bb_hcfmri.version);
191 topo_mod_strfree(mod, (char *)bb_hcfmri.location);
199 x86pi_bb_getchips(topo_mod_t *mod, int index, int nboards)
208 shp = topo_mod_smbios(mod);
230 x86pi_smb_strcnt(mod, smbc);
237 topo_mod_dprintf(mod, "failed to get processors"
249 x86pi_bb_topparent(topo_mod_t *mod, int index, tnode_t **pnode, id_t *psmbid)
258 shp = topo_mod_smbios(mod);
292 top_bb_smbid = x86pi_bb_topparent(mod,
304 x86pi_bb_chassis(topo_mod_t *mod, id_t bb_smbid)
310 shp = topo_mod_smbios(mod);
323 x86pi_bb_contains(topo_mod_t *mod)
333 shp = topo_mod_smbios(mod);
347 rv = x86pi_bb_chassis(mod, smb_id);
349 topo_mod_dprintf(mod, " failed to get"
362 cont_hdl = topo_mod_alloc(mod, cont_cnt *
367 topo_mod_free(mod, cont_hdl, cont_cnt *
377 topo_mod_dprintf(mod, "id %d contained handle"
392 topo_mod_free(mod, cont_hdl, cont_cnt * sizeof (id_t));