Lines Matching refs:bhdr
174 struct binary_header *bhdr; in amdgpu_discovery_init() local
192 bhdr = (struct binary_header *)adev->discovery; in amdgpu_discovery_init()
194 if (le32_to_cpu(bhdr->binary_signature) != BINARY_SIGNATURE) { in amdgpu_discovery_init()
201 sizeof(bhdr->binary_checksum); in amdgpu_discovery_init()
202 size = bhdr->binary_size - offset; in amdgpu_discovery_init()
203 checksum = bhdr->binary_checksum; in amdgpu_discovery_init()
212 info = &bhdr->table_list[IP_DISCOVERY]; in amdgpu_discovery_init()
230 info = &bhdr->table_list[GC]; in amdgpu_discovery_init()
259 struct binary_header *bhdr; in amdgpu_discovery_reg_base_init() local
276 bhdr = (struct binary_header *)adev->discovery; in amdgpu_discovery_reg_base_init()
278 le16_to_cpu(bhdr->table_list[IP_DISCOVERY].offset)); in amdgpu_discovery_reg_base_init()
338 struct binary_header *bhdr; in amdgpu_discovery_get_ip_version() local
353 bhdr = (struct binary_header *)adev->discovery; in amdgpu_discovery_get_ip_version()
355 le16_to_cpu(bhdr->table_list[IP_DISCOVERY].offset)); in amdgpu_discovery_get_ip_version()
383 struct binary_header *bhdr; in amdgpu_discovery_get_gfx_info() local
391 bhdr = (struct binary_header *)adev->discovery; in amdgpu_discovery_get_gfx_info()
393 le16_to_cpu(bhdr->table_list[GC].offset)); in amdgpu_discovery_get_gfx_info()