Lines Matching refs:bhdr

212 	struct binary_header *bhdr;  in amdgpu_discovery_init()  local
243 bhdr = (struct binary_header *)adev->mman.discovery_bin; in amdgpu_discovery_init()
245 if (le32_to_cpu(bhdr->binary_signature) != BINARY_SIGNATURE) { in amdgpu_discovery_init()
252 sizeof(bhdr->binary_checksum); in amdgpu_discovery_init()
253 size = le16_to_cpu(bhdr->binary_size) - offset; in amdgpu_discovery_init()
254 checksum = le16_to_cpu(bhdr->binary_checksum); in amdgpu_discovery_init()
263 info = &bhdr->table_list[IP_DISCOVERY]; in amdgpu_discovery_init()
281 info = &bhdr->table_list[GC]; in amdgpu_discovery_init()
326 struct binary_header *bhdr; in amdgpu_discovery_reg_base_init() local
345 bhdr = (struct binary_header *)adev->mman.discovery_bin; in amdgpu_discovery_reg_base_init()
347 le16_to_cpu(bhdr->table_list[IP_DISCOVERY].offset)); in amdgpu_discovery_reg_base_init()
430 struct binary_header *bhdr; in amdgpu_discovery_get_ip_version() local
445 bhdr = (struct binary_header *)adev->mman.discovery_bin; in amdgpu_discovery_get_ip_version()
447 le16_to_cpu(bhdr->table_list[IP_DISCOVERY].offset)); in amdgpu_discovery_get_ip_version()
485 struct binary_header *bhdr; in amdgpu_discovery_harvest_ip() local
489 bhdr = (struct binary_header *)adev->mman.discovery_bin; in amdgpu_discovery_harvest_ip()
491 le16_to_cpu(bhdr->table_list[HARVEST_INFO].offset)); in amdgpu_discovery_harvest_ip()
536 struct binary_header *bhdr; in amdgpu_discovery_get_gfx_info() local
544 bhdr = (struct binary_header *)adev->mman.discovery_bin; in amdgpu_discovery_get_gfx_info()
546 le16_to_cpu(bhdr->table_list[GC].offset)); in amdgpu_discovery_get_gfx_info()