Lines Matching refs:ucode
213 struct amdgpu_firmware_info *ucode; in amdgpu_cgs_get_firmware_info() local
216 ucode = &adev->firmware.ucode[id]; in amdgpu_cgs_get_firmware_info()
217 if (ucode->fw == NULL) in amdgpu_cgs_get_firmware_info()
220 gpu_addr = ucode->mc_addr; in amdgpu_cgs_get_firmware_info()
221 header = (const struct gfx_firmware_header_v1_0 *)ucode->fw->data; in amdgpu_cgs_get_firmware_info()
230 info->kptr = ucode->kaddr; in amdgpu_cgs_get_firmware_info()
248 struct amdgpu_firmware_info *ucode = NULL; in amdgpu_cgs_get_firmware_info() local
422 ucode = &adev->firmware.ucode[AMDGPU_UCODE_ID_SMC]; in amdgpu_cgs_get_firmware_info()
423 ucode->ucode_id = AMDGPU_UCODE_ID_SMC; in amdgpu_cgs_get_firmware_info()
424 ucode->fw = adev->pm.fw; in amdgpu_cgs_get_firmware_info()
425 header = (const struct common_firmware_header *)ucode->fw->data; in amdgpu_cgs_get_firmware_info()