Lines Matching refs:die_offset
611 uint16_t die_offset, ip_offset, num_dies, num_ips; in amdgpu_discovery_read_harvest_bit_per_ip() local
621 die_offset = le16_to_cpu(ihdr->die_info[i].die_offset); in amdgpu_discovery_read_harvest_bit_per_ip()
622 dhdr = (struct die_header *)(adev->mman.discovery_bin + die_offset); in amdgpu_discovery_read_harvest_bit_per_ip()
624 ip_offset = die_offset + sizeof(*dhdr); in amdgpu_discovery_read_harvest_bit_per_ip()
1123 u16 num_dies, die_offset, num_ips; in amdgpu_discovery_sysfs_recurse() local
1137 die_offset = le16_to_cpu(ihdr->die_info[ii].die_offset); in amdgpu_discovery_sysfs_recurse()
1138 dhdr = (struct die_header *)(adev->mman.discovery_bin + die_offset); in amdgpu_discovery_sysfs_recurse()
1140 ip_offset = die_offset + sizeof(*dhdr); in amdgpu_discovery_sysfs_recurse()
1279 uint16_t die_offset; in amdgpu_discovery_reg_base_init() local
1305 die_offset = le16_to_cpu(ihdr->die_info[i].die_offset); in amdgpu_discovery_reg_base_init()
1306 dhdr = (struct die_header *)(adev->mman.discovery_bin + die_offset); in amdgpu_discovery_reg_base_init()
1308 ip_offset = die_offset + sizeof(*dhdr); in amdgpu_discovery_reg_base_init()