Searched refs:acpi_calc_checksum (Results 1 – 3 of 3) sorted by relevance
/openbmc/qemu/tests/qtest/ |
H A D | acpi-utils.c | 21 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 D | acpi-utils.h | 47 uint8_t acpi_calc_checksum(const uint8_t *data, int len);
|
H A D | bios-tables-test.c | 163 g_assert(!acpi_calc_checksum(rsdp_table, 20)); in test_acpi_rsdp_table() 167 g_assert(!acpi_calc_checksum(rsdp_table, 20)); in test_acpi_rsdp_table() 168 g_assert(!acpi_calc_checksum(rsdp_table, 36)); in test_acpi_rsdp_table() 244 fadt_aml[9 /* Checksum */] -= acpi_calc_checksum(fadt_aml, fadt_len); in test_acpi_fadt_table() 575 if (acpi_calc_checksum((uint8_t *)ep_table, sizeof *ep_table) || in smbios_ep2_table_ok() 576 acpi_calc_checksum((uint8_t *)ep_table + 0x10, in smbios_ep2_table_ok() 592 if (acpi_calc_checksum((uint8_t *)ep_table, sizeof *ep_table)) { in smbios_ep3_table_ok()
|