Lines Matching defs:hdr
120 const struct common_firmware_header *hdr;
154 hdr = (const struct common_firmware_header *)adev->vcn.fw[0]->data;
155 adev->vcn.fw_version = le32_to_cpu(hdr->ucode_version);
163 fw_check = (le32_to_cpu(hdr->ucode_version) >> 20) & 0xf;
167 fw_rev = le32_to_cpu(hdr->ucode_version) & 0xfff;
168 enc_minor = (le32_to_cpu(hdr->ucode_version) >> 12) & 0xff;
170 dec_ver = (le32_to_cpu(hdr->ucode_version) >> 24) & 0xf;
171 vep = (le32_to_cpu(hdr->ucode_version) >> 28) & 0xf;
177 family_id = le32_to_cpu(hdr->ucode_version) & 0xff;
178 version_major = (le32_to_cpu(hdr->ucode_version) >> 24) & 0xff;
179 version_minor = (le32_to_cpu(hdr->ucode_version) >> 8) & 0xff;
186 bo_size += AMDGPU_GPU_PAGE_ALIGN(le32_to_cpu(hdr->ucode_size_bytes) + 8);
368 const struct common_firmware_header *hdr;
371 hdr = (const struct common_firmware_header *)adev->vcn.fw[i]->data;
373 offset = le32_to_cpu(hdr->ucode_array_offset_bytes);
377 le32_to_cpu(hdr->ucode_size_bytes));
380 size -= le32_to_cpu(hdr->ucode_size_bytes);
381 ptr += le32_to_cpu(hdr->ucode_size_bytes);
1059 const struct common_firmware_header *hdr;
1065 hdr = (const struct common_firmware_header *)adev->vcn.fw[i]->data;
1075 ALIGN(le32_to_cpu(hdr->ucode_size_bytes), PAGE_SIZE);