Home
last modified time | relevance | path

Searched refs:cp_hdr (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_gfx.c1083 le32_to_cpu(cp_hdr->header.ucode_version); in amdgpu_gfx_cp_init_microcode()
1085 le32_to_cpu(cp_hdr->ucode_feature_version); in amdgpu_gfx_cp_init_microcode()
1110 le32_to_cpu(cp_hdr->header.ucode_version); in amdgpu_gfx_cp_init_microcode()
1112 le32_to_cpu(cp_hdr->ucode_feature_version); in amdgpu_gfx_cp_init_microcode()
1137 le32_to_cpu(cp_hdr->header.ucode_version); in amdgpu_gfx_cp_init_microcode()
1147 le32_to_cpu(cp_hdr->header.ucode_version); in amdgpu_gfx_cp_init_microcode()
1152 le32_to_cpu(cp_hdr->jt_size) * 4; in amdgpu_gfx_cp_init_microcode()
1158 fw_size = le32_to_cpu(cp_hdr->jt_size) * 4; in amdgpu_gfx_cp_init_microcode()
1164 le32_to_cpu(cp_hdr->header.ucode_version); in amdgpu_gfx_cp_init_microcode()
1169 le32_to_cpu(cp_hdr->jt_size) * 4; in amdgpu_gfx_cp_init_microcode()
[all …]
H A Damdgpu_ucode.c745 const struct gfx_firmware_header_v1_0 *cp_hdr = NULL; in amdgpu_ucode_init_single_fw() local
764 cp_hdr = (const struct gfx_firmware_header_v1_0 *)ucode->fw->data; in amdgpu_ucode_init_single_fw()
787 le32_to_cpu(cp_hdr->jt_size) * 4; in amdgpu_ucode_init_single_fw()
793 ucode->ucode_size = le32_to_cpu(cp_hdr->jt_size) * 4; in amdgpu_ucode_init_single_fw()
796 le32_to_cpu(cp_hdr->jt_offset) * 4; in amdgpu_ucode_init_single_fw()
1048 const struct gfx_firmware_header_v1_0 *cp_hdr; in amdgpu_ucode_init_bo() local
1050 cp_hdr = (const struct gfx_firmware_header_v1_0 *)ucode->fw->data; in amdgpu_ucode_init_bo()
1053 fw_offset += ALIGN(le32_to_cpu(cp_hdr->jt_size) << 2, PAGE_SIZE); in amdgpu_ucode_init_bo()
H A Dgfx_v6_0.c316 const struct gfx_firmware_header_v1_0 *cp_hdr; in gfx_v6_0_init_microcode() local
344 cp_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.pfp_fw->data; in gfx_v6_0_init_microcode()
345 adev->gfx.pfp_fw_version = le32_to_cpu(cp_hdr->header.ucode_version); in gfx_v6_0_init_microcode()
346 adev->gfx.pfp_feature_version = le32_to_cpu(cp_hdr->ucode_feature_version); in gfx_v6_0_init_microcode()
352 cp_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.me_fw->data; in gfx_v6_0_init_microcode()
353 adev->gfx.me_fw_version = le32_to_cpu(cp_hdr->header.ucode_version); in gfx_v6_0_init_microcode()
354 adev->gfx.me_feature_version = le32_to_cpu(cp_hdr->ucode_feature_version); in gfx_v6_0_init_microcode()
360 cp_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.ce_fw->data; in gfx_v6_0_init_microcode()
361 adev->gfx.ce_fw_version = le32_to_cpu(cp_hdr->header.ucode_version); in gfx_v6_0_init_microcode()
362 adev->gfx.ce_feature_version = le32_to_cpu(cp_hdr->ucode_feature_version); in gfx_v6_0_init_microcode()
H A Dgfx_v8_0.c946 const struct gfx_firmware_header_v1_0 *cp_hdr; in gfx_v8_0_init_microcode() local
998 adev->gfx.pfp_fw_version = le32_to_cpu(cp_hdr->header.ucode_version); in gfx_v8_0_init_microcode()
1014 cp_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.me_fw->data; in gfx_v8_0_init_microcode()
1015 adev->gfx.me_fw_version = le32_to_cpu(cp_hdr->header.ucode_version); in gfx_v8_0_init_microcode()
1032 cp_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.ce_fw->data; in gfx_v8_0_init_microcode()
1033 adev->gfx.ce_fw_version = le32_to_cpu(cp_hdr->header.ucode_version); in gfx_v8_0_init_microcode()
1109 adev->gfx.mec_fw_version = le32_to_cpu(cp_hdr->header.ucode_version); in gfx_v8_0_init_microcode()
1126 cp_hdr = (const struct gfx_firmware_header_v1_0 *) in gfx_v8_0_init_microcode()
1129 le32_to_cpu(cp_hdr->header.ucode_version); in gfx_v8_0_init_microcode()
1131 le32_to_cpu(cp_hdr->ucode_feature_version); in gfx_v8_0_init_microcode()
[all …]
H A Dgfx_v11_0.c1086 const struct gfx_firmware_header_v1_0 *cp_hdr; in gfx_v11_0_rlc_backdoor_autoload_copy_gfx_ucode() local
1150 cp_hdr = (const struct gfx_firmware_header_v1_0 *) in gfx_v11_0_rlc_backdoor_autoload_copy_gfx_ucode()
1153 le32_to_cpu(cp_hdr->header.ucode_array_offset_bytes)); in gfx_v11_0_rlc_backdoor_autoload_copy_gfx_ucode()
1154 fw_size = le32_to_cpu(cp_hdr->header.ucode_size_bytes); in gfx_v11_0_rlc_backdoor_autoload_copy_gfx_ucode()
1159 cp_hdr = (const struct gfx_firmware_header_v1_0 *) in gfx_v11_0_rlc_backdoor_autoload_copy_gfx_ucode()
1162 le32_to_cpu(cp_hdr->header.ucode_array_offset_bytes)); in gfx_v11_0_rlc_backdoor_autoload_copy_gfx_ucode()
1163 fw_size = le32_to_cpu(cp_hdr->header.ucode_size_bytes); in gfx_v11_0_rlc_backdoor_autoload_copy_gfx_ucode()
1168 cp_hdr = (const struct gfx_firmware_header_v1_0 *) in gfx_v11_0_rlc_backdoor_autoload_copy_gfx_ucode()
1171 le32_to_cpu(cp_hdr->header.ucode_array_offset_bytes)); in gfx_v11_0_rlc_backdoor_autoload_copy_gfx_ucode()
1172 fw_size = le32_to_cpu(cp_hdr->header.ucode_size_bytes) - in gfx_v11_0_rlc_backdoor_autoload_copy_gfx_ucode()
[all …]
H A Dgfx_v10_0.c5340 const struct gfx_firmware_header_v1_0 *cp_hdr; in gfx_v10_0_rlc_backdoor_autoload_copy_gfx_ucode() local
5344 cp_hdr = (const struct gfx_firmware_header_v1_0 *) in gfx_v10_0_rlc_backdoor_autoload_copy_gfx_ucode()
5347 le32_to_cpu(cp_hdr->header.ucode_array_offset_bytes)); in gfx_v10_0_rlc_backdoor_autoload_copy_gfx_ucode()
5348 fw_size = le32_to_cpu(cp_hdr->header.ucode_size_bytes); in gfx_v10_0_rlc_backdoor_autoload_copy_gfx_ucode()
5354 cp_hdr = (const struct gfx_firmware_header_v1_0 *) in gfx_v10_0_rlc_backdoor_autoload_copy_gfx_ucode()
5357 le32_to_cpu(cp_hdr->header.ucode_array_offset_bytes)); in gfx_v10_0_rlc_backdoor_autoload_copy_gfx_ucode()
5358 fw_size = le32_to_cpu(cp_hdr->header.ucode_size_bytes); in gfx_v10_0_rlc_backdoor_autoload_copy_gfx_ucode()
5364 cp_hdr = (const struct gfx_firmware_header_v1_0 *) in gfx_v10_0_rlc_backdoor_autoload_copy_gfx_ucode()
5367 le32_to_cpu(cp_hdr->header.ucode_array_offset_bytes)); in gfx_v10_0_rlc_backdoor_autoload_copy_gfx_ucode()
5384 cp_hdr = (const struct gfx_firmware_header_v1_0 *) in gfx_v10_0_rlc_backdoor_autoload_copy_gfx_ucode()
[all …]
/openbmc/linux/drivers/crypto/amcc/
H A Dcrypto4xx_alg.c53 u32 cp_pay, u32 cp_hdr) in set_dynamic_sa_command_1() argument
66 sa->sa_command_1.bf.copy_hdr = cp_hdr; in set_dynamic_sa_command_1()