Lines Matching refs:gdata

399 			    const struct acpi_hest_generic_data *gdata)  in cper_print_pcie()  argument
435 (gdata->error_severity & CPER_SEV_FATAL)) { in cper_print_pcie()
456 struct acpi_hest_generic_data *gdata, in cper_print_fw_err() argument
459 void *buf = acpi_hest_get_payload(gdata); in cper_print_fw_err()
460 u32 offset, length = gdata->error_data_length; in cper_print_fw_err()
502 struct acpi_hest_generic_data_v300 *gdata) in cper_print_tstamp() argument
506 if (gdata->validation_bits & ACPI_HEST_GEN_VALID_TIMESTAMP) { in cper_print_tstamp()
507 timestamp = (__u8 *)&(gdata->time_stamp); in cper_print_tstamp()
523 cper_estatus_print_section(const char *pfx, struct acpi_hest_generic_data *gdata, in cper_estatus_print_section() argument
526 guid_t *sec_type = (guid_t *)gdata->section_type; in cper_estatus_print_section()
530 if (acpi_hest_get_version(gdata) >= 3) in cper_estatus_print_section()
531 cper_print_tstamp(pfx, (struct acpi_hest_generic_data_v300 *)gdata); in cper_estatus_print_section()
533 severity = gdata->error_severity; in cper_estatus_print_section()
536 if (gdata->validation_bits & CPER_SEC_VALID_FRU_ID) in cper_estatus_print_section()
537 printk("%s""fru_id: %pUl\n", pfx, gdata->fru_id); in cper_estatus_print_section()
538 if (gdata->validation_bits & CPER_SEC_VALID_FRU_TEXT) in cper_estatus_print_section()
539 printk("%s""fru_text: %.20s\n", pfx, gdata->fru_text); in cper_estatus_print_section()
543 struct cper_sec_proc_generic *proc_err = acpi_hest_get_payload(gdata); in cper_estatus_print_section()
546 if (gdata->error_data_length >= sizeof(*proc_err)) in cper_estatus_print_section()
551 struct cper_sec_mem_err *mem_err = acpi_hest_get_payload(gdata); in cper_estatus_print_section()
554 if (gdata->error_data_length >= in cper_estatus_print_section()
557 gdata->error_data_length); in cper_estatus_print_section()
561 struct cper_sec_pcie *pcie = acpi_hest_get_payload(gdata); in cper_estatus_print_section()
564 if (gdata->error_data_length >= sizeof(*pcie)) in cper_estatus_print_section()
565 cper_print_pcie(newpfx, pcie, gdata); in cper_estatus_print_section()
570 struct cper_sec_proc_arm *arm_err = acpi_hest_get_payload(gdata); in cper_estatus_print_section()
573 if (gdata->error_data_length >= sizeof(*arm_err)) in cper_estatus_print_section()
580 struct cper_sec_proc_ia *ia_err = acpi_hest_get_payload(gdata); in cper_estatus_print_section()
583 if (gdata->error_data_length >= sizeof(*ia_err)) in cper_estatus_print_section()
589 struct cper_sec_fw_err_rec_ref *fw_err = acpi_hest_get_payload(gdata); in cper_estatus_print_section()
594 if (gdata->error_data_length >= SZ_16) in cper_estatus_print_section()
595 cper_print_fw_err(newpfx, gdata, fw_err); in cper_estatus_print_section()
599 const void *err = acpi_hest_get_payload(gdata); in cper_estatus_print_section()
603 gdata->error_data_length); in cper_estatus_print_section()
605 gdata->error_data_length, true); in cper_estatus_print_section()
617 struct acpi_hest_generic_data *gdata; in cper_estatus_print() local
630 apei_estatus_for_each_section(estatus, gdata) { in cper_estatus_print()
631 cper_estatus_print_section(newpfx, gdata, sec_no); in cper_estatus_print()
652 struct acpi_hest_generic_data *gdata; in cper_estatus_check() local
662 apei_estatus_for_each_section(estatus, gdata) { in cper_estatus_check()
663 if (acpi_hest_get_size(gdata) > data_len) in cper_estatus_check()
666 record_size = acpi_hest_get_record_size(gdata); in cper_estatus_check()