Lines Matching refs:shp

103 	smbios_hdl_t *shp;  in extdimmslot_to_dimmslot()  local
105 shp = topo_mod_smbios(mod); in extdimmslot_to_dimmslot()
106 if (shp == NULL) in extdimmslot_to_dimmslot()
111 if (smbios_info_extmemdevice(shp, dimmsmb[i].extdimm_id, in extdimmslot_to_dimmslot()
124 if (smbios_info_extmemdevice_cs(shp, in extdimmslot_to_dimmslot()
134 smbios_info_extmemdevice_cs_free(shp, in extdimmslot_to_dimmslot()
139 smbios_info_extmemdevice_cs_free(shp, ncs, cs); in extdimmslot_to_dimmslot()
147 if (smbios_info_extmemdevice(shp, in extdimmslot_to_dimmslot()
152 (void) smbios_info_memdevice(shp, in extdimmslot_to_dimmslot()
168 if (smbios_info_extmemdevice_cs(shp, in extdimmslot_to_dimmslot()
178 smbios_info_extmemdevice_cs_free(shp, in extdimmslot_to_dimmslot()
182 smbios_info_extmemdevice_cs_free(shp, ncs, cs); in extdimmslot_to_dimmslot()
253 smbios_hdl_t *shp; in chip_get_smbstruct() local
255 shp = topo_mod_smbios(mod); in chip_get_smbstruct()
256 if (shp == NULL) in chip_get_smbstruct()
268 if (shp != NULL) { in chip_get_smbstruct()
269 if (smbios_info_extmemarray(shp, in chip_get_smbstruct()
295 if (shp != NULL) { in chip_get_smbstruct()
296 if (smbios_info_memdevice(shp, in chip_get_smbstruct()
309 if (smbios_info_extmemdevice(shp, in chip_get_smbstruct()
332 if (shp != NULL) { in chip_get_smbstruct()
333 if (smbios_info_processor(shp, in chip_get_smbstruct()
349 if (smbios_info_extprocessor(shp, in chip_get_smbstruct()
380 smbios_hdl_t *shp; in chip_smbios_iterate() local
382 shp = topo_mod_smbios(mod); in chip_smbios_iterate()
383 if (shp == NULL) in chip_smbios_iterate()
386 sp = shp->sh_structs; in chip_smbios_iterate()
387 for (i = 0; i < shp->sh_nstructs; i++, sp++) { in chip_smbios_iterate()
542 smbios_hdl_t *shp; in chip_label_smbios_get() local
544 shp = topo_mod_smbios(mod); in chip_label_smbios_get()
545 if (shp != NULL) { in chip_label_smbios_get()
564 if (smbios_info_common(shp, smb_id, &c) != SMB_ERR) { in chip_label_smbios_get()
629 smbios_hdl_t *shp; in chip_serial_smbios_get() local
631 shp = topo_mod_smbios(mod); in chip_serial_smbios_get()
632 if (shp != NULL && smb_id != -1) in chip_serial_smbios_get()
633 if (smbios_info_common(shp, smb_id, &c) != SMB_ERR) { in chip_serial_smbios_get()
649 smbios_hdl_t *shp; in chip_part_smbios_get() local
651 shp = topo_mod_smbios(mod); in chip_part_smbios_get()
652 if (shp != NULL && smb_id != -1) in chip_part_smbios_get()
653 if (smbios_info_common(shp, smb_id, &c) != SMB_ERR) { in chip_part_smbios_get()
668 smbios_hdl_t *shp; in chip_rev_smbios_get() local
670 shp = topo_mod_smbios(mod); in chip_rev_smbios_get()
671 if (shp != NULL && smb_id != -1) in chip_rev_smbios_get()
672 if (smbios_info_common(shp, smb_id, &c) != SMB_ERR) { in chip_rev_smbios_get()