Searched refs:fw_data_size (Results 1 – 2 of 2) sorted by relevance
| /Linux-v6.6/drivers/gpu/drm/amd/amdgpu/ |
| D | gfx_v11_0.c | 2701 unsigned i, pipe_id, fw_ucode_size, fw_data_size; in gfx_v11_0_cp_gfx_load_pfp_microcode_rs64() local 2717 fw_data_size = le32_to_cpu(pfp_hdr->data_size_bytes); in gfx_v11_0_cp_gfx_load_pfp_microcode_rs64() 2733 r = amdgpu_bo_create_reserved(adev, fw_data_size, in gfx_v11_0_cp_gfx_load_pfp_microcode_rs64() 2747 memcpy(adev->gfx.pfp.pfp_fw_data_ptr, fw_data, fw_data_size); in gfx_v11_0_cp_gfx_load_pfp_microcode_rs64() 2919 unsigned i, pipe_id, fw_ucode_size, fw_data_size; in gfx_v11_0_cp_gfx_load_me_microcode_rs64() local 2935 fw_data_size = le32_to_cpu(me_hdr->data_size_bytes); in gfx_v11_0_cp_gfx_load_me_microcode_rs64() 2951 r = amdgpu_bo_create_reserved(adev, fw_data_size, in gfx_v11_0_cp_gfx_load_me_microcode_rs64() 2965 memcpy(adev->gfx.me.me_fw_data_ptr, fw_data, fw_data_size); in gfx_v11_0_cp_gfx_load_me_microcode_rs64() 3430 u32 tmp, fw_ucode_size, fw_data_size; in gfx_v11_0_cp_compute_load_microcode_rs64() local 3449 fw_data_size = le32_to_cpu(mec_hdr->data_size_bytes); in gfx_v11_0_cp_compute_load_microcode_rs64() [all …]
|
| /Linux-v6.6/drivers/accel/habanalabs/common/ |
| D | firmware_if.c | 2177 u16 fw_data_size; in hl_fw_dynamic_read_and_validate_descriptor() local 2215 fw_data_size = le16_to_cpu(fw_desc->header.size); in hl_fw_dynamic_read_and_validate_descriptor() 2217 temp_fw_desc = vzalloc(sizeof(struct comms_desc_header) + fw_data_size); in hl_fw_dynamic_read_and_validate_descriptor() 2221 memcpy_fromio(temp_fw_desc, src, sizeof(struct comms_desc_header) + fw_data_size); in hl_fw_dynamic_read_and_validate_descriptor()
|