Home
last modified time | relevance | path

Searched refs:acpi_calc_checksum (Results 1 – 3 of 3) sorted by relevance

/qemu/tests/qtest/
H A Dacpi-utils.c21 uint8_t acpi_calc_checksum(const uint8_t *data, int len) in acpi_calc_checksum() function
100 if (acpi_calc_checksum(*aml, *aml_len)) { in acpi_fetch_table()
114 g_assert(!acpi_calc_checksum(*aml, *aml_len)); in acpi_fetch_table()
H A Dacpi-utils.h47 uint8_t acpi_calc_checksum(const uint8_t *data, int len);
H A Dbios-tables-test.c162 g_assert(!acpi_calc_checksum(rsdp_table, 20)); in test_acpi_rsdp_table()
166 g_assert(!acpi_calc_checksum(rsdp_table, 20)); in test_acpi_rsdp_table()
167 g_assert(!acpi_calc_checksum(rsdp_table, 36)); in test_acpi_rsdp_table()
243 fadt_aml[9 /* Checksum */] -= acpi_calc_checksum(fadt_aml, fadt_len); in test_acpi_fadt_table()
572 if (acpi_calc_checksum((uint8_t *)ep_table, sizeof *ep_table) || in smbios_ep2_table_ok()
573 acpi_calc_checksum((uint8_t *)ep_table + 0x10, in smbios_ep2_table_ok()
589 if (acpi_calc_checksum((uint8_t *)ep_table, sizeof *ep_table)) { in smbios_ep3_table_ok()