Searched refs:fw_data_size (Results 1 – 3 of 3) sorted by relevance
| /linux-6.15/drivers/gpu/drm/amd/amdgpu/ |
| H A D | gfx_v12_0.c | 2277 unsigned i, pipe_id, fw_ucode_size, fw_data_size; in gfx_v12_0_cp_gfx_load_pfp_microcode_rs64() local 2293 fw_data_size = le32_to_cpu(pfp_hdr->data_size_bytes); in gfx_v12_0_cp_gfx_load_pfp_microcode_rs64() 2307 r = amdgpu_bo_create_reserved(adev, fw_data_size, in gfx_v12_0_cp_gfx_load_pfp_microcode_rs64() 2421 unsigned i, pipe_id, fw_ucode_size, fw_data_size; in gfx_v12_0_cp_gfx_load_me_microcode_rs64() local 2437 fw_data_size = le32_to_cpu(me_hdr->data_size_bytes); in gfx_v12_0_cp_gfx_load_me_microcode_rs64() 2451 r = amdgpu_bo_create_reserved(adev, fw_data_size, in gfx_v12_0_cp_gfx_load_me_microcode_rs64() 2733 u32 tmp, fw_ucode_size, fw_data_size; in gfx_v12_0_cp_compute_load_microcode_rs64() local 2766 ALIGN(fw_data_size, 64 * 1024) * in gfx_v12_0_cp_compute_load_microcode_rs64() 2780 memcpy(fw_data_ptr + i * ALIGN(fw_data_size, 64 * 1024) / 4, fw_data, fw_data_size); in gfx_v12_0_cp_compute_load_microcode_rs64() 2805 i * ALIGN(fw_data_size, 64 * 1024))); in gfx_v12_0_cp_compute_load_microcode_rs64() [all …]
|
| H A D | gfx_v11_0.c | 3102 unsigned i, pipe_id, fw_ucode_size, fw_data_size; in gfx_v11_0_cp_gfx_load_pfp_microcode_rs64() local 3118 fw_data_size = le32_to_cpu(pfp_hdr->data_size_bytes); in gfx_v11_0_cp_gfx_load_pfp_microcode_rs64() 3134 r = amdgpu_bo_create_reserved(adev, fw_data_size, in gfx_v11_0_cp_gfx_load_pfp_microcode_rs64() 3320 unsigned i, pipe_id, fw_ucode_size, fw_data_size; in gfx_v11_0_cp_gfx_load_me_microcode_rs64() local 3336 fw_data_size = le32_to_cpu(me_hdr->data_size_bytes); in gfx_v11_0_cp_gfx_load_me_microcode_rs64() 3352 r = amdgpu_bo_create_reserved(adev, fw_data_size, in gfx_v11_0_cp_gfx_load_me_microcode_rs64() 3366 memcpy(adev->gfx.me.me_fw_data_ptr, fw_data, fw_data_size); in gfx_v11_0_cp_gfx_load_me_microcode_rs64() 3831 u32 tmp, fw_ucode_size, fw_data_size; in gfx_v11_0_cp_compute_load_microcode_rs64() local 3850 fw_data_size = le32_to_cpu(mec_hdr->data_size_bytes); in gfx_v11_0_cp_compute_load_microcode_rs64() 3865 r = amdgpu_bo_create_reserved(adev, fw_data_size, in gfx_v11_0_cp_compute_load_microcode_rs64() [all …]
|
| /linux-6.15/drivers/accel/habanalabs/common/ |
| H A D | firmware_if.c | 2218 u16 fw_data_size; in hl_fw_dynamic_read_and_validate_descriptor() local 2256 fw_data_size = le16_to_cpu(fw_desc->header.size); in hl_fw_dynamic_read_and_validate_descriptor() 2258 temp_fw_desc = vzalloc(sizeof(struct comms_msg_header) + fw_data_size); in hl_fw_dynamic_read_and_validate_descriptor() 2262 memcpy_fromio(temp_fw_desc, src, sizeof(struct comms_msg_header) + fw_data_size); in hl_fw_dynamic_read_and_validate_descriptor()
|