Lines Matching defs:ghes
90 ACPI_HEST_GENERIC *ghes = container_of(src->as_header,
101 ghes->Header.SourceId);
103 ghes->ErrorBlockLength, ctx, &fatal);
215 ACPI_HEST_GENERIC *ghes = container_of(src->as_header,
228 MAX(1, mstohz(ghes->Notify.PollInterval)));
319 * apei_hest_attach_ghes(sc, ghes, i)
328 apei_hest_attach_ghes(struct apei_softc *sc, ACPI_HEST_GENERIC *ghes,
338 i, ghes->Header.SourceId);
348 switch (ghes->Enabled) {
356 " 0x%"PRIx8"\n", ctx, ghes->Enabled);
365 if (ghes->ErrorStatusAddress.BitWidth > 64) {
367 " %"PRIu8"\n", ctx, ghes->ErrorStatusAddress.BitWidth);
380 rv = AcpiRead(&addr, &ghes->ErrorStatusAddress);
395 src->as_header = &ghes->Header;
396 src->as_ghes.gesb = AcpiOsMapMemory(addr, ghes->ErrorBlockLength);
401 switch (ghes->Notify.Type) {
403 if (ghes->Notify.PollInterval == 0) /* paranoia */
436 * apei_hest_detach_ghes(sc, ghes, i)
445 apei_hest_detach_ghes(struct apei_softc *sc, ACPI_HEST_GENERIC *ghes,
454 switch (ghes->Notify.Type) {
456 if (ghes->Notify.PollInterval == 0) /* paranoia */
482 AcpiOsUnmapMemory(src->as_ghes.gesb, ghes->ErrorBlockLength);
770 ACPI_HEST_GENERIC *const ghes = container_of(header,
773 if (maxlen < sizeof(*ghes))
775 apei_hest_attach_ghes(sc, ghes, i);
776 return (ACPI_HEST_HEADER *)(ghes + 1);
847 ACPI_HEST_GENERIC *ghes = container_of(header,
850 apei_hest_detach_ghes(sc, ghes, i);