Lines Matching refs:die_offset
495 uint16_t die_offset, ip_offset, num_dies, num_ips; in amdgpu_discovery_read_harvest_bit_per_ip() local
505 die_offset = le16_to_cpu(ihdr->die_info[i].die_offset); in amdgpu_discovery_read_harvest_bit_per_ip()
506 dhdr = (struct die_header *)(adev->mman.discovery_bin + die_offset); in amdgpu_discovery_read_harvest_bit_per_ip()
508 ip_offset = die_offset + sizeof(*dhdr); in amdgpu_discovery_read_harvest_bit_per_ip()
932 u16 num_dies, die_offset, num_ips; in amdgpu_discovery_sysfs_recurse() local
946 die_offset = le16_to_cpu(ihdr->die_info[ii].die_offset); in amdgpu_discovery_sysfs_recurse()
947 dhdr = (struct die_header *)(adev->mman.discovery_bin + die_offset); in amdgpu_discovery_sysfs_recurse()
949 ip_offset = die_offset + sizeof(*dhdr); in amdgpu_discovery_sysfs_recurse()
1084 uint16_t die_offset; in amdgpu_discovery_reg_base_init() local
1107 die_offset = le16_to_cpu(ihdr->die_info[i].die_offset); in amdgpu_discovery_reg_base_init()
1108 dhdr = (struct die_header *)(adev->mman.discovery_bin + die_offset); in amdgpu_discovery_reg_base_init()
1110 ip_offset = die_offset + sizeof(*dhdr); in amdgpu_discovery_reg_base_init()
1216 uint16_t die_offset; in amdgpu_discovery_get_ip_version() local
1233 die_offset = le16_to_cpu(ihdr->die_info[i].die_offset); in amdgpu_discovery_get_ip_version()
1234 dhdr = (struct die_header *)(adev->mman.discovery_bin + die_offset); in amdgpu_discovery_get_ip_version()
1236 ip_offset = die_offset + sizeof(*dhdr); in amdgpu_discovery_get_ip_version()