Lines Matching refs:sdma_hdr

303 		const struct sdma_firmware_header_v1_0 *sdma_hdr =  in amdgpu_ucode_print_sdma_hdr()  local
307 le32_to_cpu(sdma_hdr->ucode_feature_version)); in amdgpu_ucode_print_sdma_hdr()
309 le32_to_cpu(sdma_hdr->ucode_change_version)); in amdgpu_ucode_print_sdma_hdr()
310 DRM_DEBUG("jt_offset: %u\n", le32_to_cpu(sdma_hdr->jt_offset)); in amdgpu_ucode_print_sdma_hdr()
311 DRM_DEBUG("jt_size: %u\n", le32_to_cpu(sdma_hdr->jt_size)); in amdgpu_ucode_print_sdma_hdr()
314 container_of(sdma_hdr, struct sdma_firmware_header_v1_1, v1_0); in amdgpu_ucode_print_sdma_hdr()
318 const struct sdma_firmware_header_v2_0 *sdma_hdr = in amdgpu_ucode_print_sdma_hdr() local
322 le32_to_cpu(sdma_hdr->ucode_feature_version)); in amdgpu_ucode_print_sdma_hdr()
323 DRM_DEBUG("ctx_jt_offset: %u\n", le32_to_cpu(sdma_hdr->ctx_jt_offset)); in amdgpu_ucode_print_sdma_hdr()
324 DRM_DEBUG("ctx_jt_size: %u\n", le32_to_cpu(sdma_hdr->ctx_jt_size)); in amdgpu_ucode_print_sdma_hdr()
325 DRM_DEBUG("ctl_ucode_offset: %u\n", le32_to_cpu(sdma_hdr->ctl_ucode_offset)); in amdgpu_ucode_print_sdma_hdr()
326 DRM_DEBUG("ctl_jt_offset: %u\n", le32_to_cpu(sdma_hdr->ctl_jt_offset)); in amdgpu_ucode_print_sdma_hdr()
327 DRM_DEBUG("ctl_jt_size: %u\n", le32_to_cpu(sdma_hdr->ctl_jt_size)); in amdgpu_ucode_print_sdma_hdr()
329 const struct sdma_firmware_header_v3_0 *sdma_hdr = in amdgpu_ucode_print_sdma_hdr() local
333 le32_to_cpu(sdma_hdr->ucode_feature_version)); in amdgpu_ucode_print_sdma_hdr()
827 const struct sdma_firmware_header_v2_0 *sdma_hdr = NULL; in amdgpu_ucode_init_single_fw() local
849 sdma_hdr = (const struct sdma_firmware_header_v2_0 *)ucode->fw->data; in amdgpu_ucode_init_single_fw()
858 ucode->ucode_size = le32_to_cpu(sdma_hdr->ctx_ucode_size_bytes); in amdgpu_ucode_init_single_fw()
860 le32_to_cpu(sdma_hdr->header.ucode_array_offset_bytes); in amdgpu_ucode_init_single_fw()
863 ucode->ucode_size = le32_to_cpu(sdma_hdr->ctl_ucode_size_bytes); in amdgpu_ucode_init_single_fw()
865 le32_to_cpu(sdma_hdr->ctl_ucode_offset); in amdgpu_ucode_init_single_fw()