Lines Matching defs:ip
247 smbios_info_common(smbios_hdl_t *shp, id_t id, smbios_info_t *ip)
261 ip->smbi_manufacturer = smb_info_strptr(stp, isp->is_manu, &n);
262 ip->smbi_product = smb_info_strptr(stp, isp->is_product, &n);
263 ip->smbi_version = smb_info_strptr(stp, isp->is_version, &n);
264 ip->smbi_serial = smb_info_strptr(stp, isp->is_serial, &n);
265 ip->smbi_asset = smb_info_strptr(stp, isp->is_asset, &n);
266 ip->smbi_location = smb_info_strptr(stp, isp->is_location, &n);
267 ip->smbi_part = smb_info_strptr(stp, isp->is_part, &n);
287 ip->smbi_product = smbios_product_override;
295 if (isp->is_type == SMB_TYPE_PORT && ip->smbi_location[0] == '\0') {
296 ip->smbi_location = smb_info_strptr(stp,
1094 smbios_info_ipmi(smbios_hdl_t *shp, smbios_ipmi_t *ip)
1103 bzero(ip, sizeof (smbios_ipmi_t));
1105 ip->smbip_type = i.smbipm_type;
1106 ip->smbip_vers.smbv_major = SMB_IPM_SPEC_MAJOR(i.smbipm_spec);
1107 ip->smbip_vers.smbv_minor = SMB_IPM_SPEC_MINOR(i.smbipm_spec);
1108 ip->smbip_i2c = i.smbipm_i2c;
1109 ip->smbip_addr = i.smbipm_addr & ~SMB_IPM_ADDR_IO;
1110 ip->smbip_intr = i.smbipm_intr;
1113 ip->smbip_bus = i.smbipm_bus;
1115 ip->smbip_bus = -1u;
1118 ip->smbip_addr |= 1; /* turn on least-significant bit of addr */
1123 ip->smbip_regspacing = 1;
1126 ip->smbip_regspacing = 4;
1129 ip->smbip_regspacing = 16;
1132 ip->smbip_regspacing = 1;
1134 ip->smbip_flags |= SMB_IPMI_F_IOADDR;
1138 ip->smbip_flags |= SMB_IPMI_F_INTRSPEC;
1141 ip->smbip_flags |= SMB_IPMI_F_INTRHIGH;
1144 ip->smbip_flags |= SMB_IPMI_F_INTREDGE;
1536 smb_iprobe_t ip;
1548 smb_info_bcopy(sip->smbst_hdr, &ip, sizeof (ip));
1549 iprobe->smbip_description = smb_strptr(sip, ip.smbipr_descr);
1550 iprobe->smbip_location = SMB_IPROBE_LOCATION(ip.smbipr_locstat);
1551 iprobe->smbip_status = SMB_IPROBE_STATUS(ip.smbipr_locstat);
1552 iprobe->smbip_maxval = ip.smbipr_maxval;
1553 iprobe->smbip_minval = ip.smbipr_minval;
1554 iprobe->smbip_resolution = ip.smbipr_resolution;
1555 iprobe->smbip_tolerance = ip.smbipr_tolerance;
1556 iprobe->smbip_accuracy = ip.smbipr_accuracy;
1559 iprobe->smbip_nominal = ip.smbipr_nominal;