Home
last modified time | relevance | path

Searched refs:harvest_info (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/drivers/gpu/drm/amd/include/
Ddiscovery.h318 typedef struct harvest_info { struct
322 } harvest_info; argument
326 harvest_info list[32];
/Linux-v6.6/drivers/gpu/drm/amd/amdgpu/
Damdgpu_discovery.c590 struct harvest_table *harvest_info; in amdgpu_discovery_read_from_harvest_table() local
603 harvest_info = (struct harvest_table *)(adev->mman.discovery_bin + offset); in amdgpu_discovery_read_from_harvest_table()
606 if (le16_to_cpu(harvest_info->list[i].hw_id) == 0) in amdgpu_discovery_read_from_harvest_table()
609 switch (le16_to_cpu(harvest_info->list[i].hw_id)) { in amdgpu_discovery_read_from_harvest_table()
613 (1 << harvest_info->list[i].number_instance); in amdgpu_discovery_read_from_harvest_table()
615 (1 << harvest_info->list[i].number_instance); in amdgpu_discovery_read_from_harvest_table()
618 ~(1U << harvest_info->list[i].number_instance); in amdgpu_discovery_read_from_harvest_table()
620 ~(1U << harvest_info->list[i].number_instance); in amdgpu_discovery_read_from_harvest_table()
627 1 << (le16_to_cpu(harvest_info->list[i].number_instance)); in amdgpu_discovery_read_from_harvest_table()
632 ~(1U << harvest_info->list[i].number_instance); in amdgpu_discovery_read_from_harvest_table()
[all …]