Searched refs:pfp_hdr (Results 1 – 7 of 7) sorted by relevance
2085 const struct gfx_firmware_header_v2_0 *pfp_hdr; in gfx_v11_0_config_pfp_cache_rs64() local2087 pfp_hdr = (const struct gfx_firmware_header_v2_0 *) in gfx_v11_0_config_pfp_cache_rs64()2141 (pfp_hdr->ucode_start_addr_hi << 30) | in gfx_v11_0_config_pfp_cache_rs64()2142 (pfp_hdr->ucode_start_addr_lo >> 2)); in gfx_v11_0_config_pfp_cache_rs64()2144 pfp_hdr->ucode_start_addr_hi >> 2); in gfx_v11_0_config_pfp_cache_rs64()2410 const struct gfx_firmware_header_v2_0 *pfp_hdr; in gfx_v11_0_config_gfx_rs64() local2419 pfp_hdr = (const struct gfx_firmware_header_v2_0 *) in gfx_v11_0_config_gfx_rs64()2426 (pfp_hdr->ucode_start_addr_hi << 30) | in gfx_v11_0_config_gfx_rs64()2427 (pfp_hdr->ucode_start_addr_lo >> 2)); in gfx_v11_0_config_gfx_rs64()2429 pfp_hdr->ucode_start_addr_hi >> 2); in gfx_v11_0_config_gfx_rs64()[all …]
2419 const struct gfx_firmware_header_v1_0 *pfp_hdr; in gfx_v7_0_cp_gfx_load_microcode() local2428 pfp_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.pfp_fw->data; in gfx_v7_0_cp_gfx_load_microcode()2432 amdgpu_ucode_print_gfx_hdr(&pfp_hdr->header); in gfx_v7_0_cp_gfx_load_microcode()2435 adev->gfx.pfp_fw_version = le32_to_cpu(pfp_hdr->header.ucode_version); in gfx_v7_0_cp_gfx_load_microcode()2440 adev->gfx.pfp_feature_version = le32_to_cpu(pfp_hdr->ucode_feature_version); in gfx_v7_0_cp_gfx_load_microcode()2447 le32_to_cpu(pfp_hdr->header.ucode_array_offset_bytes)); in gfx_v7_0_cp_gfx_load_microcode()2448 fw_size = le32_to_cpu(pfp_hdr->header.ucode_size_bytes) / 4; in gfx_v7_0_cp_gfx_load_microcode()
1945 const struct gfx_firmware_header_v1_0 *pfp_hdr; in gfx_v6_0_cp_gfx_load_microcode() local1955 pfp_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.pfp_fw->data; in gfx_v6_0_cp_gfx_load_microcode()1959 amdgpu_ucode_print_gfx_hdr(&pfp_hdr->header); in gfx_v6_0_cp_gfx_load_microcode()1965 (adev->gfx.pfp_fw->data + le32_to_cpu(pfp_hdr->header.ucode_array_offset_bytes)); in gfx_v6_0_cp_gfx_load_microcode()1966 fw_size = le32_to_cpu(pfp_hdr->header.ucode_size_bytes) / 4; in gfx_v6_0_cp_gfx_load_microcode()
2999 const struct gfx_firmware_header_v1_0 *pfp_hdr; in gfx_v9_0_cp_gfx_load_microcode() local3008 pfp_hdr = (const struct gfx_firmware_header_v1_0 *) in gfx_v9_0_cp_gfx_load_microcode()3015 amdgpu_ucode_print_gfx_hdr(&pfp_hdr->header); in gfx_v9_0_cp_gfx_load_microcode()3024 le32_to_cpu(pfp_hdr->header.ucode_array_offset_bytes)); in gfx_v9_0_cp_gfx_load_microcode()3025 fw_size = le32_to_cpu(pfp_hdr->header.ucode_size_bytes) / 4; in gfx_v9_0_cp_gfx_load_microcode()
5754 const struct gfx_firmware_header_v1_0 *pfp_hdr; in gfx_v10_0_cp_gfx_load_pfp_microcode() local5760 pfp_hdr = (const struct gfx_firmware_header_v1_0 *) in gfx_v10_0_cp_gfx_load_pfp_microcode()5763 amdgpu_ucode_print_gfx_hdr(&pfp_hdr->header); in gfx_v10_0_cp_gfx_load_pfp_microcode()5766 le32_to_cpu(pfp_hdr->header.ucode_array_offset_bytes)); in gfx_v10_0_cp_gfx_load_pfp_microcode()5767 fw_size = le32_to_cpu(pfp_hdr->header.ucode_size_bytes); in gfx_v10_0_cp_gfx_load_pfp_microcode()5769 r = amdgpu_bo_create_reserved(adev, pfp_hdr->header.ucode_size_bytes, in gfx_v10_0_cp_gfx_load_pfp_microcode()5820 for (i = 0; i < pfp_hdr->jt_size; i++) in gfx_v10_0_cp_gfx_load_pfp_microcode()5822 le32_to_cpup(fw_data + pfp_hdr->jt_offset + i)); in gfx_v10_0_cp_gfx_load_pfp_microcode()
3485 const struct gfx_firmware_header_v1_0 *pfp_hdr = in si_cp_load_microcode() local3494 radeon_ucode_print_gfx_hdr(&pfp_hdr->header); in si_cp_load_microcode()3500 (rdev->pfp_fw->data + le32_to_cpu(pfp_hdr->header.ucode_array_offset_bytes)); in si_cp_load_microcode()3501 fw_size = le32_to_cpu(pfp_hdr->header.ucode_size_bytes) / 4; in si_cp_load_microcode()
3894 const struct gfx_firmware_header_v1_0 *pfp_hdr = in cik_cp_gfx_load_microcode() local3903 radeon_ucode_print_gfx_hdr(&pfp_hdr->header); in cik_cp_gfx_load_microcode()3909 (rdev->pfp_fw->data + le32_to_cpu(pfp_hdr->header.ucode_array_offset_bytes)); in cik_cp_gfx_load_microcode()3910 fw_size = le32_to_cpu(pfp_hdr->header.ucode_size_bytes) / 4; in cik_cp_gfx_load_microcode()3914 WREG32(CP_PFP_UCODE_ADDR, le32_to_cpu(pfp_hdr->header.ucode_version)); in cik_cp_gfx_load_microcode()