Lines Matching refs:pfp_hdr

2085 	const struct gfx_firmware_header_v2_0 *pfp_hdr;  in gfx_v11_0_config_pfp_cache_rs64()  local
2087 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() local
2419 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()
2592 const struct gfx_firmware_header_v1_0 *pfp_hdr; in gfx_v11_0_cp_gfx_load_pfp_microcode() local
2596 pfp_hdr = (const struct gfx_firmware_header_v1_0 *) in gfx_v11_0_cp_gfx_load_pfp_microcode()
2599 amdgpu_ucode_print_gfx_hdr(&pfp_hdr->header); in gfx_v11_0_cp_gfx_load_pfp_microcode()
2602 le32_to_cpu(pfp_hdr->header.ucode_array_offset_bytes)); in gfx_v11_0_cp_gfx_load_pfp_microcode()
2603 fw_size = le32_to_cpu(pfp_hdr->header.ucode_size_bytes); in gfx_v11_0_cp_gfx_load_pfp_microcode()
2605 r = amdgpu_bo_create_reserved(adev, pfp_hdr->header.ucode_size_bytes, in gfx_v11_0_cp_gfx_load_pfp_microcode()
2625 for (i = 0; i < pfp_hdr->jt_size; i++) in gfx_v11_0_cp_gfx_load_pfp_microcode()
2627 le32_to_cpup(fw_data + pfp_hdr->jt_offset + i)); in gfx_v11_0_cp_gfx_load_pfp_microcode()
2637 const struct gfx_firmware_header_v2_0 *pfp_hdr; in gfx_v11_0_cp_gfx_load_pfp_microcode_rs64() local
2643 pfp_hdr = (const struct gfx_firmware_header_v2_0 *) in gfx_v11_0_cp_gfx_load_pfp_microcode_rs64()
2646 amdgpu_ucode_print_gfx_hdr(&pfp_hdr->header); in gfx_v11_0_cp_gfx_load_pfp_microcode_rs64()
2650 le32_to_cpu(pfp_hdr->ucode_offset_bytes)); in gfx_v11_0_cp_gfx_load_pfp_microcode_rs64()
2651 fw_ucode_size = le32_to_cpu(pfp_hdr->ucode_size_bytes); in gfx_v11_0_cp_gfx_load_pfp_microcode_rs64()
2654 le32_to_cpu(pfp_hdr->data_offset_bytes)); in gfx_v11_0_cp_gfx_load_pfp_microcode_rs64()
2655 fw_data_size = le32_to_cpu(pfp_hdr->data_size_bytes); in gfx_v11_0_cp_gfx_load_pfp_microcode_rs64()
2742 (pfp_hdr->ucode_start_addr_hi << 30) | in gfx_v11_0_cp_gfx_load_pfp_microcode_rs64()
2743 (pfp_hdr->ucode_start_addr_lo >> 2) ); in gfx_v11_0_cp_gfx_load_pfp_microcode_rs64()
2745 pfp_hdr->ucode_start_addr_hi>>2); in gfx_v11_0_cp_gfx_load_pfp_microcode_rs64()