Lines Matching defs:cp_hdr
663 const struct gfx_firmware_header_v1_0 *cp_hdr;
697 cp_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.pfp_fw->data;
698 adev->gfx.pfp_fw_version = le32_to_cpu(cp_hdr->header.ucode_version);
699 adev->gfx.pfp_feature_version = le32_to_cpu(cp_hdr->ucode_feature_version);
708 cp_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.me_fw->data;
709 adev->gfx.me_fw_version = le32_to_cpu(cp_hdr->header.ucode_version);
710 adev->gfx.me_feature_version = le32_to_cpu(cp_hdr->ucode_feature_version);
719 cp_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.ce_fw->data;
720 adev->gfx.ce_fw_version = le32_to_cpu(cp_hdr->header.ucode_version);
721 adev->gfx.ce_feature_version = le32_to_cpu(cp_hdr->ucode_feature_version);
786 cp_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.mec_fw->data;
787 adev->gfx.mec_fw_version = le32_to_cpu(cp_hdr->header.ucode_version);
788 adev->gfx.mec_feature_version = le32_to_cpu(cp_hdr->ucode_feature_version);
796 cp_hdr = (const struct gfx_firmware_header_v1_0 *)
799 le32_to_cpu(cp_hdr->header.ucode_version);
801 le32_to_cpu(cp_hdr->ucode_feature_version);
864 cp_hdr = (const struct gfx_firmware_header_v1_0 *)info->fw->data;
867 le32_to_cpu(cp_hdr->jt_size) * 4, PAGE_SIZE);
873 ALIGN(le32_to_cpu(cp_hdr->jt_size) * 4, PAGE_SIZE);
880 cp_hdr = (const struct gfx_firmware_header_v1_0 *)info->fw->data;
883 le32_to_cpu(cp_hdr->jt_size) * 4,
889 ALIGN(le32_to_cpu(cp_hdr->jt_size) * 4,
2078 const struct gfx_firmware_header_v1_0 *cp_hdr;
2082 cp_hdr = (const struct gfx_firmware_header_v1_0 *)
2085 le32_to_cpu(cp_hdr->header.ucode_array_offset_bytes));
2086 fw_size = le32_to_cpu(cp_hdr->header.ucode_size_bytes);
2092 cp_hdr = (const struct gfx_firmware_header_v1_0 *)
2095 le32_to_cpu(cp_hdr->header.ucode_array_offset_bytes));
2096 fw_size = le32_to_cpu(cp_hdr->header.ucode_size_bytes);
2102 cp_hdr = (const struct gfx_firmware_header_v1_0 *)
2105 le32_to_cpu(cp_hdr->header.ucode_array_offset_bytes));
2106 fw_size = le32_to_cpu(cp_hdr->header.ucode_size_bytes);
2122 cp_hdr = (const struct gfx_firmware_header_v1_0 *)
2125 le32_to_cpu(cp_hdr->header.ucode_array_offset_bytes));
2126 fw_size = le32_to_cpu(cp_hdr->header.ucode_size_bytes) -
2127 cp_hdr->jt_size * 4;