Lines Matching refs:mec_hdr
2400 const struct gfx_firmware_header_v2_0 *mec_hdr; in gfx_v11_0_config_mec_cache_rs64() local
2402 mec_hdr = (const struct gfx_firmware_header_v2_0 *) in gfx_v11_0_config_mec_cache_rs64()
2425 mec_hdr->ucode_start_addr_lo >> 2 | in gfx_v11_0_config_mec_cache_rs64()
2426 mec_hdr->ucode_start_addr_hi << 30); in gfx_v11_0_config_mec_cache_rs64()
2428 mec_hdr->ucode_start_addr_hi >> 2); in gfx_v11_0_config_mec_cache_rs64()
2482 const struct gfx_firmware_header_v2_0 *mec_hdr; in gfx_v11_0_config_gfx_rs64() local
2485 mec_hdr = (const struct gfx_firmware_header_v2_0 *) in gfx_v11_0_config_gfx_rs64()
2540 mec_hdr->ucode_start_addr_lo >> 2 | in gfx_v11_0_config_gfx_rs64()
2541 mec_hdr->ucode_start_addr_hi << 30); in gfx_v11_0_config_gfx_rs64()
2543 mec_hdr->ucode_start_addr_hi >> 2); in gfx_v11_0_config_gfx_rs64()
3385 const struct gfx_firmware_header_v1_0 *mec_hdr; in gfx_v11_0_cp_compute_load_microcode() local
3396 mec_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.mec_fw->data; in gfx_v11_0_cp_compute_load_microcode()
3397 amdgpu_ucode_print_gfx_hdr(&mec_hdr->header); in gfx_v11_0_cp_compute_load_microcode()
3401 le32_to_cpu(mec_hdr->header.ucode_array_offset_bytes)); in gfx_v11_0_cp_compute_load_microcode()
3402 fw_size = le32_to_cpu(mec_hdr->header.ucode_size_bytes); in gfx_v11_0_cp_compute_load_microcode()
3404 r = amdgpu_bo_create_reserved(adev, mec_hdr->header.ucode_size_bytes, in gfx_v11_0_cp_compute_load_microcode()
3425 for (i = 0; i < mec_hdr->jt_size; i++) in gfx_v11_0_cp_compute_load_microcode()
3427 le32_to_cpup(fw_data + mec_hdr->jt_offset + i)); in gfx_v11_0_cp_compute_load_microcode()
3436 const struct gfx_firmware_header_v2_0 *mec_hdr; in gfx_v11_0_cp_compute_load_microcode_rs64() local
3448 mec_hdr = (const struct gfx_firmware_header_v2_0 *)adev->gfx.mec_fw->data; in gfx_v11_0_cp_compute_load_microcode_rs64()
3449 amdgpu_ucode_print_gfx_hdr(&mec_hdr->header); in gfx_v11_0_cp_compute_load_microcode_rs64()
3452 le32_to_cpu(mec_hdr->ucode_offset_bytes)); in gfx_v11_0_cp_compute_load_microcode_rs64()
3453 fw_ucode_size = le32_to_cpu(mec_hdr->ucode_size_bytes); in gfx_v11_0_cp_compute_load_microcode_rs64()
3456 le32_to_cpu(mec_hdr->data_offset_bytes)); in gfx_v11_0_cp_compute_load_microcode_rs64()
3457 fw_data_size = le32_to_cpu(mec_hdr->data_size_bytes); in gfx_v11_0_cp_compute_load_microcode_rs64()
3513 mec_hdr->ucode_start_addr_lo >> 2 | in gfx_v11_0_cp_compute_load_microcode_rs64()
3514 mec_hdr->ucode_start_addr_hi << 30); in gfx_v11_0_cp_compute_load_microcode_rs64()
3516 mec_hdr->ucode_start_addr_hi >> 2); in gfx_v11_0_cp_compute_load_microcode_rs64()