Lines Matching refs:le32_to_cpu

35 	DRM_DEBUG("size_bytes: %u\n", le32_to_cpu(hdr->size_bytes));  in amdgpu_ucode_print_common_hdr()
36 DRM_DEBUG("header_size_bytes: %u\n", le32_to_cpu(hdr->header_size_bytes)); in amdgpu_ucode_print_common_hdr()
41 DRM_DEBUG("ucode_version: 0x%08x\n", le32_to_cpu(hdr->ucode_version)); in amdgpu_ucode_print_common_hdr()
42 DRM_DEBUG("ucode_size_bytes: %u\n", le32_to_cpu(hdr->ucode_size_bytes)); in amdgpu_ucode_print_common_hdr()
44 le32_to_cpu(hdr->ucode_array_offset_bytes)); in amdgpu_ucode_print_common_hdr()
45 DRM_DEBUG("crc32: 0x%08x\n", le32_to_cpu(hdr->crc32)); in amdgpu_ucode_print_common_hdr()
61 le32_to_cpu(mc_hdr->io_debug_size_bytes)); in amdgpu_ucode_print_mc_hdr()
63 le32_to_cpu(mc_hdr->io_debug_array_offset_bytes)); in amdgpu_ucode_print_mc_hdr()
82 DRM_DEBUG("ucode_start_addr: %u\n", le32_to_cpu(v1_0_hdr->ucode_start_addr)); in amdgpu_ucode_print_smc_hdr()
87 DRM_DEBUG("ppt_offset_bytes: %u\n", le32_to_cpu(v2_0_hdr->ppt_offset_bytes)); in amdgpu_ucode_print_smc_hdr()
88 DRM_DEBUG("ppt_size_bytes: %u\n", le32_to_cpu(v2_0_hdr->ppt_size_bytes)); in amdgpu_ucode_print_smc_hdr()
92 DRM_DEBUG("pptable_count: %u\n", le32_to_cpu(v2_1_hdr->pptable_count)); in amdgpu_ucode_print_smc_hdr()
93 DRM_DEBUG("pptable_entry_offset: %u\n", le32_to_cpu(v2_1_hdr->pptable_entry_offset)); in amdgpu_ucode_print_smc_hdr()
117 le32_to_cpu(gfx_hdr->ucode_feature_version)); in amdgpu_ucode_print_gfx_hdr()
118 DRM_DEBUG("jt_offset: %u\n", le32_to_cpu(gfx_hdr->jt_offset)); in amdgpu_ucode_print_gfx_hdr()
119 DRM_DEBUG("jt_size: %u\n", le32_to_cpu(gfx_hdr->jt_size)); in amdgpu_ucode_print_gfx_hdr()
125 le32_to_cpu(gfx_hdr->ucode_feature_version)); in amdgpu_ucode_print_gfx_hdr()
144 le32_to_cpu(rlc_hdr->ucode_feature_version)); in amdgpu_ucode_print_rlc_hdr()
146 le32_to_cpu(rlc_hdr->save_and_restore_offset)); in amdgpu_ucode_print_rlc_hdr()
148 le32_to_cpu(rlc_hdr->clear_state_descriptor_offset)); in amdgpu_ucode_print_rlc_hdr()
150 le32_to_cpu(rlc_hdr->avail_scratch_ram_locations)); in amdgpu_ucode_print_rlc_hdr()
152 le32_to_cpu(rlc_hdr->master_pkt_description_offset)); in amdgpu_ucode_print_rlc_hdr()
169 le32_to_cpu(rlc_hdr->ucode_feature_version)); in amdgpu_ucode_print_rlc_hdr()
170 DRM_DEBUG("jt_offset: %u\n", le32_to_cpu(rlc_hdr->jt_offset)); in amdgpu_ucode_print_rlc_hdr()
171 DRM_DEBUG("jt_size: %u\n", le32_to_cpu(rlc_hdr->jt_size)); in amdgpu_ucode_print_rlc_hdr()
173 le32_to_cpu(rlc_hdr->save_and_restore_offset)); in amdgpu_ucode_print_rlc_hdr()
175 le32_to_cpu(rlc_hdr->clear_state_descriptor_offset)); in amdgpu_ucode_print_rlc_hdr()
177 le32_to_cpu(rlc_hdr->avail_scratch_ram_locations)); in amdgpu_ucode_print_rlc_hdr()
179 le32_to_cpu(rlc_hdr->reg_restore_list_size)); in amdgpu_ucode_print_rlc_hdr()
181 le32_to_cpu(rlc_hdr->reg_list_format_start)); in amdgpu_ucode_print_rlc_hdr()
183 le32_to_cpu(rlc_hdr->reg_list_format_separate_start)); in amdgpu_ucode_print_rlc_hdr()
185 le32_to_cpu(rlc_hdr->starting_offsets_start)); in amdgpu_ucode_print_rlc_hdr()
187 le32_to_cpu(rlc_hdr->reg_list_format_size_bytes)); in amdgpu_ucode_print_rlc_hdr()
189 le32_to_cpu(rlc_hdr->reg_list_format_array_offset_bytes)); in amdgpu_ucode_print_rlc_hdr()
191 le32_to_cpu(rlc_hdr->reg_list_size_bytes)); in amdgpu_ucode_print_rlc_hdr()
193 le32_to_cpu(rlc_hdr->reg_list_array_offset_bytes)); in amdgpu_ucode_print_rlc_hdr()
195 le32_to_cpu(rlc_hdr->reg_list_format_separate_size_bytes)); in amdgpu_ucode_print_rlc_hdr()
197 le32_to_cpu(rlc_hdr->reg_list_format_separate_array_offset_bytes)); in amdgpu_ucode_print_rlc_hdr()
199 le32_to_cpu(rlc_hdr->reg_list_separate_size_bytes)); in amdgpu_ucode_print_rlc_hdr()
201 le32_to_cpu(rlc_hdr->reg_list_separate_array_offset_bytes)); in amdgpu_ucode_print_rlc_hdr()
206 le32_to_cpu(rlc_hdr_v2_1->reg_list_format_direct_reg_list_length)); in amdgpu_ucode_print_rlc_hdr()
208 le32_to_cpu(rlc_hdr_v2_1->save_restore_list_cntl_ucode_ver)); in amdgpu_ucode_print_rlc_hdr()
210 le32_to_cpu(rlc_hdr_v2_1->save_restore_list_cntl_feature_ver)); in amdgpu_ucode_print_rlc_hdr()
212 le32_to_cpu(rlc_hdr_v2_1->save_restore_list_cntl_size_bytes)); in amdgpu_ucode_print_rlc_hdr()
214 le32_to_cpu(rlc_hdr_v2_1->save_restore_list_cntl_offset_bytes)); in amdgpu_ucode_print_rlc_hdr()
216 le32_to_cpu(rlc_hdr_v2_1->save_restore_list_gpm_ucode_ver)); in amdgpu_ucode_print_rlc_hdr()
218 le32_to_cpu(rlc_hdr_v2_1->save_restore_list_gpm_feature_ver)); in amdgpu_ucode_print_rlc_hdr()
220 le32_to_cpu(rlc_hdr_v2_1->save_restore_list_gpm_size_bytes)); in amdgpu_ucode_print_rlc_hdr()
222 le32_to_cpu(rlc_hdr_v2_1->save_restore_list_gpm_offset_bytes)); in amdgpu_ucode_print_rlc_hdr()
224 le32_to_cpu(rlc_hdr_v2_1->save_restore_list_srm_ucode_ver)); in amdgpu_ucode_print_rlc_hdr()
226 le32_to_cpu(rlc_hdr_v2_1->save_restore_list_srm_feature_ver)); in amdgpu_ucode_print_rlc_hdr()
228 le32_to_cpu(rlc_hdr_v2_1->save_restore_list_srm_size_bytes)); in amdgpu_ucode_print_rlc_hdr()
230 le32_to_cpu(rlc_hdr_v2_1->save_restore_list_srm_offset_bytes)); in amdgpu_ucode_print_rlc_hdr()
235 le32_to_cpu(rlc_hdr_v2_2->rlc_iram_ucode_size_bytes)); in amdgpu_ucode_print_rlc_hdr()
237 le32_to_cpu(rlc_hdr_v2_2->rlc_iram_ucode_offset_bytes)); in amdgpu_ucode_print_rlc_hdr()
239 le32_to_cpu(rlc_hdr_v2_2->rlc_dram_ucode_size_bytes)); in amdgpu_ucode_print_rlc_hdr()
241 le32_to_cpu(rlc_hdr_v2_2->rlc_dram_ucode_offset_bytes)); in amdgpu_ucode_print_rlc_hdr()
246 le32_to_cpu(rlc_hdr_v2_3->rlcp_ucode_version)); in amdgpu_ucode_print_rlc_hdr()
248 le32_to_cpu(rlc_hdr_v2_3->rlcp_ucode_feature_version)); in amdgpu_ucode_print_rlc_hdr()
250 le32_to_cpu(rlc_hdr_v2_3->rlcp_ucode_size_bytes)); in amdgpu_ucode_print_rlc_hdr()
252 le32_to_cpu(rlc_hdr_v2_3->rlcp_ucode_offset_bytes)); in amdgpu_ucode_print_rlc_hdr()
254 le32_to_cpu(rlc_hdr_v2_3->rlcv_ucode_version)); in amdgpu_ucode_print_rlc_hdr()
256 le32_to_cpu(rlc_hdr_v2_3->rlcv_ucode_feature_version)); in amdgpu_ucode_print_rlc_hdr()
258 le32_to_cpu(rlc_hdr_v2_3->rlcv_ucode_size_bytes)); in amdgpu_ucode_print_rlc_hdr()
260 le32_to_cpu(rlc_hdr_v2_3->rlcv_ucode_offset_bytes)); in amdgpu_ucode_print_rlc_hdr()
265 le32_to_cpu(rlc_hdr_v2_4->global_tap_delays_ucode_size_bytes)); in amdgpu_ucode_print_rlc_hdr()
267 le32_to_cpu(rlc_hdr_v2_4->global_tap_delays_ucode_offset_bytes)); in amdgpu_ucode_print_rlc_hdr()
269 le32_to_cpu(rlc_hdr_v2_4->se0_tap_delays_ucode_size_bytes)); in amdgpu_ucode_print_rlc_hdr()
271 le32_to_cpu(rlc_hdr_v2_4->se0_tap_delays_ucode_offset_bytes)); in amdgpu_ucode_print_rlc_hdr()
273 le32_to_cpu(rlc_hdr_v2_4->se1_tap_delays_ucode_size_bytes)); in amdgpu_ucode_print_rlc_hdr()
275 le32_to_cpu(rlc_hdr_v2_4->se1_tap_delays_ucode_offset_bytes)); in amdgpu_ucode_print_rlc_hdr()
277 le32_to_cpu(rlc_hdr_v2_4->se2_tap_delays_ucode_size_bytes)); in amdgpu_ucode_print_rlc_hdr()
279 le32_to_cpu(rlc_hdr_v2_4->se2_tap_delays_ucode_offset_bytes)); in amdgpu_ucode_print_rlc_hdr()
281 le32_to_cpu(rlc_hdr_v2_4->se3_tap_delays_ucode_size_bytes)); in amdgpu_ucode_print_rlc_hdr()
283 le32_to_cpu(rlc_hdr_v2_4->se3_tap_delays_ucode_offset_bytes)); in amdgpu_ucode_print_rlc_hdr()
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()
315 DRM_DEBUG("digest_size: %u\n", le32_to_cpu(sdma_v1_1_hdr->digest_size)); in amdgpu_ucode_print_sdma_hdr()
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()
333 le32_to_cpu(sdma_hdr->ucode_feature_version)); in amdgpu_ucode_print_sdma_hdr()
355 le32_to_cpu(psp_hdr->sos.fw_version)); in amdgpu_ucode_print_psp_hdr()
357 le32_to_cpu(psp_hdr->sos.offset_bytes)); in amdgpu_ucode_print_psp_hdr()
359 le32_to_cpu(psp_hdr->sos.size_bytes)); in amdgpu_ucode_print_psp_hdr()
364 le32_to_cpu(psp_hdr_v1_1->toc.fw_version)); in amdgpu_ucode_print_psp_hdr()
366 le32_to_cpu(psp_hdr_v1_1->toc.offset_bytes)); in amdgpu_ucode_print_psp_hdr()
368 le32_to_cpu(psp_hdr_v1_1->toc.size_bytes)); in amdgpu_ucode_print_psp_hdr()
370 le32_to_cpu(psp_hdr_v1_1->kdb.fw_version)); in amdgpu_ucode_print_psp_hdr()
372 le32_to_cpu(psp_hdr_v1_1->kdb.offset_bytes)); in amdgpu_ucode_print_psp_hdr()
374 le32_to_cpu(psp_hdr_v1_1->kdb.size_bytes)); in amdgpu_ucode_print_psp_hdr()
380 le32_to_cpu(psp_hdr_v1_2->kdb.fw_version)); in amdgpu_ucode_print_psp_hdr()
382 le32_to_cpu(psp_hdr_v1_2->kdb.offset_bytes)); in amdgpu_ucode_print_psp_hdr()
384 le32_to_cpu(psp_hdr_v1_2->kdb.size_bytes)); in amdgpu_ucode_print_psp_hdr()
392 le32_to_cpu(psp_hdr_v1_3->v1_1.toc.fw_version)); in amdgpu_ucode_print_psp_hdr()
394 le32_to_cpu(psp_hdr_v1_3->v1_1.toc.offset_bytes)); in amdgpu_ucode_print_psp_hdr()
396 le32_to_cpu(psp_hdr_v1_3->v1_1.toc.size_bytes)); in amdgpu_ucode_print_psp_hdr()
398 le32_to_cpu(psp_hdr_v1_3->v1_1.kdb.fw_version)); in amdgpu_ucode_print_psp_hdr()
400 le32_to_cpu(psp_hdr_v1_3->v1_1.kdb.offset_bytes)); in amdgpu_ucode_print_psp_hdr()
402 le32_to_cpu(psp_hdr_v1_3->v1_1.kdb.size_bytes)); in amdgpu_ucode_print_psp_hdr()
404 le32_to_cpu(psp_hdr_v1_3->spl.fw_version)); in amdgpu_ucode_print_psp_hdr()
406 le32_to_cpu(psp_hdr_v1_3->spl.offset_bytes)); in amdgpu_ucode_print_psp_hdr()
408 le32_to_cpu(psp_hdr_v1_3->spl.size_bytes)); in amdgpu_ucode_print_psp_hdr()
413 for (fw_index = 0; fw_index < le32_to_cpu(psp_hdr_v2_0->psp_fw_bin_count); fw_index++) { in amdgpu_ucode_print_psp_hdr()
418 le32_to_cpu(desc->fw_version)); in amdgpu_ucode_print_psp_hdr()
420 le32_to_cpu(desc->size_bytes)); in amdgpu_ucode_print_psp_hdr()
424 le32_to_cpu(desc->fw_version)); in amdgpu_ucode_print_psp_hdr()
426 le32_to_cpu(desc->size_bytes)); in amdgpu_ucode_print_psp_hdr()
430 le32_to_cpu(desc->fw_version)); in amdgpu_ucode_print_psp_hdr()
432 le32_to_cpu(desc->size_bytes)); in amdgpu_ucode_print_psp_hdr()
436 le32_to_cpu(desc->fw_version)); in amdgpu_ucode_print_psp_hdr()
438 le32_to_cpu(desc->size_bytes)); in amdgpu_ucode_print_psp_hdr()
442 le32_to_cpu(desc->fw_version)); in amdgpu_ucode_print_psp_hdr()
444 le32_to_cpu(desc->size_bytes)); in amdgpu_ucode_print_psp_hdr()
448 le32_to_cpu(desc->fw_version)); in amdgpu_ucode_print_psp_hdr()
450 le32_to_cpu(desc->size_bytes)); in amdgpu_ucode_print_psp_hdr()
454 le32_to_cpu(desc->fw_version)); in amdgpu_ucode_print_psp_hdr()
456 le32_to_cpu(desc->size_bytes)); in amdgpu_ucode_print_psp_hdr()
460 le32_to_cpu(desc->fw_version)); in amdgpu_ucode_print_psp_hdr()
462 le32_to_cpu(desc->size_bytes)); in amdgpu_ucode_print_psp_hdr()
466 le32_to_cpu(desc->fw_version)); in amdgpu_ucode_print_psp_hdr()
468 le32_to_cpu(desc->size_bytes)); in amdgpu_ucode_print_psp_hdr()
472 le32_to_cpu(desc->fw_version)); in amdgpu_ucode_print_psp_hdr()
474 le32_to_cpu(desc->size_bytes)); in amdgpu_ucode_print_psp_hdr()
513 if (fw->size == le32_to_cpu(hdr->size_bytes)) in amdgpu_ucode_validate()
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()
868 ucode->ucode_size = le32_to_cpu(sdmav3_hdr->ucode_size_bytes); in amdgpu_ucode_init_single_fw()
870 le32_to_cpu(sdmav3_hdr->header.ucode_array_offset_bytes); in amdgpu_ucode_init_single_fw()
874 ucode->ucode_size = le32_to_cpu(header->ucode_size_bytes) - in amdgpu_ucode_init_single_fw()
875 le32_to_cpu(cp_hdr->jt_size) * 4; in amdgpu_ucode_init_single_fw()
877 le32_to_cpu(header->ucode_array_offset_bytes); in amdgpu_ucode_init_single_fw()
881 ucode->ucode_size = le32_to_cpu(cp_hdr->jt_size) * 4; in amdgpu_ucode_init_single_fw()
883 le32_to_cpu(header->ucode_array_offset_bytes) + in amdgpu_ucode_init_single_fw()
884 le32_to_cpu(cp_hdr->jt_offset) * 4; in amdgpu_ucode_init_single_fw()
935 ucode->ucode_size = le32_to_cpu(mes_hdr->mes_ucode_size_bytes); in amdgpu_ucode_init_single_fw()
937 le32_to_cpu(mes_hdr->mes_ucode_offset_bytes); in amdgpu_ucode_init_single_fw()
940 ucode->ucode_size = le32_to_cpu(mes_hdr->mes_ucode_data_size_bytes); in amdgpu_ucode_init_single_fw()
942 le32_to_cpu(mes_hdr->mes_ucode_data_offset_bytes); in amdgpu_ucode_init_single_fw()
945 ucode->ucode_size = le32_to_cpu(mes_hdr->mes_ucode_size_bytes); in amdgpu_ucode_init_single_fw()
947 le32_to_cpu(mes_hdr->mes_ucode_offset_bytes); in amdgpu_ucode_init_single_fw()
950 ucode->ucode_size = le32_to_cpu(mes_hdr->mes_ucode_data_size_bytes); in amdgpu_ucode_init_single_fw()
952 le32_to_cpu(mes_hdr->mes_ucode_data_offset_bytes); in amdgpu_ucode_init_single_fw()
955 ucode->ucode_size = le32_to_cpu(header->ucode_size_bytes) - in amdgpu_ucode_init_single_fw()
956 le32_to_cpu(dmcu_hdr->intv_size_bytes); in amdgpu_ucode_init_single_fw()
958 le32_to_cpu(header->ucode_array_offset_bytes); in amdgpu_ucode_init_single_fw()
961 ucode->ucode_size = le32_to_cpu(dmcu_hdr->intv_size_bytes); in amdgpu_ucode_init_single_fw()
963 le32_to_cpu(header->ucode_array_offset_bytes) + in amdgpu_ucode_init_single_fw()
964 le32_to_cpu(dmcu_hdr->intv_offset_bytes); in amdgpu_ucode_init_single_fw()
967 ucode->ucode_size = le32_to_cpu(dmcub_hdr->inst_const_bytes); in amdgpu_ucode_init_single_fw()
969 le32_to_cpu(header->ucode_array_offset_bytes); in amdgpu_ucode_init_single_fw()
980 ucode->ucode_size = le32_to_cpu(imu_hdr->imu_iram_ucode_size_bytes); in amdgpu_ucode_init_single_fw()
982 le32_to_cpu(imu_hdr->header.ucode_array_offset_bytes); in amdgpu_ucode_init_single_fw()
985 ucode->ucode_size = le32_to_cpu(imu_hdr->imu_dram_ucode_size_bytes); in amdgpu_ucode_init_single_fw()
987 le32_to_cpu(imu_hdr->header.ucode_array_offset_bytes) + in amdgpu_ucode_init_single_fw()
988 le32_to_cpu(imu_hdr->imu_iram_ucode_size_bytes); in amdgpu_ucode_init_single_fw()
991 ucode->ucode_size = le32_to_cpu(cpv2_hdr->ucode_size_bytes); in amdgpu_ucode_init_single_fw()
993 le32_to_cpu(header->ucode_array_offset_bytes); in amdgpu_ucode_init_single_fw()
996 ucode->ucode_size = le32_to_cpu(cpv2_hdr->data_size_bytes); in amdgpu_ucode_init_single_fw()
998 le32_to_cpu(cpv2_hdr->data_offset_bytes); in amdgpu_ucode_init_single_fw()
1001 ucode->ucode_size = le32_to_cpu(cpv2_hdr->data_size_bytes); in amdgpu_ucode_init_single_fw()
1003 le32_to_cpu(cpv2_hdr->data_offset_bytes); in amdgpu_ucode_init_single_fw()
1006 ucode->ucode_size = le32_to_cpu(cpv2_hdr->ucode_size_bytes); in amdgpu_ucode_init_single_fw()
1008 le32_to_cpu(header->ucode_array_offset_bytes); in amdgpu_ucode_init_single_fw()
1011 ucode->ucode_size = le32_to_cpu(cpv2_hdr->data_size_bytes); in amdgpu_ucode_init_single_fw()
1013 le32_to_cpu(cpv2_hdr->data_offset_bytes); in amdgpu_ucode_init_single_fw()
1016 ucode->ucode_size = le32_to_cpu(cpv2_hdr->data_size_bytes); in amdgpu_ucode_init_single_fw()
1018 le32_to_cpu(cpv2_hdr->data_offset_bytes); in amdgpu_ucode_init_single_fw()
1021 ucode->ucode_size = le32_to_cpu(cpv2_hdr->ucode_size_bytes); in amdgpu_ucode_init_single_fw()
1023 le32_to_cpu(header->ucode_array_offset_bytes); in amdgpu_ucode_init_single_fw()
1026 ucode->ucode_size = le32_to_cpu(cpv2_hdr->data_size_bytes); in amdgpu_ucode_init_single_fw()
1028 le32_to_cpu(cpv2_hdr->data_offset_bytes); in amdgpu_ucode_init_single_fw()
1031 ucode->ucode_size = le32_to_cpu(cpv2_hdr->data_size_bytes); in amdgpu_ucode_init_single_fw()
1033 le32_to_cpu(cpv2_hdr->data_offset_bytes); in amdgpu_ucode_init_single_fw()
1036 ucode->ucode_size = le32_to_cpu(cpv2_hdr->data_size_bytes); in amdgpu_ucode_init_single_fw()
1038 le32_to_cpu(cpv2_hdr->data_offset_bytes); in amdgpu_ucode_init_single_fw()
1041 ucode->ucode_size = le32_to_cpu(cpv2_hdr->data_size_bytes); in amdgpu_ucode_init_single_fw()
1043 le32_to_cpu(cpv2_hdr->data_offset_bytes); in amdgpu_ucode_init_single_fw()
1046 ucode->ucode_size = le32_to_cpu(vpe_hdr->ctx_ucode_size_bytes); in amdgpu_ucode_init_single_fw()
1048 le32_to_cpu(vpe_hdr->header.ucode_array_offset_bytes); in amdgpu_ucode_init_single_fw()
1051 ucode->ucode_size = le32_to_cpu(vpe_hdr->ctl_ucode_size_bytes); in amdgpu_ucode_init_single_fw()
1053 le32_to_cpu(vpe_hdr->ctl_ucode_offset); in amdgpu_ucode_init_single_fw()
1056 ucode->ucode_size = le32_to_cpu(umsch_mm_hdr->umsch_mm_ucode_size_bytes); in amdgpu_ucode_init_single_fw()
1058 le32_to_cpu(umsch_mm_hdr->header.ucode_array_offset_bytes); in amdgpu_ucode_init_single_fw()
1061 ucode->ucode_size = le32_to_cpu(umsch_mm_hdr->umsch_mm_ucode_data_size_bytes); in amdgpu_ucode_init_single_fw()
1063 le32_to_cpu(umsch_mm_hdr->umsch_mm_ucode_data_offset_bytes); in amdgpu_ucode_init_single_fw()
1066 ucode->ucode_size = le32_to_cpu(header->ucode_size_bytes); in amdgpu_ucode_init_single_fw()
1068 le32_to_cpu(header->ucode_array_offset_bytes); in amdgpu_ucode_init_single_fw()
1072 ucode->ucode_size = le32_to_cpu(header->ucode_size_bytes); in amdgpu_ucode_init_single_fw()
1074 le32_to_cpu(header->ucode_array_offset_bytes); in amdgpu_ucode_init_single_fw()
1096 ALIGN(le32_to_cpu(comm_hdr->ucode_size_bytes), in amdgpu_ucode_patch_jt()
1099 le32_to_cpu(comm_hdr->ucode_array_offset_bytes) + in amdgpu_ucode_patch_jt()
1100 (le32_to_cpu(header->jt_offset) * 4); in amdgpu_ucode_patch_jt()
1101 memcpy(dst_addr, src_addr, le32_to_cpu(header->jt_size) * 4); in amdgpu_ucode_patch_jt()
1167 fw_offset += ALIGN(le32_to_cpu(cp_hdr->jt_size) << 2, PAGE_SIZE); in amdgpu_ucode_init_bo()