Home
last modified time | relevance | path

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

/drivers/acpi/acpica/
Dexconfig.c273 struct acpi_table_header *table_header; in acpi_ex_load_op() local
308 table_header = ACPI_ALLOCATE(sizeof(struct acpi_table_header)); in acpi_ex_load_op()
309 if (!table_header) { in acpi_ex_load_op()
316 ACPI_CAST_PTR(u8, table_header)); in acpi_ex_load_op()
317 length = table_header->length; in acpi_ex_load_op()
318 ACPI_FREE(table_header); in acpi_ex_load_op()
377 table_header = in acpi_ex_load_op()
380 length = table_header->length; in acpi_ex_load_op()
400 memcpy(table, table_header, length); in acpi_ex_load_op()
Dtbdata.c213 struct acpi_table_header *table_header; in acpi_tb_acquire_temp_table() local
220 table_header = in acpi_tb_acquire_temp_table()
223 if (!table_header) { in acpi_tb_acquire_temp_table()
228 table_header); in acpi_tb_acquire_temp_table()
229 acpi_os_unmap_memory(table_header, in acpi_tb_acquire_temp_table()
236 table_header = ACPI_CAST_PTR(struct acpi_table_header, in acpi_tb_acquire_temp_table()
238 if (!table_header) { in acpi_tb_acquire_temp_table()
243 table_header); in acpi_tb_acquire_temp_table()
/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 …]
/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.c295 struct acpi_table_header *table_header, in acpi_parse_entries_array() argument
305 table_end = (unsigned long)table_header + table_header->length; in acpi_parse_entries_array()
311 ((unsigned long)table_header + table_size); in acpi_parse_entries_array()
360 struct acpi_table_header *table_header = NULL; in acpi_table_parse_entries_array() local
376 acpi_get_table(id, instance, &table_header); in acpi_table_parse_entries_array()
377 if (!table_header) { in acpi_table_parse_entries_array()
382 count = acpi_parse_entries_array(id, table_size, table_header, in acpi_table_parse_entries_array()
385 acpi_put_table(table_header); in acpi_table_parse_entries_array()
/drivers/gpu/drm/amd/display/dc/bios/
Dbios_parser2.c371 le16_to_cpu(header->table_header.structuresize)) in get_gpio_i2c_info()
375 if (header->table_header.content_revision != 1) in get_gpio_i2c_info()
379 count = (le16_to_cpu(header->table_header.structuresize) in get_gpio_i2c_info()
513 > le16_to_cpu(header->table_header.structuresize)) in bios_parser_get_gpio_pin_info()
516 if (header->table_header.content_revision != 1) in bios_parser_get_gpio_pin_info()
535 count = (le16_to_cpu(header->table_header.structuresize) in bios_parser_get_gpio_pin_info()
1125 if (!((lvds->table_header.format_revision == 2) in get_embedded_panel_info_v2_1()
1126 && (lvds->table_header.content_revision >= 1))) in get_embedded_panel_info_v2_1()
2620 get_atom_data_table_revision(&rom_header->table_header, &tbl_rev); in bios_parser_pack_data_tables()
2624 get_atom_data_table_revision(&bp->master_data_tbl->table_header, &tbl_rev); in bios_parser_pack_data_tables()
[all …]
/drivers/gpu/drm/amd/amdkfd/
Dkfd_crat.c1872 struct acpi_table_header *table_header = NULL; in kfd_find_numa_node_in_srat() local
1886 status = acpi_get_table(ACPI_SIG_SRAT, 0, &table_header); in kfd_find_numa_node_in_srat()
1896 table_end = (unsigned long)table_header + table_header->length; in kfd_find_numa_node_in_srat()
1900 ((unsigned long)table_header + in kfd_find_numa_node_in_srat()
1943 acpi_put_table(table_header); in kfd_find_numa_node_in_srat()
/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()
/drivers/gpu/drm/amd/pm/swsmu/smu13/
Daldebaran_ppt.c407 smc_dpm_table->table_header.format_revision, in aldebaran_append_powerplay_table()
408 smc_dpm_table->table_header.content_revision); in aldebaran_append_powerplay_table()
410 if ((smc_dpm_table->table_header.format_revision == 4) && in aldebaran_append_powerplay_table()
411 (smc_dpm_table->table_header.content_revision == 10)) in aldebaran_append_powerplay_table()
/drivers/gpu/drm/amd/pm/swsmu/smu11/
Dnavi10_ppt.c424 smc_dpm_table->table_header.format_revision, in navi10_append_powerplay_table()
425 smc_dpm_table->table_header.content_revision); in navi10_append_powerplay_table()
427 if (smc_dpm_table->table_header.format_revision != 4) { in navi10_append_powerplay_table()
432 switch (smc_dpm_table->table_header.content_revision) { in navi10_append_powerplay_table()
447 smc_dpm_table->table_header.content_revision); in navi10_append_powerplay_table()
Darcturus_ppt.c481 smc_dpm_table->table_header.format_revision, in arcturus_append_powerplay_table()
482 smc_dpm_table->table_header.content_revision); in arcturus_append_powerplay_table()
484 if ((smc_dpm_table->table_header.format_revision == 4) && in arcturus_append_powerplay_table()
485 (smc_dpm_table->table_header.content_revision == 6)) in arcturus_append_powerplay_table()
Dsienna_cichlid_ppt.c419 sizeof(*smc_dpm_table) - sizeof(smc_dpm_table->table_header)); in sienna_cichlid_append_powerplay_table()