Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/net/wireless/ath/ath10k/
Dcoredump.c1489 struct ath10k_ce_crash_hdr *ce_hdr; in ath10k_coredump_build() local
1502 len += sizeof(*dump_tlv) + sizeof(*ce_hdr) + in ath10k_coredump_build()
1503 CE_COUNT * sizeof(ce_hdr->entries[0]); in ath10k_coredump_build()
1563 dump_tlv->tlv_len = cpu_to_le32(struct_size(ce_hdr, entries, in ath10k_coredump_build()
1565 ce_hdr = (struct ath10k_ce_crash_hdr *)(dump_tlv->tlv_data); in ath10k_coredump_build()
1566 ce_hdr->ce_count = cpu_to_le32(CE_COUNT); in ath10k_coredump_build()
1567 memset(ce_hdr->reserved, 0, sizeof(ce_hdr->reserved)); in ath10k_coredump_build()
1568 memcpy(ce_hdr->entries, crash_data->ce_crash_data, in ath10k_coredump_build()
1569 CE_COUNT * sizeof(ce_hdr->entries[0])); in ath10k_coredump_build()
1570 sofar += sizeof(*dump_tlv) + sizeof(*ce_hdr) + in ath10k_coredump_build()
[all …]
/Linux-v5.15/drivers/gpu/drm/amd/amdgpu/
Dgfx_v7_0.c2456 const struct gfx_firmware_header_v1_0 *ce_hdr; in gfx_v7_0_cp_gfx_load_microcode() local
2465 ce_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.ce_fw->data; in gfx_v7_0_cp_gfx_load_microcode()
2469 amdgpu_ucode_print_gfx_hdr(&ce_hdr->header); in gfx_v7_0_cp_gfx_load_microcode()
2472 adev->gfx.ce_fw_version = le32_to_cpu(ce_hdr->header.ucode_version); in gfx_v7_0_cp_gfx_load_microcode()
2475 adev->gfx.ce_feature_version = le32_to_cpu(ce_hdr->ucode_feature_version); in gfx_v7_0_cp_gfx_load_microcode()
2493 le32_to_cpu(ce_hdr->header.ucode_array_offset_bytes)); in gfx_v7_0_cp_gfx_load_microcode()
2494 fw_size = le32_to_cpu(ce_hdr->header.ucode_size_bytes) / 4; in gfx_v7_0_cp_gfx_load_microcode()
Dgfx_v6_0.c1970 const struct gfx_firmware_header_v1_0 *ce_hdr; in gfx_v6_0_cp_gfx_load_microcode() local
1980 ce_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.ce_fw->data; in gfx_v6_0_cp_gfx_load_microcode()
1984 amdgpu_ucode_print_gfx_hdr(&ce_hdr->header); in gfx_v6_0_cp_gfx_load_microcode()
1998 (adev->gfx.ce_fw->data + le32_to_cpu(ce_hdr->header.ucode_array_offset_bytes)); in gfx_v6_0_cp_gfx_load_microcode()
1999 fw_size = le32_to_cpu(ce_hdr->header.ucode_size_bytes) / 4; in gfx_v6_0_cp_gfx_load_microcode()
Dgfx_v9_0.c3196 const struct gfx_firmware_header_v1_0 *ce_hdr; in gfx_v9_0_cp_gfx_load_microcode() local
3206 ce_hdr = (const struct gfx_firmware_header_v1_0 *) in gfx_v9_0_cp_gfx_load_microcode()
3212 amdgpu_ucode_print_gfx_hdr(&ce_hdr->header); in gfx_v9_0_cp_gfx_load_microcode()
3230 le32_to_cpu(ce_hdr->header.ucode_array_offset_bytes)); in gfx_v9_0_cp_gfx_load_microcode()
3231 fw_size = le32_to_cpu(ce_hdr->header.ucode_size_bytes) / 4; in gfx_v9_0_cp_gfx_load_microcode()
Dgfx_v10_0.c6050 const struct gfx_firmware_header_v1_0 *ce_hdr; in gfx_v10_0_cp_gfx_load_ce_microcode() local
6056 ce_hdr = (const struct gfx_firmware_header_v1_0 *) in gfx_v10_0_cp_gfx_load_ce_microcode()
6059 amdgpu_ucode_print_gfx_hdr(&ce_hdr->header); in gfx_v10_0_cp_gfx_load_ce_microcode()
6062 le32_to_cpu(ce_hdr->header.ucode_array_offset_bytes)); in gfx_v10_0_cp_gfx_load_ce_microcode()
6063 fw_size = le32_to_cpu(ce_hdr->header.ucode_size_bytes); in gfx_v10_0_cp_gfx_load_ce_microcode()
6065 r = amdgpu_bo_create_reserved(adev, ce_hdr->header.ucode_size_bytes, in gfx_v10_0_cp_gfx_load_ce_microcode()
6115 for (i = 0; i < ce_hdr->jt_size; i++) in gfx_v10_0_cp_gfx_load_ce_microcode()
6117 le32_to_cpup(fw_data + ce_hdr->jt_offset + i)); in gfx_v10_0_cp_gfx_load_ce_microcode()
/Linux-v5.15/drivers/gpu/drm/radeon/
Dsi.c3487 const struct gfx_firmware_header_v1_0 *ce_hdr = in si_cp_load_microcode() local
3495 radeon_ucode_print_gfx_hdr(&ce_hdr->header); in si_cp_load_microcode()
3509 (rdev->ce_fw->data + le32_to_cpu(ce_hdr->header.ucode_array_offset_bytes)); in si_cp_load_microcode()
3510 fw_size = le32_to_cpu(ce_hdr->header.ucode_size_bytes) / 4; in si_cp_load_microcode()
Dcik.c3896 const struct gfx_firmware_header_v1_0 *ce_hdr = in cik_cp_gfx_load_microcode() local
3904 radeon_ucode_print_gfx_hdr(&ce_hdr->header); in cik_cp_gfx_load_microcode()
3918 (rdev->ce_fw->data + le32_to_cpu(ce_hdr->header.ucode_array_offset_bytes)); in cik_cp_gfx_load_microcode()
3919 fw_size = le32_to_cpu(ce_hdr->header.ucode_size_bytes) / 4; in cik_cp_gfx_load_microcode()
3923 WREG32(CP_CE_UCODE_ADDR, le32_to_cpu(ce_hdr->header.ucode_version)); in cik_cp_gfx_load_microcode()