Lines Matching defs:hdr
70 const struct smc_firmware_header_v1_0 *hdr;
86 hdr = (const struct smc_firmware_header_v1_0 *) adev->pm.fw->data;
87 amdgpu_ucode_print_smc_hdr(&hdr->header);
88 adev->pm.fw_version = le32_to_cpu(hdr->header.ucode_version);
117 const struct smc_firmware_header_v1_0 *hdr;
123 hdr = (const struct smc_firmware_header_v1_0 *) adev->pm.fw->data;
125 le32_to_cpu(hdr->header.ucode_array_offset_bytes));
126 smc_fw_size = hdr->header.ucode_size_bytes;
356 const struct smc_firmware_header_v1_0 *hdr;
361 hdr = (const struct smc_firmware_header_v1_0 *) adev->pm.fw->data;
362 if (!hdr)
367 version_major = le16_to_cpu(hdr->header.header_version_major);
368 version_minor = le16_to_cpu(hdr->header.header_version_minor);