Searched refs:fw_data_size (Results 1 – 2 of 2) sorted by relevance
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | gfx_v12_0.c | 2358 unsigned i, pipe_id, fw_ucode_size, fw_data_size; in gfx_v12_0_cp_gfx_load_pfp_microcode_rs64() local 2374 fw_data_size = le32_to_cpu(pfp_hdr->data_size_bytes); in gfx_v12_0_cp_gfx_load_pfp_microcode_rs64() 2388 r = amdgpu_bo_create_reserved(adev, fw_data_size, in gfx_v12_0_cp_gfx_load_pfp_microcode_rs64() 2400 memcpy(adev->gfx.pfp.pfp_fw_data_ptr, fw_data, fw_data_size); in gfx_v12_0_cp_gfx_load_pfp_microcode_rs64() 2502 unsigned i, pipe_id, fw_ucode_size, fw_data_size; in gfx_v12_0_cp_gfx_load_me_microcode_rs64() local 2518 fw_data_size = le32_to_cpu(me_hdr->data_size_bytes); in gfx_v12_0_cp_gfx_load_me_microcode_rs64() 2532 r = amdgpu_bo_create_reserved(adev, fw_data_size, in gfx_v12_0_cp_gfx_load_me_microcode_rs64() 2544 memcpy(adev->gfx.me.me_fw_data_ptr, fw_data, fw_data_size); in gfx_v12_0_cp_gfx_load_me_microcode_rs64() 2814 u32 tmp, fw_ucode_size, fw_data_size; in gfx_v12_0_cp_compute_load_microcode_rs64() local 2833 fw_data_size = le32_to_cpu(mec_hdr->data_size_bytes); in gfx_v12_0_cp_compute_load_microcode_rs64() [all …]
|
| /linux/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()
|