Searched refs:crat_image (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_crat.h | 320 int kfd_create_crat_image_acpi(void **crat_image, size_t *size); 321 void kfd_destroy_crat_image(void *crat_image); 322 int kfd_parse_crat_table(void *crat_image, struct list_head *device_list, 324 int kfd_create_crat_image_virtual(void **crat_image, size_t *size,
|
D | kfd_crat.c | 1233 int kfd_parse_crat_table(void *crat_image, struct list_head *device_list, in kfd_parse_crat_table() argument 1240 struct crat_header *crat_table = (struct crat_header *)crat_image; in kfd_parse_crat_table() 1244 if (!crat_image) in kfd_parse_crat_table() 1276 ((char *)crat_image) + image_len) { in kfd_parse_crat_table() 1737 int kfd_create_crat_image_acpi(void **crat_image, size_t *size) in kfd_create_crat_image_acpi() argument 1744 if (!crat_image) in kfd_create_crat_image_acpi() 1747 *crat_image = NULL; in kfd_create_crat_image_acpi() 1773 *crat_image = pcrat_image; in kfd_create_crat_image_acpi() 2454 int kfd_create_crat_image_virtual(void **crat_image, size_t *size, in kfd_create_crat_image_virtual() argument 2462 if (!crat_image) in kfd_create_crat_image_virtual() [all …]
|
D | kfd_topology.c | 1050 void *crat_image = NULL; in kfd_topology_init() local 1084 ret = kfd_create_crat_image_acpi(&crat_image, &image_size); in kfd_topology_init() 1086 ret = kfd_parse_crat_table(crat_image, in kfd_topology_init() 1093 kfd_destroy_crat_image(crat_image); in kfd_topology_init() 1094 crat_image = NULL; in kfd_topology_init() 1098 if (!crat_image) { in kfd_topology_init() 1099 ret = kfd_create_crat_image_virtual(&crat_image, &image_size, in kfd_topology_init() 1108 ret = kfd_parse_crat_table(crat_image, in kfd_topology_init() 1148 kfd_destroy_crat_image(crat_image); in kfd_topology_init() 1603 void *crat_image = NULL; in kfd_topology_add_device() local [all …]
|