Lines Matching refs:vpd
1548 struct ipr_vpd *vpd) in ipr_log_vpd_compact() argument
1553 memcpy(buffer, vpd->vpids.vendor_id, IPR_VENDOR_ID_LEN); in ipr_log_vpd_compact()
1556 memcpy(&buffer[i], vpd->vpids.product_id, IPR_PROD_ID_LEN); in ipr_log_vpd_compact()
1559 memcpy(&buffer[i], vpd->sn, IPR_SERIAL_NUM_LEN); in ipr_log_vpd_compact()
1572 static void ipr_log_vpd(struct ipr_vpd *vpd) in ipr_log_vpd() argument
1577 memcpy(buffer, vpd->vpids.vendor_id, IPR_VENDOR_ID_LEN); in ipr_log_vpd()
1578 memcpy(buffer + IPR_VENDOR_ID_LEN, vpd->vpids.product_id, in ipr_log_vpd()
1583 memcpy(buffer, vpd->sn, IPR_SERIAL_NUM_LEN); in ipr_log_vpd()
1598 struct ipr_ext_vpd *vpd) in ipr_log_ext_vpd_compact() argument
1600 ipr_log_vpd_compact(prefix, hostrcb, &vpd->vpd); in ipr_log_ext_vpd_compact()
1602 be32_to_cpu(vpd->wwid[0]), be32_to_cpu(vpd->wwid[1])); in ipr_log_ext_vpd_compact()
1612 static void ipr_log_ext_vpd(struct ipr_ext_vpd *vpd) in ipr_log_ext_vpd() argument
1614 ipr_log_vpd(&vpd->vpd); in ipr_log_ext_vpd()
1615 ipr_err(" WWN: %08X%08X\n", be32_to_cpu(vpd->wwid[0]), in ipr_log_ext_vpd()
1616 be32_to_cpu(vpd->wwid[1])); in ipr_log_ext_vpd()
1714 ipr_log_ext_vpd(&dev_entry->vpd); in ipr_log_enhanced_config_error()
1757 ipr_log_ext_vpd(&dev_entry->vpd); in ipr_log_sis64_config_error()
1797 ipr_log_vpd(&dev_entry->vpd); in ipr_log_config_error()
1851 if (!memcmp(array_entry->vpd.vpd.sn, zero_sn, IPR_SERIAL_NUM_LEN)) in ipr_log_enhanced_array_error()
1859 ipr_log_ext_vpd(&array_entry->vpd); in ipr_log_enhanced_array_error()
1900 if (!memcmp(array_entry->vpd.sn, zero_sn, IPR_SERIAL_NUM_LEN)) in ipr_log_array_error()
1908 ipr_log_vpd(&array_entry->vpd); in ipr_log_array_error()
1974 ipr_log_ext_vpd_compact("Remote IOA", hostrcb, &error->vpd); in ipr_log_enhanced_dual_ioa_error()
2000 ipr_log_vpd_compact("Remote IOA", hostrcb, &error->vpd); in ipr_log_dual_ioa_error()
2339 if (!memcmp(array_entry->vpd.vpd.sn, zero_sn, IPR_SERIAL_NUM_LEN)) in ipr_log_sis64_array_error()
2348 ipr_log_ext_vpd(&array_entry->vpd); in ipr_log_sis64_array_error()