Searched refs:ucode_size_bytes (Results 1 - 25 of 38) sorted by relevance

12

/netbsd-current/sys/external/bsd/drm2/dist/drm/amd/amdgpu/
H A Damdgpu_uvd.h39 (AMDGPU_GPU_PAGE_ALIGN(le32_to_cpu(((const struct common_firmware_header *)(adev)->uvd.fw->data)->ucode_size_bytes) + \
H A Damdgpu_ucode.c47 DRM_DEBUG("ucode_size_bytes: %u\n", le32_to_cpu(hdr->ucode_size_bytes));
494 ucode->ucode_size = le32_to_cpu(header->ucode_size_bytes);
501 ucode->ucode_size = le32_to_cpu(header->ucode_size_bytes) -
516 ucode->ucode_size = le32_to_cpu(header->ucode_size_bytes) -
566 ALIGN(le32_to_cpu(comm_hdr->ucode_size_bytes),
H A Damdgpu_cgs.c229 data_size = le32_to_cpu(header->header.ucode_size_bytes);
233 gpu_addr += ALIGN(le32_to_cpu(header->header.ucode_size_bytes), PAGE_SIZE);
465 ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE);
472 ucode_size = le32_to_cpu(hdr->header.ucode_size_bytes);
H A Damdgpu_gfx_v10_0.c813 ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE);
820 ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE);
827 ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE);
835 ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE);
866 ALIGN(le32_to_cpu(header->ucode_size_bytes) -
882 ALIGN(le32_to_cpu(header->ucode_size_bytes) -
1088 fw_size = le32_to_cpu(mec_hdr->header.ucode_size_bytes);
1090 r = amdgpu_bo_create_reserved(adev, mec_hdr->header.ucode_size_bytes,
1876 fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4;
2086 fw_size = le32_to_cpu(cp_hdr->header.ucode_size_bytes);
[all...]
H A Damdgpu_vcn.c163 bo_size += AMDGPU_GPU_PAGE_ALIGN(le32_to_cpu(hdr->ucode_size_bytes) + 8);
275 le32_to_cpu(hdr->ucode_size_bytes));
276 size -= le32_to_cpu(hdr->ucode_size_bytes);
277 ptr += le32_to_cpu(hdr->ucode_size_bytes);
H A Damdgpu_ucode.h38 uint32_t ucode_size_bytes; /* size of ucode in bytes */ member in struct:common_firmware_header
358 /* ucode_size_bytes */
H A Damdgpu_uvd.c261 bo_size += AMDGPU_GPU_PAGE_ALIGN(le32_to_cpu(hdr->ucode_size_bytes) + 8);
426 le32_to_cpu(hdr->ucode_size_bytes));
427 size -= le32_to_cpu(hdr->ucode_size_bytes);
428 ptr += le32_to_cpu(hdr->ucode_size_bytes);
H A Damdgpu_si_smc.c226 ucode_size = le32_to_cpu(hdr->header.ucode_size_bytes);
H A Damdgpu_psp_v3_1.c97 adev->psp.sys_bin_size = le32_to_cpu(hdr->header.ucode_size_bytes) -
116 adev->psp.asd_ucode_size = le32_to_cpu(hdr->header.ucode_size_bytes);
H A Damdgpu_psp_v10_0.c86 adev->psp.asd_ucode_size = le32_to_cpu(hdr->header.ucode_size_bytes);
H A Damdgpu_psp_v12_0.c79 adev->psp.asd_ucode_size = le32_to_cpu(asd_hdr->header.ucode_size_bytes);
H A Damdgpu_gfx_v9_0.c1293 ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE);
1300 ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE);
1307 ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE);
1419 ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE);
1501 ALIGN(le32_to_cpu(header->ucode_size_bytes) - le32_to_cpu(cp_hdr->jt_size) * 4, PAGE_SIZE);
1516 ALIGN(le32_to_cpu(header->ucode_size_bytes) - le32_to_cpu(cp_hdr->jt_size) * 4, PAGE_SIZE);
1903 fw_size = le32_to_cpu(mec_hdr->header.ucode_size_bytes) / 4;
1905 r = amdgpu_bo_create_reserved(adev, mec_hdr->header.ucode_size_bytes,
2985 fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4;
3085 fw_size = le32_to_cpu(pfp_hdr->header.ucode_size_bytes) /
[all...]
H A Damdgpu_gfx_v7_0.c2493 fw_size = le32_to_cpu(pfp_hdr->header.ucode_size_bytes) / 4;
2503 fw_size = le32_to_cpu(ce_hdr->header.ucode_size_bytes) / 4;
2513 fw_size = le32_to_cpu(me_hdr->header.ucode_size_bytes) / 4;
2752 fw_size = le32_to_cpu(mec_hdr->header.ucode_size_bytes) / 4;
2774 fw_size = le32_to_cpu(mec2_hdr->header.ucode_size_bytes) / 4;
3564 fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4;
H A Damdgpu_vcn_v2_5.c158 ALIGN(le32_to_cpu(hdr->ucode_size_bytes), PAGE_SIZE);
164 ALIGN(le32_to_cpu(hdr->ucode_size_bytes), PAGE_SIZE);
H A Damdgpu_uvd_v7_0.c443 ALIGN(le32_to_cpu(hdr->ucode_size_bytes), PAGE_SIZE);
449 ALIGN(le32_to_cpu(hdr->ucode_size_bytes), PAGE_SIZE);
H A Damdgpu_gmc_v8_0.c329 ucode_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4;
398 ucode_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4;
H A Damdgpu_sdma_v5_0.c225 ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE);
806 fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4;
H A Damdgpu_gfx_v6_0.c1998 fw_size = le32_to_cpu(pfp_hdr->header.ucode_size_bytes) / 4;
2007 fw_size = le32_to_cpu(ce_hdr->header.ucode_size_bytes) / 4;
2016 fw_size = le32_to_cpu(me_hdr->header.ucode_size_bytes) / 4;
2553 fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4;
H A Damdgpu_vce_v4_0.c463 ALIGN(le32_to_cpu(hdr->ucode_size_bytes), PAGE_SIZE);
H A Damdgpu_sdma_v2_4.c178 ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE);
/netbsd-current/sys/external/bsd/drm2/dist/drm/radeon/
H A Dradeon_ucode.h166 uint32_t ucode_size_bytes; /* size of ucode in bytes */ member in struct:common_firmware_header
H A Dradeon_ucode.c45 DRM_DEBUG("ucode_size_bytes: %u\n", le32_to_cpu(hdr->ucode_size_bytes));
H A Dradeon_ci_smc.c209 ucode_size = le32_to_cpu(hdr->header.ucode_size_bytes);
H A Dradeon_si_smc.c234 ucode_size = le32_to_cpu(hdr->header.ucode_size_bytes);
H A Dradeon_cik_sdma.c488 fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4;
497 fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4;

Completed in 572 milliseconds

12