Searched refs:cp_hdr (Results 1 – 7 of 7) sorted by relevance
1083 le32_to_cpu(cp_hdr->header.ucode_version); in amdgpu_gfx_cp_init_microcode()1085 le32_to_cpu(cp_hdr->ucode_feature_version); in amdgpu_gfx_cp_init_microcode()1110 le32_to_cpu(cp_hdr->header.ucode_version); in amdgpu_gfx_cp_init_microcode()1112 le32_to_cpu(cp_hdr->ucode_feature_version); in amdgpu_gfx_cp_init_microcode()1137 le32_to_cpu(cp_hdr->header.ucode_version); in amdgpu_gfx_cp_init_microcode()1147 le32_to_cpu(cp_hdr->header.ucode_version); in amdgpu_gfx_cp_init_microcode()1152 le32_to_cpu(cp_hdr->jt_size) * 4; in amdgpu_gfx_cp_init_microcode()1158 fw_size = le32_to_cpu(cp_hdr->jt_size) * 4; in amdgpu_gfx_cp_init_microcode()1164 le32_to_cpu(cp_hdr->header.ucode_version); in amdgpu_gfx_cp_init_microcode()1169 le32_to_cpu(cp_hdr->jt_size) * 4; in amdgpu_gfx_cp_init_microcode()[all …]
745 const struct gfx_firmware_header_v1_0 *cp_hdr = NULL; in amdgpu_ucode_init_single_fw() local764 cp_hdr = (const struct gfx_firmware_header_v1_0 *)ucode->fw->data; in amdgpu_ucode_init_single_fw()787 le32_to_cpu(cp_hdr->jt_size) * 4; in amdgpu_ucode_init_single_fw()793 ucode->ucode_size = le32_to_cpu(cp_hdr->jt_size) * 4; in amdgpu_ucode_init_single_fw()796 le32_to_cpu(cp_hdr->jt_offset) * 4; in amdgpu_ucode_init_single_fw()1048 const struct gfx_firmware_header_v1_0 *cp_hdr; in amdgpu_ucode_init_bo() local1050 cp_hdr = (const struct gfx_firmware_header_v1_0 *)ucode->fw->data; in amdgpu_ucode_init_bo()1053 fw_offset += ALIGN(le32_to_cpu(cp_hdr->jt_size) << 2, PAGE_SIZE); in amdgpu_ucode_init_bo()
316 const struct gfx_firmware_header_v1_0 *cp_hdr; in gfx_v6_0_init_microcode() local344 cp_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.pfp_fw->data; in gfx_v6_0_init_microcode()345 adev->gfx.pfp_fw_version = le32_to_cpu(cp_hdr->header.ucode_version); in gfx_v6_0_init_microcode()346 adev->gfx.pfp_feature_version = le32_to_cpu(cp_hdr->ucode_feature_version); in gfx_v6_0_init_microcode()352 cp_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.me_fw->data; in gfx_v6_0_init_microcode()353 adev->gfx.me_fw_version = le32_to_cpu(cp_hdr->header.ucode_version); in gfx_v6_0_init_microcode()354 adev->gfx.me_feature_version = le32_to_cpu(cp_hdr->ucode_feature_version); in gfx_v6_0_init_microcode()360 cp_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.ce_fw->data; in gfx_v6_0_init_microcode()361 adev->gfx.ce_fw_version = le32_to_cpu(cp_hdr->header.ucode_version); in gfx_v6_0_init_microcode()362 adev->gfx.ce_feature_version = le32_to_cpu(cp_hdr->ucode_feature_version); in gfx_v6_0_init_microcode()
946 const struct gfx_firmware_header_v1_0 *cp_hdr; in gfx_v8_0_init_microcode() local998 adev->gfx.pfp_fw_version = le32_to_cpu(cp_hdr->header.ucode_version); in gfx_v8_0_init_microcode()1014 cp_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.me_fw->data; in gfx_v8_0_init_microcode()1015 adev->gfx.me_fw_version = le32_to_cpu(cp_hdr->header.ucode_version); in gfx_v8_0_init_microcode()1032 cp_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.ce_fw->data; in gfx_v8_0_init_microcode()1033 adev->gfx.ce_fw_version = le32_to_cpu(cp_hdr->header.ucode_version); in gfx_v8_0_init_microcode()1109 adev->gfx.mec_fw_version = le32_to_cpu(cp_hdr->header.ucode_version); in gfx_v8_0_init_microcode()1126 cp_hdr = (const struct gfx_firmware_header_v1_0 *) in gfx_v8_0_init_microcode()1129 le32_to_cpu(cp_hdr->header.ucode_version); in gfx_v8_0_init_microcode()1131 le32_to_cpu(cp_hdr->ucode_feature_version); in gfx_v8_0_init_microcode()[all …]
1086 const struct gfx_firmware_header_v1_0 *cp_hdr; in gfx_v11_0_rlc_backdoor_autoload_copy_gfx_ucode() local1150 cp_hdr = (const struct gfx_firmware_header_v1_0 *) in gfx_v11_0_rlc_backdoor_autoload_copy_gfx_ucode()1153 le32_to_cpu(cp_hdr->header.ucode_array_offset_bytes)); in gfx_v11_0_rlc_backdoor_autoload_copy_gfx_ucode()1154 fw_size = le32_to_cpu(cp_hdr->header.ucode_size_bytes); in gfx_v11_0_rlc_backdoor_autoload_copy_gfx_ucode()1159 cp_hdr = (const struct gfx_firmware_header_v1_0 *) in gfx_v11_0_rlc_backdoor_autoload_copy_gfx_ucode()1162 le32_to_cpu(cp_hdr->header.ucode_array_offset_bytes)); in gfx_v11_0_rlc_backdoor_autoload_copy_gfx_ucode()1163 fw_size = le32_to_cpu(cp_hdr->header.ucode_size_bytes); in gfx_v11_0_rlc_backdoor_autoload_copy_gfx_ucode()1168 cp_hdr = (const struct gfx_firmware_header_v1_0 *) in gfx_v11_0_rlc_backdoor_autoload_copy_gfx_ucode()1171 le32_to_cpu(cp_hdr->header.ucode_array_offset_bytes)); in gfx_v11_0_rlc_backdoor_autoload_copy_gfx_ucode()1172 fw_size = le32_to_cpu(cp_hdr->header.ucode_size_bytes) - in gfx_v11_0_rlc_backdoor_autoload_copy_gfx_ucode()[all …]
5340 const struct gfx_firmware_header_v1_0 *cp_hdr; in gfx_v10_0_rlc_backdoor_autoload_copy_gfx_ucode() local5344 cp_hdr = (const struct gfx_firmware_header_v1_0 *) in gfx_v10_0_rlc_backdoor_autoload_copy_gfx_ucode()5347 le32_to_cpu(cp_hdr->header.ucode_array_offset_bytes)); in gfx_v10_0_rlc_backdoor_autoload_copy_gfx_ucode()5348 fw_size = le32_to_cpu(cp_hdr->header.ucode_size_bytes); in gfx_v10_0_rlc_backdoor_autoload_copy_gfx_ucode()5354 cp_hdr = (const struct gfx_firmware_header_v1_0 *) in gfx_v10_0_rlc_backdoor_autoload_copy_gfx_ucode()5357 le32_to_cpu(cp_hdr->header.ucode_array_offset_bytes)); in gfx_v10_0_rlc_backdoor_autoload_copy_gfx_ucode()5358 fw_size = le32_to_cpu(cp_hdr->header.ucode_size_bytes); in gfx_v10_0_rlc_backdoor_autoload_copy_gfx_ucode()5364 cp_hdr = (const struct gfx_firmware_header_v1_0 *) in gfx_v10_0_rlc_backdoor_autoload_copy_gfx_ucode()5367 le32_to_cpu(cp_hdr->header.ucode_array_offset_bytes)); in gfx_v10_0_rlc_backdoor_autoload_copy_gfx_ucode()5384 cp_hdr = (const struct gfx_firmware_header_v1_0 *) in gfx_v10_0_rlc_backdoor_autoload_copy_gfx_ucode()[all …]
53 u32 cp_pay, u32 cp_hdr) in set_dynamic_sa_command_1() argument66 sa->sa_command_1.bf.copy_hdr = cp_hdr; in set_dynamic_sa_command_1()