rlc_hdr           123 drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c 		const struct rlc_firmware_header_v1_0 *rlc_hdr =
rlc_hdr           127 drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c 			  le32_to_cpu(rlc_hdr->ucode_feature_version));
rlc_hdr           129 drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c 			  le32_to_cpu(rlc_hdr->save_and_restore_offset));
rlc_hdr           131 drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c 			  le32_to_cpu(rlc_hdr->clear_state_descriptor_offset));
rlc_hdr           133 drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c 			  le32_to_cpu(rlc_hdr->avail_scratch_ram_locations));
rlc_hdr           135 drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c 			  le32_to_cpu(rlc_hdr->master_pkt_description_offset));
rlc_hdr           137 drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c 		const struct rlc_firmware_header_v2_0 *rlc_hdr =
rlc_hdr           141 drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c 			  le32_to_cpu(rlc_hdr->ucode_feature_version));
rlc_hdr           142 drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c 		DRM_DEBUG("jt_offset: %u\n", le32_to_cpu(rlc_hdr->jt_offset));
rlc_hdr           143 drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c 		DRM_DEBUG("jt_size: %u\n", le32_to_cpu(rlc_hdr->jt_size));
rlc_hdr           145 drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c 			  le32_to_cpu(rlc_hdr->save_and_restore_offset));
rlc_hdr           147 drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c 			  le32_to_cpu(rlc_hdr->clear_state_descriptor_offset));
rlc_hdr           149 drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c 			  le32_to_cpu(rlc_hdr->avail_scratch_ram_locations));
rlc_hdr           151 drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c 			  le32_to_cpu(rlc_hdr->reg_restore_list_size));
rlc_hdr           153 drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c 			  le32_to_cpu(rlc_hdr->reg_list_format_start));
rlc_hdr           155 drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c 			  le32_to_cpu(rlc_hdr->reg_list_format_separate_start));
rlc_hdr           157 drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c 			  le32_to_cpu(rlc_hdr->starting_offsets_start));
rlc_hdr           159 drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c 			  le32_to_cpu(rlc_hdr->reg_list_format_size_bytes));
rlc_hdr           161 drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c 			  le32_to_cpu(rlc_hdr->reg_list_format_array_offset_bytes));
rlc_hdr           163 drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c 			  le32_to_cpu(rlc_hdr->reg_list_size_bytes));
rlc_hdr           165 drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c 			  le32_to_cpu(rlc_hdr->reg_list_array_offset_bytes));
rlc_hdr           167 drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c 			  le32_to_cpu(rlc_hdr->reg_list_format_separate_size_bytes));
rlc_hdr           169 drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c 			  le32_to_cpu(rlc_hdr->reg_list_format_separate_array_offset_bytes));
rlc_hdr           171 drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c 			  le32_to_cpu(rlc_hdr->reg_list_separate_size_bytes));
rlc_hdr           173 drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c 			  le32_to_cpu(rlc_hdr->reg_list_separate_array_offset_bytes));
rlc_hdr           176 drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c 				container_of(rlc_hdr, struct rlc_firmware_header_v2_1, v2_0);
rlc_hdr           595 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 	const struct rlc_firmware_header_v2_1 *rlc_hdr;
rlc_hdr           597 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 	rlc_hdr = (const struct rlc_firmware_header_v2_1 *)adev->gfx.rlc_fw->data;
rlc_hdr           598 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 	adev->gfx.rlc_srlc_fw_version = le32_to_cpu(rlc_hdr->save_restore_list_cntl_ucode_ver);
rlc_hdr           599 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 	adev->gfx.rlc_srlc_feature_version = le32_to_cpu(rlc_hdr->save_restore_list_cntl_feature_ver);
rlc_hdr           600 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 	adev->gfx.rlc.save_restore_list_cntl_size_bytes = le32_to_cpu(rlc_hdr->save_restore_list_cntl_size_bytes);
rlc_hdr           601 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 	adev->gfx.rlc.save_restore_list_cntl = (u8 *)rlc_hdr + le32_to_cpu(rlc_hdr->save_restore_list_cntl_offset_bytes);
rlc_hdr           602 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 	adev->gfx.rlc_srlg_fw_version = le32_to_cpu(rlc_hdr->save_restore_list_gpm_ucode_ver);
rlc_hdr           603 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 	adev->gfx.rlc_srlg_feature_version = le32_to_cpu(rlc_hdr->save_restore_list_gpm_feature_ver);
rlc_hdr           604 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 	adev->gfx.rlc.save_restore_list_gpm_size_bytes = le32_to_cpu(rlc_hdr->save_restore_list_gpm_size_bytes);
rlc_hdr           605 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 	adev->gfx.rlc.save_restore_list_gpm = (u8 *)rlc_hdr + le32_to_cpu(rlc_hdr->save_restore_list_gpm_offset_bytes);
rlc_hdr           606 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 	adev->gfx.rlc_srls_fw_version = le32_to_cpu(rlc_hdr->save_restore_list_srm_ucode_ver);
rlc_hdr           607 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 	adev->gfx.rlc_srls_feature_version = le32_to_cpu(rlc_hdr->save_restore_list_srm_feature_ver);
rlc_hdr           608 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 	adev->gfx.rlc.save_restore_list_srm_size_bytes = le32_to_cpu(rlc_hdr->save_restore_list_srm_size_bytes);
rlc_hdr           609 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 	adev->gfx.rlc.save_restore_list_srm = (u8 *)rlc_hdr + le32_to_cpu(rlc_hdr->save_restore_list_srm_offset_bytes);
rlc_hdr           611 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 			le32_to_cpu(rlc_hdr->reg_list_format_direct_reg_list_length);
rlc_hdr           634 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 	const struct rlc_firmware_header_v2_0 *rlc_hdr;
rlc_hdr           698 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 	rlc_hdr = (const struct rlc_firmware_header_v2_0 *)adev->gfx.rlc_fw->data;
rlc_hdr           699 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 	version_major = le16_to_cpu(rlc_hdr->header.header_version_major);
rlc_hdr           700 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 	version_minor = le16_to_cpu(rlc_hdr->header.header_version_minor);
rlc_hdr           704 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 	adev->gfx.rlc_fw_version = le32_to_cpu(rlc_hdr->header.ucode_version);
rlc_hdr           705 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 	adev->gfx.rlc_feature_version = le32_to_cpu(rlc_hdr->ucode_feature_version);
rlc_hdr           707 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 			le32_to_cpu(rlc_hdr->save_and_restore_offset);
rlc_hdr           709 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 			le32_to_cpu(rlc_hdr->clear_state_descriptor_offset);
rlc_hdr           711 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 			le32_to_cpu(rlc_hdr->avail_scratch_ram_locations);
rlc_hdr           713 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 			le32_to_cpu(rlc_hdr->reg_restore_list_size);
rlc_hdr           715 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 			le32_to_cpu(rlc_hdr->reg_list_format_start);
rlc_hdr           717 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 			le32_to_cpu(rlc_hdr->reg_list_format_separate_start);
rlc_hdr           719 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 			le32_to_cpu(rlc_hdr->starting_offsets_start);
rlc_hdr           721 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 			le32_to_cpu(rlc_hdr->reg_list_format_size_bytes);
rlc_hdr           723 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 			le32_to_cpu(rlc_hdr->reg_list_size_bytes);
rlc_hdr           732 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 	tmp = (unsigned int *)((uintptr_t)rlc_hdr +
rlc_hdr           733 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 			le32_to_cpu(rlc_hdr->reg_list_format_array_offset_bytes));
rlc_hdr           734 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 	for (i = 0 ; i < (rlc_hdr->reg_list_format_size_bytes >> 2); i++)
rlc_hdr           739 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 	tmp = (unsigned int *)((uintptr_t)rlc_hdr +
rlc_hdr           740 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 			le32_to_cpu(rlc_hdr->reg_list_array_offset_bytes));
rlc_hdr           741 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 	for (i = 0 ; i < (rlc_hdr->reg_list_size_bytes >> 2); i++)
rlc_hdr          2120 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 	const struct rlc_firmware_header_v2_0 *rlc_hdr;
rlc_hdr          2153 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 	rlc_hdr = (const struct rlc_firmware_header_v2_0 *)
rlc_hdr          2156 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 		le32_to_cpu(rlc_hdr->header.ucode_array_offset_bytes));
rlc_hdr          2157 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 	fw_size = le32_to_cpu(rlc_hdr->header.ucode_size_bytes);
rlc_hdr           317 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c 	const struct rlc_firmware_header_v1_0 *rlc_hdr;
rlc_hdr           378 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c 	rlc_hdr = (const struct rlc_firmware_header_v1_0 *)adev->gfx.rlc_fw->data;
rlc_hdr           379 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c 	adev->gfx.rlc_fw_version = le32_to_cpu(rlc_hdr->header.ucode_version);
rlc_hdr           380 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c 	adev->gfx.rlc_feature_version = le32_to_cpu(rlc_hdr->ucode_feature_version);
rlc_hdr           957 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c 	const struct rlc_firmware_header_v2_0 *rlc_hdr;
rlc_hdr          1071 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c 	rlc_hdr = (const struct rlc_firmware_header_v2_0 *)adev->gfx.rlc_fw->data;
rlc_hdr          1072 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c 	adev->gfx.rlc_fw_version = le32_to_cpu(rlc_hdr->header.ucode_version);
rlc_hdr          1073 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c 	adev->gfx.rlc_feature_version = le32_to_cpu(rlc_hdr->ucode_feature_version);
rlc_hdr          1076 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c 			le32_to_cpu(rlc_hdr->save_and_restore_offset);
rlc_hdr          1078 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c 			le32_to_cpu(rlc_hdr->clear_state_descriptor_offset);
rlc_hdr          1080 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c 			le32_to_cpu(rlc_hdr->avail_scratch_ram_locations);
rlc_hdr          1082 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c 			le32_to_cpu(rlc_hdr->reg_restore_list_size);
rlc_hdr          1084 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c 			le32_to_cpu(rlc_hdr->reg_list_format_start);
rlc_hdr          1086 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c 			le32_to_cpu(rlc_hdr->reg_list_format_separate_start);
rlc_hdr          1088 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c 			le32_to_cpu(rlc_hdr->starting_offsets_start);
rlc_hdr          1090 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c 			le32_to_cpu(rlc_hdr->reg_list_format_size_bytes);
rlc_hdr          1092 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c 			le32_to_cpu(rlc_hdr->reg_list_size_bytes);
rlc_hdr          1103 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c 	tmp = (unsigned int *)((uintptr_t)rlc_hdr +
rlc_hdr          1104 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c 			le32_to_cpu(rlc_hdr->reg_list_format_array_offset_bytes));
rlc_hdr          1110 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c 	tmp = (unsigned int *)((uintptr_t)rlc_hdr +
rlc_hdr          1111 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c 			le32_to_cpu(rlc_hdr->reg_list_array_offset_bytes));
rlc_hdr           952 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 	const struct rlc_firmware_header_v2_1 *rlc_hdr;
rlc_hdr           954 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 	rlc_hdr = (const struct rlc_firmware_header_v2_1 *)adev->gfx.rlc_fw->data;
rlc_hdr           955 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 	adev->gfx.rlc_srlc_fw_version = le32_to_cpu(rlc_hdr->save_restore_list_cntl_ucode_ver);
rlc_hdr           956 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 	adev->gfx.rlc_srlc_feature_version = le32_to_cpu(rlc_hdr->save_restore_list_cntl_feature_ver);
rlc_hdr           957 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 	adev->gfx.rlc.save_restore_list_cntl_size_bytes = le32_to_cpu(rlc_hdr->save_restore_list_cntl_size_bytes);
rlc_hdr           958 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 	adev->gfx.rlc.save_restore_list_cntl = (u8 *)rlc_hdr + le32_to_cpu(rlc_hdr->save_restore_list_cntl_offset_bytes);
rlc_hdr           959 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 	adev->gfx.rlc_srlg_fw_version = le32_to_cpu(rlc_hdr->save_restore_list_gpm_ucode_ver);
rlc_hdr           960 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 	adev->gfx.rlc_srlg_feature_version = le32_to_cpu(rlc_hdr->save_restore_list_gpm_feature_ver);
rlc_hdr           961 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 	adev->gfx.rlc.save_restore_list_gpm_size_bytes = le32_to_cpu(rlc_hdr->save_restore_list_gpm_size_bytes);
rlc_hdr           962 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 	adev->gfx.rlc.save_restore_list_gpm = (u8 *)rlc_hdr + le32_to_cpu(rlc_hdr->save_restore_list_gpm_offset_bytes);
rlc_hdr           963 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 	adev->gfx.rlc_srls_fw_version = le32_to_cpu(rlc_hdr->save_restore_list_srm_ucode_ver);
rlc_hdr           964 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 	adev->gfx.rlc_srls_feature_version = le32_to_cpu(rlc_hdr->save_restore_list_srm_feature_ver);
rlc_hdr           965 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 	adev->gfx.rlc.save_restore_list_srm_size_bytes = le32_to_cpu(rlc_hdr->save_restore_list_srm_size_bytes);
rlc_hdr           966 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 	adev->gfx.rlc.save_restore_list_srm = (u8 *)rlc_hdr + le32_to_cpu(rlc_hdr->save_restore_list_srm_offset_bytes);
rlc_hdr           968 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 			le32_to_cpu(rlc_hdr->reg_list_format_direct_reg_list_length);
rlc_hdr          1152 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 	const struct rlc_firmware_header_v2_0 *rlc_hdr;
rlc_hdr          1183 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 	rlc_hdr = (const struct rlc_firmware_header_v2_0 *)adev->gfx.rlc_fw->data;
rlc_hdr          1185 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 	version_major = le16_to_cpu(rlc_hdr->header.header_version_major);
rlc_hdr          1186 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 	version_minor = le16_to_cpu(rlc_hdr->header.header_version_minor);
rlc_hdr          1190 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 	adev->gfx.rlc_fw_version = le32_to_cpu(rlc_hdr->header.ucode_version);
rlc_hdr          1191 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 	adev->gfx.rlc_feature_version = le32_to_cpu(rlc_hdr->ucode_feature_version);
rlc_hdr          1193 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 			le32_to_cpu(rlc_hdr->save_and_restore_offset);
rlc_hdr          1195 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 			le32_to_cpu(rlc_hdr->clear_state_descriptor_offset);
rlc_hdr          1197 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 			le32_to_cpu(rlc_hdr->avail_scratch_ram_locations);
rlc_hdr          1199 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 			le32_to_cpu(rlc_hdr->reg_restore_list_size);
rlc_hdr          1201 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 			le32_to_cpu(rlc_hdr->reg_list_format_start);
rlc_hdr          1203 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 			le32_to_cpu(rlc_hdr->reg_list_format_separate_start);
rlc_hdr          1205 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 			le32_to_cpu(rlc_hdr->starting_offsets_start);
rlc_hdr          1207 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 			le32_to_cpu(rlc_hdr->reg_list_format_size_bytes);
rlc_hdr          1209 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 			le32_to_cpu(rlc_hdr->reg_list_size_bytes);
rlc_hdr          1218 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 	tmp = (unsigned int *)((uintptr_t)rlc_hdr +
rlc_hdr          1219 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 			le32_to_cpu(rlc_hdr->reg_list_format_array_offset_bytes));
rlc_hdr          1225 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 	tmp = (unsigned int *)((uintptr_t)rlc_hdr +
rlc_hdr          1226 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 			le32_to_cpu(rlc_hdr->reg_list_array_offset_bytes));
rlc_hdr           115 drivers/gpu/drm/radeon/radeon_ucode.c 		const struct rlc_firmware_header_v1_0 *rlc_hdr =
rlc_hdr           119 drivers/gpu/drm/radeon/radeon_ucode.c 			  le32_to_cpu(rlc_hdr->ucode_feature_version));
rlc_hdr           121 drivers/gpu/drm/radeon/radeon_ucode.c 			  le32_to_cpu(rlc_hdr->save_and_restore_offset));
rlc_hdr           123 drivers/gpu/drm/radeon/radeon_ucode.c 			  le32_to_cpu(rlc_hdr->clear_state_descriptor_offset));
rlc_hdr           125 drivers/gpu/drm/radeon/radeon_ucode.c 			  le32_to_cpu(rlc_hdr->avail_scratch_ram_locations));
rlc_hdr           127 drivers/gpu/drm/radeon/radeon_ucode.c 			  le32_to_cpu(rlc_hdr->master_pkt_description_offset));