Searched refs:hest_hdr (Results 1 – 5 of 5) sorted by relevance
52 static int hest_esrc_len(struct acpi_hest_header *hest_hdr) in hest_esrc_len() argument54 u16 hest_type = hest_hdr->type; in hest_esrc_len()64 cmc = (struct acpi_hest_ia_corrected *)hest_hdr; in hest_esrc_len()69 mc = (struct acpi_hest_ia_machine_check *)hest_hdr; in hest_esrc_len()74 mc = (struct acpi_hest_ia_deferred_check *)hest_hdr; in hest_esrc_len()85 struct acpi_hest_header *hest_hdr; in apei_hest_parse() local91 hest_hdr = (struct acpi_hest_header *)(hest_tab + 1); in apei_hest_parse()93 len = hest_esrc_len(hest_hdr); in apei_hest_parse()98 hest_hdr->type, hest_hdr->source_id); in apei_hest_parse()101 if ((void *)hest_hdr + len > in apei_hest_parse()[all …]
758 int __weak arch_apei_enable_cmcff(struct acpi_hest_header *hest_hdr, in arch_apei_enable_cmcff() argument
11 int arch_apei_enable_cmcff(struct acpi_hest_header *hest_hdr, void *data) in arch_apei_enable_cmcff() argument18 cmc = (struct acpi_hest_ia_corrected *)hest_hdr; in arch_apei_enable_cmcff()
40 typedef int (*apei_hest_func_t)(struct acpi_hest_header *hest_hdr, void *data);52 int arch_apei_enable_cmcff(struct acpi_hest_header *hest_hdr, void *data);
227 static inline bool hest_match_type(struct acpi_hest_header *hest_hdr, in hest_match_type() argument230 u16 hest_type = hest_hdr->type; in hest_match_type()248 static int hest_source_is_pcie_aer(struct acpi_hest_header *hest_hdr) in hest_source_is_pcie_aer() argument250 if (hest_hdr->type == ACPI_HEST_TYPE_AER_ROOT_PORT || in hest_source_is_pcie_aer()251 hest_hdr->type == ACPI_HEST_TYPE_AER_ENDPOINT || in hest_source_is_pcie_aer()252 hest_hdr->type == ACPI_HEST_TYPE_AER_BRIDGE) in hest_source_is_pcie_aer()257 static int aer_hest_parse(struct acpi_hest_header *hest_hdr, void *data) in aer_hest_parse() argument263 if (!hest_source_is_pcie_aer(hest_hdr)) in aer_hest_parse()266 p = (struct acpi_hest_aer_common *)(hest_hdr + 1); in aer_hest_parse()280 if (hest_match_type(hest_hdr, info->pci_dev)) in aer_hest_parse()