mec_hdr          1059 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 	const struct gfx_firmware_header_v1_0 *mec_hdr = NULL;
mec_hdr          1084 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 		mec_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.mec_fw->data;
mec_hdr          1087 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 			 le32_to_cpu(mec_hdr->header.ucode_array_offset_bytes));
mec_hdr          1088 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 		fw_size = le32_to_cpu(mec_hdr->header.ucode_size_bytes);
mec_hdr          1090 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 		r = amdgpu_bo_create_reserved(adev, mec_hdr->header.ucode_size_bytes,
mec_hdr          2936 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 	const struct gfx_firmware_header_v1_0 *mec_hdr;
mec_hdr          2947 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 	mec_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.mec_fw->data;
mec_hdr          2948 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 	amdgpu_ucode_print_gfx_hdr(&mec_hdr->header);
mec_hdr          2952 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 		 le32_to_cpu(mec_hdr->header.ucode_array_offset_bytes));
mec_hdr          2990 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 	for (i = 0; i < mec_hdr->jt_size; i++)
mec_hdr          2992 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 			     le32_to_cpup(fw_data + mec_hdr->jt_offset + i));
mec_hdr          2725 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c 	const struct gfx_firmware_header_v1_0 *mec_hdr;
mec_hdr          2732 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c 	mec_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.mec_fw->data;
mec_hdr          2733 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c 	amdgpu_ucode_print_gfx_hdr(&mec_hdr->header);
mec_hdr          2734 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c 	adev->gfx.mec_fw_version = le32_to_cpu(mec_hdr->header.ucode_version);
mec_hdr          2736 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c 					mec_hdr->ucode_feature_version);
mec_hdr          2743 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c 		 le32_to_cpu(mec_hdr->header.ucode_array_offset_bytes));
mec_hdr          2744 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c 	fw_size = le32_to_cpu(mec_hdr->header.ucode_size_bytes) / 4;
mec_hdr          1726 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 	const struct gfx_firmware_header_v1_0 *mec_hdr;
mec_hdr          1750 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 	mec_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.mec_fw->data;
mec_hdr          1754 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 		 le32_to_cpu(mec_hdr->header.ucode_array_offset_bytes));
mec_hdr          1755 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 	fw_size = le32_to_cpu(mec_hdr->header.ucode_size_bytes) / 4;
mec_hdr          1757 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 	r = amdgpu_bo_create_reserved(adev, mec_hdr->header.ucode_size_bytes,
mec_hdr          3287 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 	const struct gfx_firmware_header_v1_0 *mec_hdr;
mec_hdr          3297 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 	mec_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.mec_fw->data;
mec_hdr          3298 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 	amdgpu_ucode_print_gfx_hdr(&mec_hdr->header);
mec_hdr          3302 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 		 le32_to_cpu(mec_hdr->header.ucode_array_offset_bytes));
mec_hdr          3315 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 			 mec_hdr->jt_offset);
mec_hdr          3316 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 	for (i = 0; i < mec_hdr->jt_size; i++)
mec_hdr          3318 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 			le32_to_cpup(fw_data + mec_hdr->jt_offset + i));
mec_hdr          4270 drivers/gpu/drm/radeon/cik.c 		const struct gfx_firmware_header_v1_0 *mec_hdr =
mec_hdr          4275 drivers/gpu/drm/radeon/cik.c 		radeon_ucode_print_gfx_hdr(&mec_hdr->header);
mec_hdr          4279 drivers/gpu/drm/radeon/cik.c 			(rdev->mec_fw->data + le32_to_cpu(mec_hdr->header.ucode_array_offset_bytes));
mec_hdr          4280 drivers/gpu/drm/radeon/cik.c 		fw_size = le32_to_cpu(mec_hdr->header.ucode_size_bytes) / 4;
mec_hdr          4284 drivers/gpu/drm/radeon/cik.c 		WREG32(CP_MEC_ME1_UCODE_ADDR, le32_to_cpu(mec_hdr->header.ucode_version));