| /Linux-v5.10/drivers/acpi/acpica/ |
| D | exconfig.c | 273 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()
|
| D | tbdata.c | 213 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()
|
| /Linux-v5.10/drivers/gpu/drm/amd/include/ |
| D | atomfirmware.h | 237 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 …]
|
| /Linux-v5.10/drivers/acpi/ |
| D | sysfs.c | 347 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 …]
|
| D | tables.c | 285 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()
|
| /Linux-v5.10/security/apparmor/include/ |
| D | match.h | 82 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-v5.10/security/apparmor/ |
| D | match.c | 77 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-v5.10/drivers/gpu/drm/amd/display/dc/bios/ |
| D | bios_parser2.c | 370 le16_to_cpu(header->table_header.structuresize)) in get_gpio_i2c_info() 374 if (header->table_header.content_revision != 1) in get_gpio_i2c_info() 378 count = (le16_to_cpu(header->table_header.structuresize) in get_gpio_i2c_info() 517 > le16_to_cpu(header->table_header.structuresize)) in bios_parser_get_gpio_pin_info() 520 if (header->table_header.content_revision != 1) in bios_parser_get_gpio_pin_info() 539 count = (le16_to_cpu(header->table_header.structuresize) in bios_parser_get_gpio_pin_info() 935 if (!((lvds->table_header.format_revision == 2) in get_embedded_panel_info_v2_1() 936 && (lvds->table_header.content_revision >= 1))) in get_embedded_panel_info_v2_1() 2092 get_atom_data_table_revision(&rom_header->table_header, &tbl_rev); in bios_parser_pack_data_tables() 2096 get_atom_data_table_revision(&bp->master_data_tbl->table_header, &tbl_rev); in bios_parser_pack_data_tables() [all …]
|
| /Linux-v5.10/arch/x86/boot/compressed/ |
| D | acpi.c | 378 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()
|
| /Linux-v5.10/drivers/gpu/drm/amd/pm/swsmu/smu11/ |
| D | navi10_ppt.c | 385 smc_dpm_table->table_header.format_revision, in navi10_append_powerplay_table() 386 smc_dpm_table->table_header.content_revision); in navi10_append_powerplay_table() 388 if (smc_dpm_table->table_header.format_revision != 4) { in navi10_append_powerplay_table() 393 switch (smc_dpm_table->table_header.content_revision) { in navi10_append_powerplay_table() 396 sizeof(*smc_dpm_table) - sizeof(smc_dpm_table->table_header)); in navi10_append_powerplay_table() 404 sizeof(*smc_dpm_table_v4_7) - sizeof(smc_dpm_table_v4_7->table_header)); in navi10_append_powerplay_table() 408 smc_dpm_table->table_header.content_revision); in navi10_append_powerplay_table()
|
| D | arcturus_ppt.c | 427 smc_dpm_table->table_header.format_revision, in arcturus_append_powerplay_table() 428 smc_dpm_table->table_header.content_revision); in arcturus_append_powerplay_table() 430 if ((smc_dpm_table->table_header.format_revision == 4) && in arcturus_append_powerplay_table() 431 (smc_dpm_table->table_header.content_revision == 6)) in arcturus_append_powerplay_table()
|
| D | sienna_cichlid_ppt.c | 330 sizeof(*smc_dpm_table) - sizeof(smc_dpm_table->table_header)); in sienna_cichlid_append_powerplay_table()
|
| /Linux-v5.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
| D | ppatomfwctrl.c | 34 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()
|