Lines Matching refs:desc
1707 void acpi_table_begin(AcpiTable *desc, GArray *array) in acpi_table_begin() argument
1710 desc->array = array; in acpi_table_begin()
1711 desc->table_offset = array->len; in acpi_table_begin()
1717 g_assert(strlen(desc->sig) == 4); in acpi_table_begin()
1718 g_array_append_vals(array, desc->sig, 4); /* Signature */ in acpi_table_begin()
1724 build_append_int_noprefix(array, desc->rev, 1); /* Revision */ in acpi_table_begin()
1726 build_append_padded_str(array, desc->oem_id, 6, '\0'); /* OEMID */ in acpi_table_begin()
1728 build_append_padded_str(array, desc->oem_table_id, 8, '\0'); in acpi_table_begin()
1734 void acpi_table_end(BIOSLinker *linker, AcpiTable *desc) in acpi_table_end() argument
1742 uint32_t table_len = desc->array->len - desc->table_offset; in acpi_table_end()
1744 gchar *len_ptr = &desc->array->data[desc->table_offset + 4]; in acpi_table_end()
1753 desc->table_offset, table_len, desc->table_offset + checksum_offset); in acpi_table_end()