Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/acpi/acpica/
Dexconfig.c283 struct acpi_table_header *table_header; in acpi_ex_load_op() local
332 table_header = ACPI_ALLOCATE(sizeof(struct acpi_table_header)); in acpi_ex_load_op()
333 if (!table_header) { in acpi_ex_load_op()
340 ACPI_CAST_PTR(u8, table_header)); in acpi_ex_load_op()
341 length = table_header->length; in acpi_ex_load_op()
342 ACPI_FREE(table_header); in acpi_ex_load_op()
401 table_header = in acpi_ex_load_op()
404 length = table_header->length; in acpi_ex_load_op()
424 memcpy(table, table_header, length); in acpi_ex_load_op()
/linux-5.19.10/drivers/gpu/drm/amd/include/
Datomfirmware.h243 struct atom_common_table_header table_header; member
356 struct atom_common_table_header table_header; member
429 struct atom_common_table_header table_header; member
479 struct atom_common_table_header table_header; member
518 struct atom_common_table_header table_header; member
546 struct atom_common_table_header table_header; member
574 struct atom_common_table_header table_header; member
620 struct atom_common_table_header table_header; member
702 struct atom_common_table_header table_header; member
716 struct atom_common_table_header table_header; member
[all …]
/linux-5.19.10/drivers/acpi/
Dsysfs.c326 struct acpi_table_header *table_header = NULL; in acpi_table_show() local
331 &table_header); in acpi_table_show()
335 rc = memory_read_from_buffer(buf, count, &offset, table_header, in acpi_table_show()
336 table_header->length); in acpi_table_show()
337 acpi_put_table(table_header); in acpi_table_show()
343 struct acpi_table_header *table_header) in acpi_table_attr_init() argument
350 ACPI_COPY_NAMESEG(table_attr->name, table_header->signature); in acpi_table_attr_init()
363 ACPI_COPY_NAMESEG(table_attr->filename, table_header->signature); in acpi_table_attr_init()
367 (table_header->signature, 2, &header))) { in acpi_table_attr_init()
373 table_attr->attr.size = table_header->length; in acpi_table_attr_init()
[all …]
Dtables.c321 struct acpi_table_header *table_header, struct acpi_subtable_proc *proc, in acpi_parse_entries_array() argument
330 table_end = (unsigned long)table_header + table_header->length; in acpi_parse_entries_array()
336 ((unsigned long)table_header + table_size); in acpi_parse_entries_array()
385 struct acpi_table_header *table_header = NULL; in acpi_table_parse_entries_array() local
401 acpi_get_table(id, instance, &table_header); in acpi_table_parse_entries_array()
402 if (!table_header) { in acpi_table_parse_entries_array()
407 count = acpi_parse_entries_array(id, table_size, table_header, in acpi_table_parse_entries_array()
410 acpi_put_table(table_header); in acpi_table_parse_entries_array()
/linux-5.19.10/security/apparmor/include/
Dmatch.h82 struct table_header { struct
102 struct table_header *tables[YYTD_ID_TSIZE]; argument
122 return ALIGN(sizeof(struct table_header) + len * el_size, 8); in table_size()
/linux-5.19.10/arch/x86/boot/compressed/
Dacpi.c272 struct acpi_table_header *table_header; in count_immovable_mem_regions() local
284 table_header = (struct acpi_table_header *)table_addr; in count_immovable_mem_regions()
285 table_end = table_addr + table_header->length; in count_immovable_mem_regions()
/linux-5.19.10/security/apparmor/
Dmatch.c77 static struct table_header *unpack_table(char *blob, size_t bsize) in unpack_table()
79 struct table_header *table = NULL; in unpack_table()
80 struct table_header th; in unpack_table()
83 if (bsize < sizeof(struct table_header)) in unpack_table()
94 blob += sizeof(struct table_header); in unpack_table()
147 static int verify_table_headers(struct table_header **tables, int flags) in verify_table_headers()
311 struct table_header *table = NULL; in aa_dfa_unpack()
/linux-5.19.10/drivers/gpu/drm/amd/display/dc/bios/
Dbios_parser2.c374 le16_to_cpu(header->table_header.structuresize)) in get_gpio_i2c_info()
378 if (header->table_header.content_revision != 1) in get_gpio_i2c_info()
382 count = (le16_to_cpu(header->table_header.structuresize) in get_gpio_i2c_info()
522 > le16_to_cpu(header->table_header.structuresize)) in bios_parser_get_gpio_pin_info()
525 if (header->table_header.content_revision != 1) in bios_parser_get_gpio_pin_info()
544 count = (le16_to_cpu(header->table_header.structuresize) in bios_parser_get_gpio_pin_info()
1134 if (!((lvds->table_header.format_revision == 2) in get_embedded_panel_info_v2_1()
1135 && (lvds->table_header.content_revision >= 1))) in get_embedded_panel_info_v2_1()
2723 get_atom_data_table_revision(&rom_header->table_header, &tbl_rev); in bios_parser_pack_data_tables()
2727 get_atom_data_table_revision(&bp->master_data_tbl->table_header, &tbl_rev); in bios_parser_pack_data_tables()
[all …]
/linux-5.19.10/drivers/gpu/drm/amd/amdkfd/
Dkfd_crat.c1962 struct acpi_table_header *table_header = NULL; in kfd_find_numa_node_in_srat() local
1976 status = acpi_get_table(ACPI_SIG_SRAT, 0, &table_header); in kfd_find_numa_node_in_srat()
1986 table_end = (unsigned long)table_header + table_header->length; in kfd_find_numa_node_in_srat()
1990 ((unsigned long)table_header + in kfd_find_numa_node_in_srat()
2033 acpi_put_table(table_header); in kfd_find_numa_node_in_srat()
/linux-5.19.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dppatomfwctrl.c34 voltage_object_info_table->table_header.structuresize); in pp_atomfwctrl_lookup_voltage_type_v4()
184 gpio_lookup_table->table_header.structuresize); in pp_atomfwctrl_lookup_gpio_pin()
/linux-5.19.10/drivers/gpu/drm/amd/pm/swsmu/smu13/
Daldebaran_ppt.c417 smc_dpm_table->table_header.format_revision, in aldebaran_append_powerplay_table()
418 smc_dpm_table->table_header.content_revision); in aldebaran_append_powerplay_table()
420 if ((smc_dpm_table->table_header.format_revision == 4) && in aldebaran_append_powerplay_table()
421 (smc_dpm_table->table_header.content_revision == 10)) in aldebaran_append_powerplay_table()
Dsmu_v13_0_7_ppt.c355 struct atom_common_table_header table_header; member
Dsmu_v13_0_0_ppt.c346 struct atom_common_table_header table_header; member
/linux-5.19.10/drivers/gpu/drm/amd/pm/swsmu/smu11/
Darcturus_ppt.c483 smc_dpm_table->table_header.format_revision, in arcturus_append_powerplay_table()
484 smc_dpm_table->table_header.content_revision); in arcturus_append_powerplay_table()
486 if ((smc_dpm_table->table_header.format_revision == 4) && in arcturus_append_powerplay_table()
487 (smc_dpm_table->table_header.content_revision == 6)) in arcturus_append_powerplay_table()
Dnavi10_ppt.c423 smc_dpm_table->table_header.format_revision, in navi10_append_powerplay_table()
424 smc_dpm_table->table_header.content_revision); in navi10_append_powerplay_table()
426 if (smc_dpm_table->table_header.format_revision != 4) { in navi10_append_powerplay_table()
431 switch (smc_dpm_table->table_header.content_revision) { in navi10_append_powerplay_table()
446 smc_dpm_table->table_header.content_revision); in navi10_append_powerplay_table()
Dsienna_cichlid_ppt.c427 sizeof(*smc_dpm_table) - sizeof(smc_dpm_table->table_header)); in sienna_cichlid_append_powerplay_table()