Lines Matching refs:bhdr

164 	struct binary_header *bhdr;  in amdgpu_discovery_init()  local
183 bhdr = (struct binary_header *)adev->mman.discovery_bin; in amdgpu_discovery_init()
185 if (le32_to_cpu(bhdr->binary_signature) != BINARY_SIGNATURE) { in amdgpu_discovery_init()
192 sizeof(bhdr->binary_checksum); in amdgpu_discovery_init()
193 size = bhdr->binary_size - offset; in amdgpu_discovery_init()
194 checksum = bhdr->binary_checksum; in amdgpu_discovery_init()
203 info = &bhdr->table_list[IP_DISCOVERY]; in amdgpu_discovery_init()
221 info = &bhdr->table_list[GC]; in amdgpu_discovery_init()
250 struct binary_header *bhdr; in amdgpu_discovery_reg_base_init() local
269 bhdr = (struct binary_header *)adev->mman.discovery_bin; in amdgpu_discovery_reg_base_init()
271 le16_to_cpu(bhdr->table_list[IP_DISCOVERY].offset)); in amdgpu_discovery_reg_base_init()
334 struct binary_header *bhdr; in amdgpu_discovery_get_ip_version() local
349 bhdr = (struct binary_header *)adev->mman.discovery_bin; in amdgpu_discovery_get_ip_version()
351 le16_to_cpu(bhdr->table_list[IP_DISCOVERY].offset)); in amdgpu_discovery_get_ip_version()
389 struct binary_header *bhdr; in amdgpu_discovery_harvest_ip() local
393 bhdr = (struct binary_header *)adev->mman.discovery_bin; in amdgpu_discovery_harvest_ip()
395 le16_to_cpu(bhdr->table_list[HARVEST_INFO].offset)); in amdgpu_discovery_harvest_ip()
420 struct binary_header *bhdr; in amdgpu_discovery_get_gfx_info() local
428 bhdr = (struct binary_header *)adev->mman.discovery_bin; in amdgpu_discovery_get_gfx_info()
430 le16_to_cpu(bhdr->table_list[GC].offset)); in amdgpu_discovery_get_gfx_info()