crat_table 489 drivers/gpu/drm/amd/amdkfd/kfd_crat.c struct crat_header *crat_table = (struct crat_header *)crat_image; crat_table 501 drivers/gpu/drm/amd/amdkfd/kfd_crat.c num_nodes = crat_table->num_domains; crat_table 502 drivers/gpu/drm/amd/amdkfd/kfd_crat.c image_len = crat_table->length; crat_table 518 drivers/gpu/drm/amd/amdkfd/kfd_crat.c memcpy(top_dev->oem_id, crat_table->oem_id, CRAT_OEMID_LENGTH); crat_table 519 drivers/gpu/drm/amd/amdkfd/kfd_crat.c memcpy(top_dev->oem_table_id, crat_table->oem_table_id, crat_table 521 drivers/gpu/drm/amd/amdkfd/kfd_crat.c top_dev->oem_revision = crat_table->oem_revision; crat_table 523 drivers/gpu/drm/amd/amdkfd/kfd_crat.c sub_type_hdr = (struct crat_subtype_generic *)(crat_table+1); crat_table 749 drivers/gpu/drm/amd/amdkfd/kfd_crat.c struct acpi_table_header *crat_table; crat_table 759 drivers/gpu/drm/amd/amdkfd/kfd_crat.c status = acpi_get_table(CRAT_SIGNATURE, 0, &crat_table); crat_table 775 drivers/gpu/drm/amd/amdkfd/kfd_crat.c pcrat_image = kmemdup(crat_table, crat_table->length, GFP_KERNEL); crat_table 780 drivers/gpu/drm/amd/amdkfd/kfd_crat.c *size = crat_table->length; crat_table 931 drivers/gpu/drm/amd/amdkfd/kfd_crat.c struct crat_header *crat_table = (struct crat_header *)pcrat_image; crat_table 952 drivers/gpu/drm/amd/amdkfd/kfd_crat.c memset(crat_table, 0, sizeof(struct crat_header)); crat_table 953 drivers/gpu/drm/amd/amdkfd/kfd_crat.c memcpy(&crat_table->signature, CRAT_SIGNATURE, crat_table 954 drivers/gpu/drm/amd/amdkfd/kfd_crat.c sizeof(crat_table->signature)); crat_table 955 drivers/gpu/drm/amd/amdkfd/kfd_crat.c crat_table->length = sizeof(struct crat_header); crat_table 961 drivers/gpu/drm/amd/amdkfd/kfd_crat.c crat_table->oem_revision = acpi_table->revision; crat_table 962 drivers/gpu/drm/amd/amdkfd/kfd_crat.c memcpy(crat_table->oem_id, acpi_table->oem_id, crat_table 964 drivers/gpu/drm/amd/amdkfd/kfd_crat.c memcpy(crat_table->oem_table_id, acpi_table->oem_table_id, crat_table 967 drivers/gpu/drm/amd/amdkfd/kfd_crat.c crat_table->total_entries = 0; crat_table 968 drivers/gpu/drm/amd/amdkfd/kfd_crat.c crat_table->num_domains = 0; crat_table 970 drivers/gpu/drm/amd/amdkfd/kfd_crat.c sub_type_hdr = (struct crat_subtype_generic *)(crat_table+1); crat_table 978 drivers/gpu/drm/amd/amdkfd/kfd_crat.c crat_table->num_domains, crat_table 982 drivers/gpu/drm/amd/amdkfd/kfd_crat.c crat_table->length += sub_type_hdr->length; crat_table 983 drivers/gpu/drm/amd/amdkfd/kfd_crat.c crat_table->total_entries++; crat_table 990 drivers/gpu/drm/amd/amdkfd/kfd_crat.c crat_table->num_domains, crat_table 994 drivers/gpu/drm/amd/amdkfd/kfd_crat.c crat_table->length += sub_type_hdr->length; crat_table 995 drivers/gpu/drm/amd/amdkfd/kfd_crat.c crat_table->total_entries++; crat_table 1007 drivers/gpu/drm/amd/amdkfd/kfd_crat.c crat_table->length += (sub_type_hdr->length * entries); crat_table 1008 drivers/gpu/drm/amd/amdkfd/kfd_crat.c crat_table->total_entries += entries; crat_table 1016 drivers/gpu/drm/amd/amdkfd/kfd_crat.c crat_table->num_domains++; crat_table 1027 drivers/gpu/drm/amd/amdkfd/kfd_crat.c *size = crat_table->length; crat_table 1141 drivers/gpu/drm/amd/amdkfd/kfd_crat.c struct crat_header *crat_table = (struct crat_header *)pcrat_image; crat_table 1164 drivers/gpu/drm/amd/amdkfd/kfd_crat.c memset(crat_table, 0, sizeof(struct crat_header)); crat_table 1166 drivers/gpu/drm/amd/amdkfd/kfd_crat.c memcpy(&crat_table->signature, CRAT_SIGNATURE, crat_table 1167 drivers/gpu/drm/amd/amdkfd/kfd_crat.c sizeof(crat_table->signature)); crat_table 1169 drivers/gpu/drm/amd/amdkfd/kfd_crat.c crat_table->length = sizeof(struct crat_header); crat_table 1170 drivers/gpu/drm/amd/amdkfd/kfd_crat.c crat_table->num_domains = 1; crat_table 1171 drivers/gpu/drm/amd/amdkfd/kfd_crat.c crat_table->total_entries = 0; crat_table 1180 drivers/gpu/drm/amd/amdkfd/kfd_crat.c sub_type_hdr = (struct crat_subtype_generic *)(crat_table + 1); crat_table 1215 drivers/gpu/drm/amd/amdkfd/kfd_crat.c crat_table->length += sub_type_hdr->length; crat_table 1216 drivers/gpu/drm/amd/amdkfd/kfd_crat.c crat_table->total_entries++; crat_table 1248 drivers/gpu/drm/amd/amdkfd/kfd_crat.c crat_table->length += sizeof(struct crat_subtype_memory); crat_table 1249 drivers/gpu/drm/amd/amdkfd/kfd_crat.c crat_table->total_entries++; crat_table 1266 drivers/gpu/drm/amd/amdkfd/kfd_crat.c crat_table->length += cache_mem_filled; crat_table 1267 drivers/gpu/drm/amd/amdkfd/kfd_crat.c crat_table->total_entries += num_of_cache_entries; crat_table 1282 drivers/gpu/drm/amd/amdkfd/kfd_crat.c crat_table->length += sub_type_hdr->length; crat_table 1283 drivers/gpu/drm/amd/amdkfd/kfd_crat.c crat_table->total_entries++; crat_table 1310 drivers/gpu/drm/amd/amdkfd/kfd_crat.c crat_table->length += sub_type_hdr->length; crat_table 1311 drivers/gpu/drm/amd/amdkfd/kfd_crat.c crat_table->total_entries++; crat_table 1314 drivers/gpu/drm/amd/amdkfd/kfd_crat.c *size = crat_table->length;