Home
last modified time | relevance | path

Searched refs:crat_image (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/amd/amdkfd/
Dkfd_crat.c482 int kfd_parse_crat_table(void *crat_image, struct list_head *device_list, in kfd_parse_crat_table() argument
489 struct crat_header *crat_table = (struct crat_header *)crat_image; in kfd_parse_crat_table()
493 if (!crat_image) in kfd_parse_crat_table()
525 ((char *)crat_image) + image_len) { in kfd_parse_crat_table()
747 int kfd_create_crat_image_acpi(void **crat_image, size_t *size) in kfd_create_crat_image_acpi() argument
753 if (!crat_image) in kfd_create_crat_image_acpi()
756 *crat_image = NULL; in kfd_create_crat_image_acpi()
779 *crat_image = pcrat_image; in kfd_create_crat_image_acpi()
1337 int kfd_create_crat_image_virtual(void **crat_image, size_t *size, in kfd_create_crat_image_virtual() argument
1344 if (!crat_image) in kfd_create_crat_image_virtual()
[all …]
Dkfd_crat.h319 int kfd_create_crat_image_acpi(void **crat_image, size_t *size);
320 void kfd_destroy_crat_image(void *crat_image);
321 int kfd_parse_crat_table(void *crat_image, struct list_head *device_list,
323 int kfd_create_crat_image_virtual(void **crat_image, size_t *size,
Dkfd_topology.c951 void *crat_image = NULL; in kfd_topology_init() local
985 ret = kfd_create_crat_image_acpi(&crat_image, &image_size); in kfd_topology_init()
987 ret = kfd_parse_crat_table(crat_image, in kfd_topology_init()
994 kfd_destroy_crat_image(crat_image); in kfd_topology_init()
995 crat_image = NULL; in kfd_topology_init()
999 if (!crat_image) { in kfd_topology_init()
1000 ret = kfd_create_crat_image_virtual(&crat_image, &image_size, in kfd_topology_init()
1009 ret = kfd_parse_crat_table(crat_image, in kfd_topology_init()
1050 kfd_destroy_crat_image(crat_image); in kfd_topology_init()
1197 void *crat_image = NULL; in kfd_topology_add_device() local
[all …]