Home
last modified time | relevance | path

Searched refs:fw_data_size (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Dgfx_v11_0.c2709 unsigned i, pipe_id, fw_ucode_size, fw_data_size; in gfx_v11_0_cp_gfx_load_pfp_microcode_rs64() local
2725 fw_data_size = le32_to_cpu(pfp_hdr->data_size_bytes); in gfx_v11_0_cp_gfx_load_pfp_microcode_rs64()
2741 r = amdgpu_bo_create_reserved(adev, fw_data_size, in gfx_v11_0_cp_gfx_load_pfp_microcode_rs64()
2755 memcpy(adev->gfx.pfp.pfp_fw_data_ptr, fw_data, fw_data_size); in gfx_v11_0_cp_gfx_load_pfp_microcode_rs64()
2927 unsigned i, pipe_id, fw_ucode_size, fw_data_size; in gfx_v11_0_cp_gfx_load_me_microcode_rs64() local
2943 fw_data_size = le32_to_cpu(me_hdr->data_size_bytes); in gfx_v11_0_cp_gfx_load_me_microcode_rs64()
2959 r = amdgpu_bo_create_reserved(adev, fw_data_size, in gfx_v11_0_cp_gfx_load_me_microcode_rs64()
2973 memcpy(adev->gfx.me.me_fw_data_ptr, fw_data, fw_data_size); in gfx_v11_0_cp_gfx_load_me_microcode_rs64()
3438 u32 tmp, fw_ucode_size, fw_data_size; in gfx_v11_0_cp_compute_load_microcode_rs64() local
3457 fw_data_size = le32_to_cpu(mec_hdr->data_size_bytes); in gfx_v11_0_cp_compute_load_microcode_rs64()
[all …]
/openbmc/linux/drivers/accel/habanalabs/common/
H A Dfirmware_if.c2177 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()