Lines Matching refs:aml
120 return !memcmp(sdt->aml, signature, 4); in compare_signature()
125 g_free(table->aml); in cleanup_table_descriptor()
189 acpi_fetch_table(data->qts, &rsdt.aml, &rsdt.aml_len, in test_acpi_rxsdt_table()
193 ACPI_FOREACH_RSDT_ENTRY(rsdt.aml, rsdt.aml_len, ent, entry_size) { in test_acpi_rxsdt_table()
196 acpi_fetch_table(data->qts, &ssdt_table.aml, &ssdt_table.aml_len, ent, in test_acpi_rxsdt_table()
208 uint8_t *fadt_aml = table.aml; in test_acpi_fadt_table()
220 acpi_fetch_table(data->qts, &table.aml, &table.aml_len, in test_acpi_fadt_table()
231 acpi_fetch_table(data->qts, &table.aml, &table.aml_len, in test_acpi_fadt_table()
262 g_assert(sdt->aml); in dump_aml_files()
263 g_assert(exp_sdt->aml); in dump_aml_files()
268 sdt->aml, ext); in dump_aml_files()
272 !memcmp(sdt->aml, exp_sdt->aml, sdt->aml_len)) { in dump_aml_files()
288 ret = qemu_write_full(fd, sdt->aml, sdt->aml_len); in dump_aml_files()
405 data->machine, sdt->aml, ext); in load_expected_aml()
421 ret = g_file_get_contents(aml_file, (gchar **)&exp_sdt.aml, in load_expected_aml()
426 g_assert(exp_sdt.aml); in load_expected_aml()
471 !memcmp(sdt->aml, exp_sdt->aml, sdt->aml_len)) { in test_acpi_asl()
481 exp_sdt->aml, sdt->aml_file, exp_sdt->aml_file); in test_acpi_asl()
522 exp_sdt->aml, sdt->asl_file, sdt->aml_file, in test_acpi_asl()
2339 g_assert(strncmp((char *)sdt->aml + 10, OEM_ID, 6) == 0); in test_oem_fields()
2340 g_assert(strncmp((char *)sdt->aml + 16, OEM_TABLE_ID, 8) == 0); in test_oem_fields()