Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/include/
Datomfirmware.h237 struct atom_common_table_header table_header; member
350 struct atom_common_table_header table_header; member
423 struct atom_common_table_header table_header; member
473 struct atom_common_table_header table_header; member
510 struct atom_common_table_header table_header; member
538 struct atom_common_table_header table_header; member
566 struct atom_common_table_header table_header; member
609 struct atom_common_table_header table_header; member
691 struct atom_common_table_header table_header; member
705 struct atom_common_table_header table_header; member
[all …]
/kernel/linux/linux-5.10/drivers/acpi/
Dsysfs.c347 struct acpi_table_header *table_header = NULL; in acpi_table_show() local
352 &table_header); in acpi_table_show()
356 rc = memory_read_from_buffer(buf, count, &offset, table_header, in acpi_table_show()
357 table_header->length); in acpi_table_show()
358 acpi_put_table(table_header); in acpi_table_show()
364 struct acpi_table_header *table_header) in acpi_table_attr_init() argument
371 ACPI_COPY_NAMESEG(table_attr->name, table_header->signature); in acpi_table_attr_init()
385 ACPI_COPY_NAMESEG(table_attr->filename, table_header->signature); in acpi_table_attr_init()
389 (table_header->signature, 2, &header))) { in acpi_table_attr_init()
395 table_attr->attr.size = table_header->length; in acpi_table_attr_init()
[all …]
Dtables.c285 struct acpi_table_header *table_header, in acpi_parse_entries_array() argument
295 table_end = (unsigned long)table_header + table_header->length; in acpi_parse_entries_array()
301 ((unsigned long)table_header + table_size); in acpi_parse_entries_array()
350 struct acpi_table_header *table_header = NULL; in acpi_table_parse_entries_array() local
366 acpi_get_table(id, instance, &table_header); in acpi_table_parse_entries_array()
367 if (!table_header) { in acpi_table_parse_entries_array()
372 count = acpi_parse_entries_array(id, table_size, table_header, in acpi_table_parse_entries_array()
375 acpi_put_table(table_header); in acpi_table_parse_entries_array()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/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()
515 > le16_to_cpu(header->table_header.structuresize)) in bios_parser_get_gpio_pin_info()
518 if (header->table_header.content_revision != 1) in bios_parser_get_gpio_pin_info()
537 count = (le16_to_cpu(header->table_header.structuresize) in bios_parser_get_gpio_pin_info()
933 if (!((lvds->table_header.format_revision == 2) in get_embedded_panel_info_v2_1()
934 && (lvds->table_header.content_revision >= 1))) in get_embedded_panel_info_v2_1()
2090 get_atom_data_table_revision(&rom_header->table_header, &tbl_rev); in bios_parser_pack_data_tables()
2094 get_atom_data_table_revision(&bp->master_data_tbl->table_header, &tbl_rev); in bios_parser_pack_data_tables()
[all …]
/kernel/linux/linux-5.10/arch/x86/boot/compressed/
Dacpi.c378 struct acpi_table_header *table_header; in count_immovable_mem_regions() local
390 table_header = (struct acpi_table_header *)table_addr; in count_immovable_mem_regions()
391 table_end = table_addr + table_header->length; in count_immovable_mem_regions()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/swsmu/smu11/
Dnavi10_ppt.c400 smc_dpm_table->table_header.format_revision, in navi10_append_powerplay_table()
401 smc_dpm_table->table_header.content_revision); in navi10_append_powerplay_table()
403 if (smc_dpm_table->table_header.format_revision != 4) { in navi10_append_powerplay_table()
408 switch (smc_dpm_table->table_header.content_revision) { in navi10_append_powerplay_table()
411 sizeof(*smc_dpm_table) - sizeof(smc_dpm_table->table_header)); in navi10_append_powerplay_table()
419 sizeof(*smc_dpm_table_v4_7) - sizeof(smc_dpm_table_v4_7->table_header)); in navi10_append_powerplay_table()
423 smc_dpm_table->table_header.content_revision); in navi10_append_powerplay_table()
Darcturus_ppt.c442 smc_dpm_table->table_header.format_revision, in arcturus_append_powerplay_table()
443 smc_dpm_table->table_header.content_revision); in arcturus_append_powerplay_table()
445 if ((smc_dpm_table->table_header.format_revision == 4) && in arcturus_append_powerplay_table()
446 (smc_dpm_table->table_header.content_revision == 6)) in arcturus_append_powerplay_table()
Dsienna_cichlid_ppt.c361 sizeof(*smc_dpm_table) - sizeof(smc_dpm_table->table_header)); in sienna_cichlid_append_powerplay_table()
/kernel/linux/linux-5.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()