Searched refs:einj (Results 1 - 4 of 4) sorted by relevance

/netbsd-current/sys/dev/acpi/
H A Dapei_einj.c139 ACPI_TABLE_EINJ *einj = sc->sc_tab.einj; local
154 if (einj->Header.Length < sizeof(*einj)) {
157 einj->Header.Length, sizeof(*einj));
160 if (einj->HeaderLength <
161 sizeof(*einj) - offsetof(ACPI_TABLE_EINJ, HeaderLength)) {
164 einj->HeaderLength,
165 sizeof(*einj)
[all...]
H A Dapeivar.h54 ACPI_TABLE_EINJ *einj; /* Error Injection Table */ member in struct:apei_tab
H A Dapei.c88 if (tab.bert || tab.einj || tab.erst || tab.hest)
147 if (sc->sc_tab.einj) {
148 apei_identify(sc, "EINJ", &sc->sc_tab.einj->Header);
193 if (sc->sc_tab.einj)
227 rv = AcpiGetTable(ACPI_SIG_EINJ, 0, (ACPI_TABLE_HEADER **)&tab->einj);
229 tab->einj = NULL;
259 if (tab->einj != NULL) {
260 AcpiPutTable(&tab->einj->Header);
261 tab->einj = NULL;
/netbsd-current/usr.sbin/acpitools/acpidump/
H A Dacpi.c1657 ACPI_TABLE_EINJ *einj; local
1664 einj = (ACPI_TABLE_EINJ *)sdp;
1666 printf("\tHeader Length=%d\n", einj->HeaderLength);
1667 printf("\tFlags=0x%x\n", einj->Flags);
1668 printf("\tEntries=%d\n", einj->Entries);
1671 for (i = 0; i < einj->Entries; i++) {
1672 einj_entry = (ACPI_EINJ_ENTRY *)((char *)einj + einj_pos);

Completed in 88 milliseconds