Lines Matching refs:ihdr
165 struct ip_discovery_header *ihdr; in amdgpu_discovery_init() local
206 ihdr = (struct ip_discovery_header *)(adev->mman.discovery_bin + offset); in amdgpu_discovery_init()
208 if (le32_to_cpu(ihdr->signature) != DISCOVERY_TABLE_SIGNATURE) { in amdgpu_discovery_init()
215 ihdr->size, checksum)) { in amdgpu_discovery_init()
251 struct ip_discovery_header *ihdr; in amdgpu_discovery_reg_base_init() local
270 ihdr = (struct ip_discovery_header *)(adev->mman.discovery_bin + in amdgpu_discovery_reg_base_init()
272 num_dies = le16_to_cpu(ihdr->num_dies); in amdgpu_discovery_reg_base_init()
277 die_offset = le16_to_cpu(ihdr->die_info[i].die_offset); in amdgpu_discovery_reg_base_init()
335 struct ip_discovery_header *ihdr; in amdgpu_discovery_get_ip_version() local
350 ihdr = (struct ip_discovery_header *)(adev->mman.discovery_bin + in amdgpu_discovery_get_ip_version()
352 num_dies = le16_to_cpu(ihdr->num_dies); in amdgpu_discovery_get_ip_version()
355 die_offset = le16_to_cpu(ihdr->die_info[i].die_offset); in amdgpu_discovery_get_ip_version()