Home
last modified time | relevance | path

Searched refs:instance_mask (Results 1 – 9 of 9) sorted by relevance

/linux-6.12.1/drivers/media/platform/amphion/
Dvpu_core.c91 if (core->supported_instance_count >= BITS_PER_TYPE(core->instance_mask)) in vpu_core_boot_done()
92 core->supported_instance_count = BITS_PER_TYPE(core->instance_mask); in vpu_core_boot_done()
206 dev_dbg(c->dev, "instance_mask = 0x%lx, state = %d\n", c->instance_mask, c->state); in vpu_core_find_proper_by_type()
327 id = ffz(core->instance_mask); in vpu_core_acquire_instance()
331 set_bit(id, &core->instance_mask); in vpu_core_acquire_instance()
341 clear_bit(id, &core->instance_mask); in vpu_core_release_instance()
480 if (core->state == VPU_CORE_HANG && !core->instance_mask) { in vpu_inst_unregister()
503 if (index >= core->supported_instance_count || !test_bit(index, &core->instance_mask)) in vpu_core_find_instance()
Dvpu_dbg.c274 hweight32(core->instance_mask), in vpu_dbg_core()
276 core->instance_mask, in vpu_dbg_core()
Dvpu.h141 unsigned long instance_mask; member
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ras.c278 u32 instance_mask = 0; in amdgpu_ras_debugfs_ctrl_parse_data() local
332 &sub_block, &address, &value, &instance_mask) != 4 && in amdgpu_ras_debugfs_ctrl_parse_data()
334 &sub_block, &address, &value, &instance_mask) != 4 && in amdgpu_ras_debugfs_ctrl_parse_data()
343 data->inject.instance_mask = instance_mask; in amdgpu_ras_debugfs_ctrl_parse_data()
360 uint32_t mask, inst_mask = data->inject.instance_mask; in amdgpu_ras_instance_mask_check()
364 data->inject.instance_mask = 0; in amdgpu_ras_instance_mask_check()
389 data->inject.instance_mask &= mask; in amdgpu_ras_instance_mask_check()
390 if (inst_mask != data->inject.instance_mask) in amdgpu_ras_instance_mask_check()
393 inst_mask, data->inject.instance_mask); in amdgpu_ras_instance_mask_check()
1513 ret = block_obj->hw_ops->ras_error_inject(adev, info, info->instance_mask); in amdgpu_ras_error_inject()
[all …]
Damdgpu_ras.h676 uint32_t instance_mask; member
715 void *inject_if, uint32_t instance_mask);
Damdgpu_psp.h518 struct ta_ras_trigger_error_input *info, uint32_t instance_mask);
Damdgpu_xgmi.c1440 void *inject_if, uint32_t instance_mask) in amdgpu_ras_error_inject_xgmi() argument
1453 ret2 = psp_ras_trigger_error(&adev->psp, block_info, instance_mask); in amdgpu_ras_error_inject_xgmi()
Damdgpu_psp.c1828 struct ta_ras_trigger_error_input *info, uint32_t instance_mask) in psp_ras_trigger_error() argument
1840 dev_mask = GET_MASK(GC, instance_mask); in psp_ras_trigger_error()
1843 dev_mask = GET_MASK(SDMA0, instance_mask); in psp_ras_trigger_error()
1847 dev_mask = GET_MASK(VCN, instance_mask); in psp_ras_trigger_error()
1850 dev_mask = instance_mask; in psp_ras_trigger_error()
Dgfx_v9_0.c893 void *inject_if, uint32_t instance_mask);
6740 void *inject_if, uint32_t instance_mask) in gfx_v9_0_ras_error_inject() argument
6779 ret = psp_ras_trigger_error(&adev->psp, &block_info, instance_mask); in gfx_v9_0_ras_error_inject()