Lines Matching refs:ihdr
213 struct ip_discovery_header *ihdr; in amdgpu_discovery_init() local
266 ihdr = (struct ip_discovery_header *)(adev->mman.discovery_bin + offset); in amdgpu_discovery_init()
268 if (le32_to_cpu(ihdr->signature) != DISCOVERY_TABLE_SIGNATURE) { in amdgpu_discovery_init()
275 le16_to_cpu(ihdr->size), checksum)) { in amdgpu_discovery_init()
327 struct ip_discovery_header *ihdr; in amdgpu_discovery_reg_base_init() local
346 ihdr = (struct ip_discovery_header *)(adev->mman.discovery_bin + in amdgpu_discovery_reg_base_init()
348 num_dies = le16_to_cpu(ihdr->num_dies); in amdgpu_discovery_reg_base_init()
353 die_offset = le16_to_cpu(ihdr->die_info[i].die_offset); in amdgpu_discovery_reg_base_init()
431 struct ip_discovery_header *ihdr; in amdgpu_discovery_get_ip_version() local
446 ihdr = (struct ip_discovery_header *)(adev->mman.discovery_bin + in amdgpu_discovery_get_ip_version()
448 num_dies = le16_to_cpu(ihdr->num_dies); in amdgpu_discovery_get_ip_version()
451 die_offset = le16_to_cpu(ihdr->die_info[i].die_offset); in amdgpu_discovery_get_ip_version()