Lines Matching defs:cp_hdr
1252 const struct gfx_firmware_header_v1_0 *cp_hdr;
1261 cp_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.pfp_fw->data;
1262 adev->gfx.pfp_fw_version = le32_to_cpu(cp_hdr->header.ucode_version);
1263 adev->gfx.pfp_feature_version = le32_to_cpu(cp_hdr->ucode_feature_version);
1272 cp_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.me_fw->data;
1273 adev->gfx.me_fw_version = le32_to_cpu(cp_hdr->header.ucode_version);
1274 adev->gfx.me_feature_version = le32_to_cpu(cp_hdr->ucode_feature_version);
1283 cp_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.ce_fw->data;
1284 adev->gfx.ce_fw_version = le32_to_cpu(cp_hdr->header.ucode_version);
1285 adev->gfx.ce_feature_version = le32_to_cpu(cp_hdr->ucode_feature_version);
1463 const struct gfx_firmware_header_v1_0 *cp_hdr;
1472 cp_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.mec_fw->data;
1473 adev->gfx.mec_fw_version = le32_to_cpu(cp_hdr->header.ucode_version);
1474 adev->gfx.mec_feature_version = le32_to_cpu(cp_hdr->ucode_feature_version);
1483 cp_hdr = (const struct gfx_firmware_header_v1_0 *)
1486 le32_to_cpu(cp_hdr->header.ucode_version);
1488 le32_to_cpu(cp_hdr->ucode_feature_version);
1499 cp_hdr = (const struct gfx_firmware_header_v1_0 *)info->fw->data;
1501 ALIGN(le32_to_cpu(header->ucode_size_bytes) - le32_to_cpu(cp_hdr->jt_size) * 4, PAGE_SIZE);
1507 ALIGN(le32_to_cpu(cp_hdr->jt_size) * 4, PAGE_SIZE);
1514 cp_hdr = (const struct gfx_firmware_header_v1_0 *)info->fw->data;
1516 ALIGN(le32_to_cpu(header->ucode_size_bytes) - le32_to_cpu(cp_hdr->jt_size) * 4, PAGE_SIZE);
1526 ALIGN(le32_to_cpu(cp_hdr->jt_size) * 4,