Lines Matching refs:cp_hdr
1164 const struct gfx_firmware_header_v1_0 *cp_hdr; in amdgpu_gfx_cp_init_microcode() local
1172 cp_hdr = (const struct gfx_firmware_header_v1_0 *) in amdgpu_gfx_cp_init_microcode()
1175 le32_to_cpu(cp_hdr->header.ucode_version); in amdgpu_gfx_cp_init_microcode()
1177 le32_to_cpu(cp_hdr->ucode_feature_version); in amdgpu_gfx_cp_init_microcode()
1179 fw_size = le32_to_cpu(cp_hdr->header.ucode_size_bytes); in amdgpu_gfx_cp_init_microcode()
1199 cp_hdr = (const struct gfx_firmware_header_v1_0 *) in amdgpu_gfx_cp_init_microcode()
1202 le32_to_cpu(cp_hdr->header.ucode_version); in amdgpu_gfx_cp_init_microcode()
1204 le32_to_cpu(cp_hdr->ucode_feature_version); in amdgpu_gfx_cp_init_microcode()
1206 fw_size = le32_to_cpu(cp_hdr->header.ucode_size_bytes); in amdgpu_gfx_cp_init_microcode()
1226 cp_hdr = (const struct gfx_firmware_header_v1_0 *) in amdgpu_gfx_cp_init_microcode()
1229 le32_to_cpu(cp_hdr->header.ucode_version); in amdgpu_gfx_cp_init_microcode()
1231 le32_to_cpu(cp_hdr->ucode_feature_version); in amdgpu_gfx_cp_init_microcode()
1233 fw_size = le32_to_cpu(cp_hdr->header.ucode_size_bytes); in amdgpu_gfx_cp_init_microcode()
1236 cp_hdr = (const struct gfx_firmware_header_v1_0 *) in amdgpu_gfx_cp_init_microcode()
1239 le32_to_cpu(cp_hdr->header.ucode_version); in amdgpu_gfx_cp_init_microcode()
1241 le32_to_cpu(cp_hdr->ucode_feature_version); in amdgpu_gfx_cp_init_microcode()
1243 fw_size = le32_to_cpu(cp_hdr->header.ucode_size_bytes) - in amdgpu_gfx_cp_init_microcode()
1244 le32_to_cpu(cp_hdr->jt_size) * 4; in amdgpu_gfx_cp_init_microcode()
1247 cp_hdr = (const struct gfx_firmware_header_v1_0 *) in amdgpu_gfx_cp_init_microcode()
1250 fw_size = le32_to_cpu(cp_hdr->jt_size) * 4; in amdgpu_gfx_cp_init_microcode()
1253 cp_hdr = (const struct gfx_firmware_header_v1_0 *) in amdgpu_gfx_cp_init_microcode()
1256 le32_to_cpu(cp_hdr->header.ucode_version); in amdgpu_gfx_cp_init_microcode()
1258 le32_to_cpu(cp_hdr->ucode_feature_version); in amdgpu_gfx_cp_init_microcode()
1260 fw_size = le32_to_cpu(cp_hdr->header.ucode_size_bytes) - in amdgpu_gfx_cp_init_microcode()
1261 le32_to_cpu(cp_hdr->jt_size) * 4; in amdgpu_gfx_cp_init_microcode()
1264 cp_hdr = (const struct gfx_firmware_header_v1_0 *) in amdgpu_gfx_cp_init_microcode()
1267 fw_size = le32_to_cpu(cp_hdr->jt_size) * 4; in amdgpu_gfx_cp_init_microcode()