Lines Matching defs:hdr
527 /* check pfp fw hdr version to decide if enable rs64 for gfx11.*/
1859 const struct rlc_firmware_header_v2_0 *hdr;
1863 hdr = (const struct rlc_firmware_header_v2_0 *)adev->gfx.rlc_fw->data;
1865 le32_to_cpu(hdr->header.ucode_array_offset_bytes));
1866 fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4;
1880 const struct rlc_firmware_header_v2_2 *hdr;
1885 hdr = (const struct rlc_firmware_header_v2_2 *)adev->gfx.rlc_fw->data;
1888 le32_to_cpu(hdr->rlc_iram_ucode_offset_bytes));
1889 fw_size = le32_to_cpu(hdr->rlc_iram_ucode_size_bytes) / 4;
1903 le32_to_cpu(hdr->rlc_dram_ucode_offset_bytes));
1904 fw_size = le32_to_cpu(hdr->rlc_dram_ucode_size_bytes) / 4;
1924 const struct rlc_firmware_header_v2_3 *hdr;
1929 hdr = (const struct rlc_firmware_header_v2_3 *)adev->gfx.rlc_fw->data;
1932 le32_to_cpu(hdr->rlcp_ucode_offset_bytes));
1933 fw_size = le32_to_cpu(hdr->rlcp_ucode_size_bytes) / 4;
1951 le32_to_cpu(hdr->rlcv_ucode_offset_bytes));
1952 fw_size = le32_to_cpu(hdr->rlcv_ucode_size_bytes) / 4;
1972 const struct rlc_firmware_header_v2_0 *hdr;
1979 hdr = (const struct rlc_firmware_header_v2_0 *)adev->gfx.rlc_fw->data;
1980 amdgpu_ucode_print_rlc_hdr(&hdr->header);
1982 version_major = le16_to_cpu(hdr->header.header_version_major);
1983 version_minor = le16_to_cpu(hdr->header.header_version_minor);