Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_sdma.c155 static int amdgpu_sdma_init_inst_ctx(struct amdgpu_sdma_instance *sdma_inst) in amdgpu_sdma_init_inst_ctx() argument
164 sdma_inst->fw->data; in amdgpu_sdma_init_inst_ctx()
169 hdr = (const struct sdma_firmware_header_v1_0 *)sdma_inst->fw->data; in amdgpu_sdma_init_inst_ctx()
170 sdma_inst->fw_version = le32_to_cpu(hdr->header.ucode_version); in amdgpu_sdma_init_inst_ctx()
171 sdma_inst->feature_version = le32_to_cpu(hdr->ucode_feature_version); in amdgpu_sdma_init_inst_ctx()
174 hdr_v2 = (const struct sdma_firmware_header_v2_0 *)sdma_inst->fw->data; in amdgpu_sdma_init_inst_ctx()
175 sdma_inst->fw_version = le32_to_cpu(hdr_v2->header.ucode_version); in amdgpu_sdma_init_inst_ctx()
176 sdma_inst->feature_version = le32_to_cpu(hdr_v2->ucode_feature_version); in amdgpu_sdma_init_inst_ctx()
179 hdr_v3 = (const struct sdma_firmware_header_v3_0 *)sdma_inst->fw->data; in amdgpu_sdma_init_inst_ctx()
180 sdma_inst->fw_version = le32_to_cpu(hdr_v3->header.ucode_version); in amdgpu_sdma_init_inst_ctx()
[all …]
Dsdma_v4_4_2.c2225 uint32_t sdma_inst, in sdma_v4_4_2_inst_query_ras_error_count() argument
2229 uint32_t sdma_dev_inst = GET_INST(SDMA0, sdma_inst); in sdma_v4_4_2_inst_query_ras_error_count()
2233 .die_id = adev->sdma.instance[sdma_inst].aid_id, in sdma_v4_4_2_inst_query_ras_error_count()
2265 uint32_t sdma_inst) in sdma_v4_4_2_inst_reset_ras_error_count() argument
2267 uint32_t sdma_dev_inst = GET_INST(SDMA0, sdma_inst); in sdma_v4_4_2_inst_reset_ras_error_count()