Home
last modified time | relevance | path

Searched refs:ucode_size_bytes (Results 1 – 14 of 14) sorted by relevance

/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_cgs.c225 data_size = le32_to_cpu(header->header.ucode_size_bytes); in amdgpu_cgs_get_firmware_info()
229 gpu_addr += ALIGN(le32_to_cpu(header->header.ucode_size_bytes), PAGE_SIZE); in amdgpu_cgs_get_firmware_info()
372 ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE); in amdgpu_cgs_get_firmware_info()
379 ucode_size = le32_to_cpu(hdr->header.ucode_size_bytes); in amdgpu_cgs_get_firmware_info()
H A Damdgpu_uvd.h37 …GN(le32_to_cpu(((const struct common_firmware_header *)(adev)->uvd.fw->data)->ucode_size_bytes) + \
H A Damdgpu_gfx.c1386 fw_size = le32_to_cpu(cp_hdr->header.ucode_size_bytes); in amdgpu_gfx_cp_init_microcode()
1396 fw_size = le32_to_cpu(cp_hdr_v2_0->ucode_size_bytes); in amdgpu_gfx_cp_init_microcode()
1413 fw_size = le32_to_cpu(cp_hdr->header.ucode_size_bytes); in amdgpu_gfx_cp_init_microcode()
1423 fw_size = le32_to_cpu(cp_hdr_v2_0->ucode_size_bytes); in amdgpu_gfx_cp_init_microcode()
1440 fw_size = le32_to_cpu(cp_hdr->header.ucode_size_bytes); in amdgpu_gfx_cp_init_microcode()
1450 fw_size = le32_to_cpu(cp_hdr->header.ucode_size_bytes) - in amdgpu_gfx_cp_init_microcode()
1467 fw_size = le32_to_cpu(cp_hdr->header.ucode_size_bytes) - in amdgpu_gfx_cp_init_microcode()
1484 fw_size = le32_to_cpu(cp_hdr_v2_0->ucode_size_bytes); in amdgpu_gfx_cp_init_microcode()
H A Damdgpu_sdma.c273 ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE); in amdgpu_sdma_init_microcode()
298 ALIGN(le32_to_cpu(sdma_hv3->ucode_size_bytes), PAGE_SIZE); in amdgpu_sdma_init_microcode()
H A Damdgpu_isp.c96 ALIGN(le32_to_cpu(hdr->ucode_size_bytes), PAGE_SIZE); in isp_load_fw_by_psp()
H A Damdgpu_vcn.c207 bo_size += AMDGPU_GPU_PAGE_ALIGN(le32_to_cpu(hdr->ucode_size_bytes) + 8); in amdgpu_vcn_sw_init()
402 le32_to_cpu(hdr->ucode_size_bytes)); in amdgpu_vcn_resume()
405 size -= le32_to_cpu(hdr->ucode_size_bytes); in amdgpu_vcn_resume()
406 ptr += le32_to_cpu(hdr->ucode_size_bytes); in amdgpu_vcn_resume()
1154 ALIGN(le32_to_cpu(hdr->ucode_size_bytes), PAGE_SIZE); in amdgpu_vcn_setup_ucode()
H A Dsdma_v7_1.c687 fw_size = le32_to_cpu(hdr->ucode_size_bytes); in sdma_v7_1_inst_load_microcode()
/linux/drivers/gpu/drm/radeon/
H A Dradeon_ucode.h164 uint32_t ucode_size_bytes; /* size of ucode in bytes */ member
H A Dradeon_ucode.c40 DRM_DEBUG("ucode_size_bytes: %u\n", le32_to_cpu(hdr->ucode_size_bytes)); in radeon_ucode_print_common_hdr()
H A Dci_smc.c204 ucode_size = le32_to_cpu(hdr->header.ucode_size_bytes); in ci_load_smc_ucode()
H A Dsi_smc.c229 ucode_size = le32_to_cpu(hdr->header.ucode_size_bytes); in si_load_smc_ucode()
H A Dcik_sdma.c482 fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; in cik_sdma_load_microcode()
491 fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; in cik_sdma_load_microcode()
/linux/drivers/gpu/drm/amd/pm/swsmu/smu14/
H A Dsmu_v14_0.c102 ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE); in smu_v14_0_init_microcode()
132 smc_fw_size = hdr->header.ucode_size_bytes; in smu_v14_0_load_microcode()
/linux/drivers/gpu/drm/amd/pm/swsmu/smu11/
H A Dsmu_v11_0.c123 ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE); in smu_v11_0_init_microcode()
153 smc_fw_size = hdr->header.ucode_size_bytes; in smu_v11_0_load_microcode()