Home
last modified time | relevance | path

Searched refs:reset_context (Results 1 – 10 of 10) sorted by relevance

/drivers/gpu/drm/amd/amdgpu/
Daldebaran.c36 struct amdgpu_reset_context *reset_context) in aldebaran_get_reset_handler() argument
41 if (reset_context->method != AMD_RESET_METHOD_NONE) { in aldebaran_get_reset_handler()
43 reset_context->method); in aldebaran_get_reset_handler()
46 if (handler->reset_method == reset_context->method) in aldebaran_get_reset_handler()
55 reset_context->method = AMD_RESET_METHOD_MODE2; in aldebaran_get_reset_handler()
97 struct amdgpu_reset_context *reset_context) in aldebaran_mode2_prepare_hwcontext() argument
137 struct amdgpu_reset_context *reset_context) in aldebaran_mode2_perform_reset() argument
144 if (reset_context->hive == NULL) { in aldebaran_mode2_perform_reset()
149 list_for_each_entry(tmp_adev, &reset_context->hive->device_list, in aldebaran_mode2_perform_reset()
158 list_for_each_entry(tmp_adev, &reset_context->hive->device_list, in aldebaran_mode2_perform_reset()
[all …]
Damdgpu_reset.c66 struct amdgpu_reset_context *reset_context) in amdgpu_reset_prepare_hwcontext() argument
72 adev->reset_cntl, reset_context); in amdgpu_reset_prepare_hwcontext()
77 reset_context); in amdgpu_reset_prepare_hwcontext()
81 struct amdgpu_reset_context *reset_context) in amdgpu_reset_perform_reset() argument
88 adev->reset_cntl, reset_context); in amdgpu_reset_perform_reset()
92 ret = reset_handler->perform_reset(adev->reset_cntl, reset_context); in amdgpu_reset_perform_reset()
97 reset_context); in amdgpu_reset_perform_reset()
Damdgpu_reset.h77 struct amdgpu_reset_context *reset_context);
80 struct amdgpu_reset_context *reset_context);
Damdgpu_device.c4633 struct amdgpu_reset_context *reset_context) in amdgpu_device_pre_asic_reset() argument
4638 test_bit(AMDGPU_NEED_FULL_RESET, &reset_context->flags); in amdgpu_device_pre_asic_reset()
4640 if (reset_context->reset_req_dev == adev) in amdgpu_device_pre_asic_reset()
4641 job = reset_context->job; in amdgpu_device_pre_asic_reset()
4673 r = amdgpu_reset_prepare_hwcontext(adev, reset_context); in amdgpu_device_pre_asic_reset()
4699 set_bit(AMDGPU_NEED_FULL_RESET, &reset_context->flags); in amdgpu_device_pre_asic_reset()
4702 &reset_context->flags); in amdgpu_device_pre_asic_reset()
4709 struct amdgpu_reset_context *reset_context) in amdgpu_do_asic_reset() argument
4718 r = amdgpu_reset_perform_reset(tmp_adev, reset_context); in amdgpu_do_asic_reset()
4727 test_bit(AMDGPU_NEED_FULL_RESET, &reset_context->flags); in amdgpu_do_asic_reset()
[all …]
Damdgpu_drv.c2161 struct amdgpu_reset_context reset_context; in amdgpu_drv_delayed_reset_work_handler() local
2163 memset(&reset_context, 0, sizeof(reset_context)); in amdgpu_drv_delayed_reset_work_handler()
2174 reset_context.method = AMD_RESET_METHOD_NONE; in amdgpu_drv_delayed_reset_work_handler()
2175 set_bit(AMDGPU_NEED_FULL_RESET, &reset_context.flags); in amdgpu_drv_delayed_reset_work_handler()
2179 reset_context.reset_req_dev = adev; in amdgpu_drv_delayed_reset_work_handler()
2180 r = amdgpu_device_pre_asic_reset(adev, &reset_context); in amdgpu_drv_delayed_reset_work_handler()
2208 set_bit(AMDGPU_SKIP_HW_RESET, &reset_context.flags); in amdgpu_drv_delayed_reset_work_handler()
2209 r = amdgpu_do_asic_reset(&device_list, &reset_context); in amdgpu_drv_delayed_reset_work_handler()
Damdgpu.h1152 struct amdgpu_reset_context *reset_context);
1155 struct amdgpu_reset_context *reset_context);
/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_sriov_common.c626 ahw->reset_context = 0; in qlcnic_sriov_vf_init()
1440 ahw->reset_context = 1; in __qlcnic_sriov_issue_cmd()
1736 ahw->reset_context = 0; in qlcnic_sriov_vf_detach()
1834 else if (ahw->reset_context) in qlcnic_sriov_vf_idc_ready_state()
Dqlcnic_83xx_init.c658 ahw->reset_context = 0; in qlcnic_83xx_idc_update_idc_params()
868 if (ahw->reset_context && in qlcnic_83xx_idc_ready_state()
870 adapter->ahw->reset_context = 0; in qlcnic_83xx_idc_ready_state()
Dqlcnic_main.c1898 adapter->ahw->reset_context = 0; in __qlcnic_up()
3057 adapter->ahw->reset_context = 1; in qlcnic_tx_timeout()
3694 if (ahw->reset_context && qlcnic_auto_fw_reset) in qlcnic_check_health()
Dqlcnic.h484 u8 reset_context; member