Lines Matching refs:bhdr
163 struct binary_header *bhdr; in amdgpu_discovery_init() local
182 bhdr = (struct binary_header *)adev->mman.discovery_bin; in amdgpu_discovery_init()
184 if (le32_to_cpu(bhdr->binary_signature) != BINARY_SIGNATURE) { in amdgpu_discovery_init()
191 sizeof(bhdr->binary_checksum); in amdgpu_discovery_init()
192 size = bhdr->binary_size - offset; in amdgpu_discovery_init()
193 checksum = bhdr->binary_checksum; in amdgpu_discovery_init()
202 info = &bhdr->table_list[IP_DISCOVERY]; in amdgpu_discovery_init()
220 info = &bhdr->table_list[GC]; in amdgpu_discovery_init()
249 struct binary_header *bhdr; in amdgpu_discovery_reg_base_init() local
268 bhdr = (struct binary_header *)adev->mman.discovery_bin; in amdgpu_discovery_reg_base_init()
270 le16_to_cpu(bhdr->table_list[IP_DISCOVERY].offset)); in amdgpu_discovery_reg_base_init()
330 struct binary_header *bhdr; in amdgpu_discovery_get_ip_version() local
345 bhdr = (struct binary_header *)adev->mman.discovery_bin; in amdgpu_discovery_get_ip_version()
347 le16_to_cpu(bhdr->table_list[IP_DISCOVERY].offset)); in amdgpu_discovery_get_ip_version()
377 struct binary_header *bhdr; in amdgpu_discovery_get_gfx_info() local
385 bhdr = (struct binary_header *)adev->mman.discovery_bin; in amdgpu_discovery_get_gfx_info()
387 le16_to_cpu(bhdr->table_list[GC].offset)); in amdgpu_discovery_get_gfx_info()