Searched refs:ce_hdr (Results 1 – 7 of 7) sorted by relevance
1018 struct ath10k_ce_crash_hdr *ce_hdr; in ath10k_coredump_build() local1031 len += sizeof(*dump_tlv) + sizeof(*ce_hdr) + in ath10k_coredump_build()1032 CE_COUNT * sizeof(ce_hdr->entries[0]); in ath10k_coredump_build()1092 dump_tlv->tlv_len = cpu_to_le32(sizeof(*ce_hdr) + in ath10k_coredump_build()1093 CE_COUNT * sizeof(ce_hdr->entries[0])); in ath10k_coredump_build()1094 ce_hdr = (struct ath10k_ce_crash_hdr *)(dump_tlv->tlv_data); in ath10k_coredump_build()1095 ce_hdr->ce_count = cpu_to_le32(CE_COUNT); in ath10k_coredump_build()1096 memset(ce_hdr->reserved, 0, sizeof(ce_hdr->reserved)); in ath10k_coredump_build()1097 memcpy(ce_hdr->entries, crash_data->ce_crash_data, in ath10k_coredump_build()1098 CE_COUNT * sizeof(ce_hdr->entries[0])); in ath10k_coredump_build()[all …]
2422 const struct gfx_firmware_header_v1_0 *ce_hdr; in gfx_v7_0_cp_gfx_load_microcode() local2431 ce_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.ce_fw->data; in gfx_v7_0_cp_gfx_load_microcode()2435 amdgpu_ucode_print_gfx_hdr(&ce_hdr->header); in gfx_v7_0_cp_gfx_load_microcode()2438 adev->gfx.ce_fw_version = le32_to_cpu(ce_hdr->header.ucode_version); in gfx_v7_0_cp_gfx_load_microcode()2441 adev->gfx.ce_feature_version = le32_to_cpu(ce_hdr->ucode_feature_version); in gfx_v7_0_cp_gfx_load_microcode()2459 le32_to_cpu(ce_hdr->header.ucode_array_offset_bytes)); in gfx_v7_0_cp_gfx_load_microcode()2460 fw_size = le32_to_cpu(ce_hdr->header.ucode_size_bytes) / 4; in gfx_v7_0_cp_gfx_load_microcode()
1964 const struct gfx_firmware_header_v1_0 *ce_hdr; in gfx_v6_0_cp_gfx_load_microcode() local1974 ce_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.ce_fw->data; in gfx_v6_0_cp_gfx_load_microcode()1978 amdgpu_ucode_print_gfx_hdr(&ce_hdr->header); in gfx_v6_0_cp_gfx_load_microcode()1992 (adev->gfx.ce_fw->data + le32_to_cpu(ce_hdr->header.ucode_array_offset_bytes)); in gfx_v6_0_cp_gfx_load_microcode()1993 fw_size = le32_to_cpu(ce_hdr->header.ucode_size_bytes) / 4; in gfx_v6_0_cp_gfx_load_microcode()
2351 const struct gfx_firmware_header_v1_0 *ce_hdr; in gfx_v9_0_cp_gfx_load_microcode() local2361 ce_hdr = (const struct gfx_firmware_header_v1_0 *) in gfx_v9_0_cp_gfx_load_microcode()2367 amdgpu_ucode_print_gfx_hdr(&ce_hdr->header); in gfx_v9_0_cp_gfx_load_microcode()2385 le32_to_cpu(ce_hdr->header.ucode_array_offset_bytes)); in gfx_v9_0_cp_gfx_load_microcode()2386 fw_size = le32_to_cpu(ce_hdr->header.ucode_size_bytes) / 4; in gfx_v9_0_cp_gfx_load_microcode()
4290 const struct gfx_firmware_header_v1_0 *ce_hdr; in gfx_v8_0_cp_gfx_load_microcode() local4300 ce_hdr = (const struct gfx_firmware_header_v1_0 *) in gfx_v8_0_cp_gfx_load_microcode()4306 amdgpu_ucode_print_gfx_hdr(&ce_hdr->header); in gfx_v8_0_cp_gfx_load_microcode()4324 le32_to_cpu(ce_hdr->header.ucode_array_offset_bytes)); in gfx_v8_0_cp_gfx_load_microcode()4325 fw_size = le32_to_cpu(ce_hdr->header.ucode_size_bytes) / 4; in gfx_v8_0_cp_gfx_load_microcode()
3488 const struct gfx_firmware_header_v1_0 *ce_hdr = in si_cp_load_microcode() local3496 radeon_ucode_print_gfx_hdr(&ce_hdr->header); in si_cp_load_microcode()3510 (rdev->ce_fw->data + le32_to_cpu(ce_hdr->header.ucode_array_offset_bytes)); in si_cp_load_microcode()3511 fw_size = le32_to_cpu(ce_hdr->header.ucode_size_bytes) / 4; in si_cp_load_microcode()
3906 const struct gfx_firmware_header_v1_0 *ce_hdr = in cik_cp_gfx_load_microcode() local3914 radeon_ucode_print_gfx_hdr(&ce_hdr->header); in cik_cp_gfx_load_microcode()3928 (rdev->ce_fw->data + le32_to_cpu(ce_hdr->header.ucode_array_offset_bytes)); in cik_cp_gfx_load_microcode()3929 fw_size = le32_to_cpu(ce_hdr->header.ucode_size_bytes) / 4; in cik_cp_gfx_load_microcode()3933 WREG32(CP_CE_UCODE_ADDR, le32_to_cpu(ce_hdr->header.ucode_version)); in cik_cp_gfx_load_microcode()