Lines Matching refs:die_offset
530 uint16_t die_offset, ip_offset, num_dies, num_ips; in amdgpu_discovery_read_harvest_bit_per_ip() local
540 die_offset = le16_to_cpu(ihdr->die_info[i].die_offset); in amdgpu_discovery_read_harvest_bit_per_ip()
541 dhdr = (struct die_header *)(adev->mman.discovery_bin + die_offset); in amdgpu_discovery_read_harvest_bit_per_ip()
543 ip_offset = die_offset + sizeof(*dhdr); in amdgpu_discovery_read_harvest_bit_per_ip()
1036 u16 num_dies, die_offset, num_ips; in amdgpu_discovery_sysfs_recurse() local
1050 die_offset = le16_to_cpu(ihdr->die_info[ii].die_offset); in amdgpu_discovery_sysfs_recurse()
1051 dhdr = (struct die_header *)(adev->mman.discovery_bin + die_offset); in amdgpu_discovery_sysfs_recurse()
1053 ip_offset = die_offset + sizeof(*dhdr); in amdgpu_discovery_sysfs_recurse()
1191 uint16_t die_offset; in amdgpu_discovery_reg_base_init() local
1218 die_offset = le16_to_cpu(ihdr->die_info[i].die_offset); in amdgpu_discovery_reg_base_init()
1219 dhdr = (struct die_header *)(adev->mman.discovery_bin + die_offset); in amdgpu_discovery_reg_base_init()
1221 ip_offset = die_offset + sizeof(*dhdr); in amdgpu_discovery_reg_base_init()