Searched refs:ce_hdr (Results 1 – 4 of 4) sorted by relevance
1497 struct ath10k_ce_crash_hdr *ce_hdr; in ath10k_coredump_build() local1510 len += sizeof(*dump_tlv) + sizeof(*ce_hdr) + in ath10k_coredump_build()1511 CE_COUNT * sizeof(ce_hdr->entries[0]); in ath10k_coredump_build()1571 dump_tlv->tlv_len = cpu_to_le32(struct_size(ce_hdr, entries, in ath10k_coredump_build()1573 ce_hdr = (struct ath10k_ce_crash_hdr *)(dump_tlv->tlv_data); in ath10k_coredump_build()1574 ce_hdr->ce_count = cpu_to_le32(CE_COUNT); in ath10k_coredump_build()1575 memset(ce_hdr->reserved, 0, sizeof(ce_hdr->reserved)); in ath10k_coredump_build()1576 memcpy(ce_hdr->entries, crash_data->ce_crash_data, in ath10k_coredump_build()1577 CE_COUNT * sizeof(ce_hdr->entries[0])); in ath10k_coredump_build()1578 sofar += sizeof(*dump_tlv) + sizeof(*ce_hdr) + in ath10k_coredump_build()[all …]
2394 const struct gfx_firmware_header_v1_0 *ce_hdr; in gfx_v7_0_cp_gfx_load_microcode() local2403 ce_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.ce_fw->data; in gfx_v7_0_cp_gfx_load_microcode()2407 amdgpu_ucode_print_gfx_hdr(&ce_hdr->header); in gfx_v7_0_cp_gfx_load_microcode()2410 adev->gfx.ce_fw_version = le32_to_cpu(ce_hdr->header.ucode_version); in gfx_v7_0_cp_gfx_load_microcode()2413 adev->gfx.ce_feature_version = le32_to_cpu(ce_hdr->ucode_feature_version); in gfx_v7_0_cp_gfx_load_microcode()2431 le32_to_cpu(ce_hdr->header.ucode_array_offset_bytes)); in gfx_v7_0_cp_gfx_load_microcode()2432 fw_size = le32_to_cpu(ce_hdr->header.ucode_size_bytes) / 4; in gfx_v7_0_cp_gfx_load_microcode()
1953 const struct gfx_firmware_header_v1_0 *ce_hdr; in gfx_v6_0_cp_gfx_load_microcode() local1963 ce_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.ce_fw->data; in gfx_v6_0_cp_gfx_load_microcode()1967 amdgpu_ucode_print_gfx_hdr(&ce_hdr->header); in gfx_v6_0_cp_gfx_load_microcode()1981 (adev->gfx.ce_fw->data + le32_to_cpu(ce_hdr->header.ucode_array_offset_bytes)); in gfx_v6_0_cp_gfx_load_microcode()1982 fw_size = le32_to_cpu(ce_hdr->header.ucode_size_bytes) / 4; in gfx_v6_0_cp_gfx_load_microcode()
6182 const struct gfx_firmware_header_v1_0 *ce_hdr; in gfx_v10_0_cp_gfx_load_ce_microcode() local6188 ce_hdr = (const struct gfx_firmware_header_v1_0 *) in gfx_v10_0_cp_gfx_load_ce_microcode()6191 amdgpu_ucode_print_gfx_hdr(&ce_hdr->header); in gfx_v10_0_cp_gfx_load_ce_microcode()6194 le32_to_cpu(ce_hdr->header.ucode_array_offset_bytes)); in gfx_v10_0_cp_gfx_load_ce_microcode()6195 fw_size = le32_to_cpu(ce_hdr->header.ucode_size_bytes); in gfx_v10_0_cp_gfx_load_ce_microcode()6197 r = amdgpu_bo_create_reserved(adev, ce_hdr->header.ucode_size_bytes, in gfx_v10_0_cp_gfx_load_ce_microcode()6247 for (i = 0; i < ce_hdr->jt_size; i++) in gfx_v10_0_cp_gfx_load_ce_microcode()6249 le32_to_cpup(fw_data + ce_hdr->jt_offset + i)); in gfx_v10_0_cp_gfx_load_ce_microcode()