Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/include/
H A Ddiscovery.h360 typedef struct harvest_info { struct
364 } harvest_info; argument
368 harvest_info list[32];
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_discovery.c673 struct harvest_table *harvest_info; in amdgpu_discovery_read_from_harvest_table() local
686 harvest_info = (struct harvest_table *)(adev->mman.discovery_bin + offset); in amdgpu_discovery_read_from_harvest_table()
689 if (le16_to_cpu(harvest_info->list[i].hw_id) == 0) in amdgpu_discovery_read_from_harvest_table()
692 switch (le16_to_cpu(harvest_info->list[i].hw_id)) { in amdgpu_discovery_read_from_harvest_table()
696 (1 << harvest_info->list[i].number_instance); in amdgpu_discovery_read_from_harvest_table()
698 (1 << harvest_info->list[i].number_instance); in amdgpu_discovery_read_from_harvest_table()
701 ~(1U << harvest_info->list[i].number_instance); in amdgpu_discovery_read_from_harvest_table()
703 ~(1U << harvest_info->list[i].number_instance); in amdgpu_discovery_read_from_harvest_table()
710 1 << (le16_to_cpu(harvest_info->list[i].number_instance)); in amdgpu_discovery_read_from_harvest_table()
715 ~(1U << harvest_info->list[i].number_instance); in amdgpu_discovery_read_from_harvest_table()
[all …]