Home
last modified time | relevance | path

Searched refs:table_header (Results 1 – 12 of 12) sorted by relevance

/linux/lib/
H A Dfw_table.c151 union fw_table_header *table_header, in acpi_parse_entries_array() argument
163 table_len = acpi_table_get_length(type, table_header); in acpi_parse_entries_array()
166 table_end = (unsigned long)table_header + table_len; in acpi_parse_entries_array()
172 ((unsigned long)table_header + table_size); in acpi_parse_entries_array()
215 struct acpi_table_cdat *table_header, in cdat_table_parse() argument
224 if (!table_header) in cdat_table_parse()
229 (union fw_table_header *)table_header, in cdat_table_parse()
/linux/drivers/acpi/acpica/
H A Dexconfig.c305 struct acpi_table_header *table_header; in acpi_ex_load_op()
354 table_header = ACPI_ALLOCATE(sizeof(struct acpi_table_header)); in acpi_ex_load_op()
355 if (!table_header) { in acpi_ex_load_op()
362 ACPI_CAST_PTR(u8, table_header)); in acpi_ex_load_op()
363 length = table_header->length; in acpi_ex_load_op()
364 ACPI_FREE(table_header); in acpi_ex_load_op()
423 table_header = in acpi_ex_load_op()
426 length = table_header->length; in acpi_ex_load_op()
446 memcpy(table, table_header, length); in acpi_ex_load_op()
283 struct acpi_table_header *table_header; acpi_ex_load_op() local
/linux/drivers/acpi/
H A Dsysfs.c327 struct acpi_table_header *table_header = NULL; in acpi_table_show() local
332 &table_header); in acpi_table_show()
336 rc = memory_read_from_buffer(buf, count, &offset, table_header, in acpi_table_show()
337 table_header->length); in acpi_table_show()
338 acpi_put_table(table_header); in acpi_table_show()
344 struct acpi_table_header *table_header) in acpi_table_attr_init() argument
351 ACPI_COPY_NAMESEG(table_attr->name, table_header->signature); in acpi_table_attr_init()
364 ACPI_COPY_NAMESEG(table_attr->filename, table_header->signature); in acpi_table_attr_init()
368 (table_header->signature, 2, &header))) { in acpi_table_attr_init()
374 table_attr->attr.size = table_header in acpi_table_attr_init()
509 struct acpi_table_header *table_header = NULL; acpi_tables_sysfs_init() local
[all...]
/linux/security/apparmor/
H A Dmatch.c34 static struct table_header *unpack_table(char *blob, size_t bsize) in unpack_table()
36 struct table_header *table = ERR_PTR(-EPROTO); in unpack_table()
37 struct table_header th; in unpack_table()
40 if (bsize < sizeof(struct table_header)) in unpack_table()
51 blob += sizeof(struct table_header); in unpack_table()
104 static int verify_table_headers(struct table_header **tables, int flags) in verify_table_headers()
277 static struct table_header *remap_data16_to_data32(struct table_header *old) in remap_data16_to_data32()
279 struct table_header *new; in remap_data16_to_data32()
320 struct table_header *tabl in aa_dfa_unpack()
[all...]
/linux/include/linux/
H A Dfw_table.h42 union fw_table_header *table_header,
49 struct acpi_table_cdat *table_header,
/linux/security/apparmor/include/
H A Dmatch.h82 struct table_header { struct
104 struct table_header *tables[YYTD_ID_TSIZE]; argument
123 return ALIGN(sizeof(struct table_header) + len * el_size, 8); in table_size()
/linux/arch/x86/boot/compressed/
H A Dacpi.c274 struct acpi_table_header *table_header; in count_immovable_mem_regions() local
286 table_header = (struct acpi_table_header *)table_addr; in count_immovable_mem_regions()
287 table_end = table_addr + table_header->length; in count_immovable_mem_regions()
/linux/drivers/gpu/drm/amd/display/dc/bios/
H A Dbios_parser2.c485 le16_to_cpu(header->table_header.structuresize)) in get_gpio_i2c_info()
489 if (header->table_header.content_revision != 1) in get_gpio_i2c_info()
493 count = (le16_to_cpu(header->table_header.structuresize) in get_gpio_i2c_info()
498 le16_to_cpu(header->table_header.structuresize))) in get_gpio_i2c_info()
681 > le16_to_cpu(header->table_header.structuresize)) in bios_parser_get_gpio_pin_info()
684 if (header->table_header.content_revision != 1) in bios_parser_get_gpio_pin_info()
688 count = (le16_to_cpu(header->table_header.structuresize) in bios_parser_get_gpio_pin_info()
693 le16_to_cpu(header->table_header.structuresize))) in bios_parser_get_gpio_pin_info()
1531 if (!((lvds->table_header.format_revision == 2) in bios_parser_get_embedded_panel_info()
1532 && (lvds->table_header in bios_parser_get_embedded_panel_info()
[all...]
/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_crat.c2024 struct acpi_table_header *table_header = NULL; in kfd_find_numa_node_in_srat()
2038 status = acpi_get_table(ACPI_SIG_SRAT, 0, &table_header); in kfd_find_numa_node_in_srat()
2048 table_end = (unsigned long)table_header + table_header->length; in kfd_find_numa_node_in_srat()
2052 ((unsigned long)table_header + in kfd_find_numa_node_in_srat()
2095 acpi_put_table(table_header); in kfd_find_numa_node_in_srat()
2015 struct acpi_table_header *table_header = NULL; kfd_find_numa_node_in_srat() local
/linux/drivers/gpu/drm/amd/pm/swsmu/smu13/
H A Daldebaran_ppt.c507 smc_dpm_table->table_header.format_revision, in aldebaran_append_powerplay_table()
508 smc_dpm_table->table_header.content_revision); in aldebaran_append_powerplay_table()
510 if ((smc_dpm_table->table_header.format_revision == 4) && in aldebaran_append_powerplay_table()
511 (smc_dpm_table->table_header.content_revision == 10)) in aldebaran_append_powerplay_table()
H A Dsmu_v13_0_7_ppt.c423 struct atom_common_table_header table_header; member
H A Dsmu_v13_0_0_ppt.c393 struct atom_common_table_header table_header; member