Searched refs:cp_hdr (Results 1 – 8 of 8) sorted by relevance
1164 const struct gfx_firmware_header_v1_0 *cp_hdr; in amdgpu_gfx_cp_init_microcode() local1172 cp_hdr = (const struct gfx_firmware_header_v1_0 *) in amdgpu_gfx_cp_init_microcode()1175 le32_to_cpu(cp_hdr->header.ucode_version); in amdgpu_gfx_cp_init_microcode()1177 le32_to_cpu(cp_hdr->ucode_feature_version); in amdgpu_gfx_cp_init_microcode()1179 fw_size = le32_to_cpu(cp_hdr->header.ucode_size_bytes); in amdgpu_gfx_cp_init_microcode()1199 cp_hdr = (const struct gfx_firmware_header_v1_0 *) in amdgpu_gfx_cp_init_microcode()1202 le32_to_cpu(cp_hdr->header.ucode_version); in amdgpu_gfx_cp_init_microcode()1204 le32_to_cpu(cp_hdr->ucode_feature_version); in amdgpu_gfx_cp_init_microcode()1206 fw_size = le32_to_cpu(cp_hdr->header.ucode_size_bytes); in amdgpu_gfx_cp_init_microcode()1226 cp_hdr = (const struct gfx_firmware_header_v1_0 *) in amdgpu_gfx_cp_init_microcode()[all …]
822 const struct gfx_firmware_header_v1_0 *cp_hdr = NULL; in amdgpu_ucode_init_single_fw() local844 cp_hdr = (const struct gfx_firmware_header_v1_0 *)ucode->fw->data; in amdgpu_ucode_init_single_fw()875 le32_to_cpu(cp_hdr->jt_size) * 4; in amdgpu_ucode_init_single_fw()881 ucode->ucode_size = le32_to_cpu(cp_hdr->jt_size) * 4; in amdgpu_ucode_init_single_fw()884 le32_to_cpu(cp_hdr->jt_offset) * 4; in amdgpu_ucode_init_single_fw()1162 const struct gfx_firmware_header_v1_0 *cp_hdr; in amdgpu_ucode_init_bo() local1164 cp_hdr = (const struct gfx_firmware_header_v1_0 *)ucode->fw->data; in amdgpu_ucode_init_bo()1167 fw_offset += ALIGN(le32_to_cpu(cp_hdr->jt_size) << 2, PAGE_SIZE); in amdgpu_ucode_init_bo()
315 const struct gfx_firmware_header_v1_0 *cp_hdr; in gfx_v6_0_init_microcode() local343 cp_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.pfp_fw->data; in gfx_v6_0_init_microcode()344 adev->gfx.pfp_fw_version = le32_to_cpu(cp_hdr->header.ucode_version); in gfx_v6_0_init_microcode()345 adev->gfx.pfp_feature_version = le32_to_cpu(cp_hdr->ucode_feature_version); in gfx_v6_0_init_microcode()351 cp_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.me_fw->data; in gfx_v6_0_init_microcode()352 adev->gfx.me_fw_version = le32_to_cpu(cp_hdr->header.ucode_version); in gfx_v6_0_init_microcode()353 adev->gfx.me_feature_version = le32_to_cpu(cp_hdr->ucode_feature_version); in gfx_v6_0_init_microcode()359 cp_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.ce_fw->data; in gfx_v6_0_init_microcode()360 adev->gfx.ce_fw_version = le32_to_cpu(cp_hdr->header.ucode_version); in gfx_v6_0_init_microcode()361 adev->gfx.ce_feature_version = le32_to_cpu(cp_hdr->ucode_feature_version); in gfx_v6_0_init_microcode()
945 const struct gfx_firmware_header_v1_0 *cp_hdr; in gfx_v8_0_init_microcode() local996 cp_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.pfp_fw->data; in gfx_v8_0_init_microcode()997 adev->gfx.pfp_fw_version = le32_to_cpu(cp_hdr->header.ucode_version); in gfx_v8_0_init_microcode()998 adev->gfx.pfp_feature_version = le32_to_cpu(cp_hdr->ucode_feature_version); in gfx_v8_0_init_microcode()1013 cp_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.me_fw->data; in gfx_v8_0_init_microcode()1014 adev->gfx.me_fw_version = le32_to_cpu(cp_hdr->header.ucode_version); in gfx_v8_0_init_microcode()1016 adev->gfx.me_feature_version = le32_to_cpu(cp_hdr->ucode_feature_version); in gfx_v8_0_init_microcode()1031 cp_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.ce_fw->data; in gfx_v8_0_init_microcode()1032 adev->gfx.ce_fw_version = le32_to_cpu(cp_hdr->header.ucode_version); in gfx_v8_0_init_microcode()1033 adev->gfx.ce_feature_version = le32_to_cpu(cp_hdr->ucode_feature_version); in gfx_v8_0_init_microcode()[all …]
2055 const struct gfx_firmware_header_v2_0 *cp_hdr; in gfx_v12_0_set_pfp_ucode_start_addr() local2058 cp_hdr = (const struct gfx_firmware_header_v2_0 *) in gfx_v12_0_set_pfp_ucode_start_addr()2064 (cp_hdr->ucode_start_addr_hi << 30) | in gfx_v12_0_set_pfp_ucode_start_addr()2065 (cp_hdr->ucode_start_addr_lo >> 2)); in gfx_v12_0_set_pfp_ucode_start_addr()2067 cp_hdr->ucode_start_addr_hi>>2); in gfx_v12_0_set_pfp_ucode_start_addr()2097 const struct gfx_firmware_header_v2_0 *cp_hdr; in gfx_v12_0_set_me_ucode_start_addr() local2100 cp_hdr = (const struct gfx_firmware_header_v2_0 *) in gfx_v12_0_set_me_ucode_start_addr()2106 (cp_hdr->ucode_start_addr_hi << 30) | in gfx_v12_0_set_me_ucode_start_addr()2107 (cp_hdr->ucode_start_addr_lo >> 2) ); in gfx_v12_0_set_me_ucode_start_addr()2109 cp_hdr->ucode_start_addr_hi>>2); in gfx_v12_0_set_me_ucode_start_addr()[all …]
1278 const struct gfx_firmware_header_v1_0 *cp_hdr; in gfx_v11_0_rlc_backdoor_autoload_copy_gfx_ucode() local1342 cp_hdr = (const struct gfx_firmware_header_v1_0 *) in gfx_v11_0_rlc_backdoor_autoload_copy_gfx_ucode()1345 le32_to_cpu(cp_hdr->header.ucode_array_offset_bytes)); in gfx_v11_0_rlc_backdoor_autoload_copy_gfx_ucode()1346 fw_size = le32_to_cpu(cp_hdr->header.ucode_size_bytes); in gfx_v11_0_rlc_backdoor_autoload_copy_gfx_ucode()1351 cp_hdr = (const struct gfx_firmware_header_v1_0 *) in gfx_v11_0_rlc_backdoor_autoload_copy_gfx_ucode()1354 le32_to_cpu(cp_hdr->header.ucode_array_offset_bytes)); in gfx_v11_0_rlc_backdoor_autoload_copy_gfx_ucode()1355 fw_size = le32_to_cpu(cp_hdr->header.ucode_size_bytes); in gfx_v11_0_rlc_backdoor_autoload_copy_gfx_ucode()1360 cp_hdr = (const struct gfx_firmware_header_v1_0 *) in gfx_v11_0_rlc_backdoor_autoload_copy_gfx_ucode()1363 le32_to_cpu(cp_hdr->header.ucode_array_offset_bytes)); in gfx_v11_0_rlc_backdoor_autoload_copy_gfx_ucode()1364 fw_size = le32_to_cpu(cp_hdr->header.ucode_size_bytes) - in gfx_v11_0_rlc_backdoor_autoload_copy_gfx_ucode()[all …]
5603 const struct gfx_firmware_header_v1_0 *cp_hdr; in gfx_v10_0_rlc_backdoor_autoload_copy_gfx_ucode() local5607 cp_hdr = (const struct gfx_firmware_header_v1_0 *) in gfx_v10_0_rlc_backdoor_autoload_copy_gfx_ucode()5610 le32_to_cpu(cp_hdr->header.ucode_array_offset_bytes)); in gfx_v10_0_rlc_backdoor_autoload_copy_gfx_ucode()5611 fw_size = le32_to_cpu(cp_hdr->header.ucode_size_bytes); in gfx_v10_0_rlc_backdoor_autoload_copy_gfx_ucode()5617 cp_hdr = (const struct gfx_firmware_header_v1_0 *) in gfx_v10_0_rlc_backdoor_autoload_copy_gfx_ucode()5620 le32_to_cpu(cp_hdr->header.ucode_array_offset_bytes)); in gfx_v10_0_rlc_backdoor_autoload_copy_gfx_ucode()5621 fw_size = le32_to_cpu(cp_hdr->header.ucode_size_bytes); in gfx_v10_0_rlc_backdoor_autoload_copy_gfx_ucode()5627 cp_hdr = (const struct gfx_firmware_header_v1_0 *) in gfx_v10_0_rlc_backdoor_autoload_copy_gfx_ucode()5630 le32_to_cpu(cp_hdr->header.ucode_array_offset_bytes)); in gfx_v10_0_rlc_backdoor_autoload_copy_gfx_ucode()5631 fw_size = le32_to_cpu(cp_hdr->header.ucode_size_bytes); 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()