Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/amdgpu/
A 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()
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()
178 &reset_context->hive->device_list, in aldebaran_mode2_perform_reset()
320 struct amdgpu_reset_context *reset_context) in aldebaran_mode2_restore_hwcontext() argument
325 if (reset_context->hive == NULL) { in aldebaran_mode2_restore_hwcontext()
[all …]
A 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()
A Damdgpu_device.c4476 job = reset_context->job; in amdgpu_device_pre_asic_reset()
4530 &reset_context->flags); in amdgpu_device_pre_asic_reset()
4645 if (!reset_context->hive && in amdgpu_do_asic_reset()
4674 if (reset_context->hive && in amdgpu_do_asic_reset()
4882 &reset_context->flags); in amdgpu_device_recheck_guilty_jobs()
4884 reset_context); in amdgpu_device_recheck_guilty_jobs()
4936 memset(&reset_context, 0, sizeof(reset_context)); in amdgpu_device_gpu_recover()
4978 reset_context.reset_req_dev = adev; in amdgpu_device_gpu_recover()
4979 reset_context.job = job; in amdgpu_device_gpu_recover()
4980 reset_context.hive = hive; in amdgpu_device_gpu_recover()
[all …]
A Damdgpu_reset.h77 struct amdgpu_reset_context *reset_context);
80 struct amdgpu_reset_context *reset_context);
A Damdgpu_drv.c2092 struct amdgpu_reset_context reset_context; in amdgpu_drv_delayed_reset_work_handler() local
2094 memset(&reset_context, 0, sizeof(reset_context)); in amdgpu_drv_delayed_reset_work_handler()
2105 reset_context.method = AMD_RESET_METHOD_NONE; in amdgpu_drv_delayed_reset_work_handler()
2106 set_bit(AMDGPU_NEED_FULL_RESET, &reset_context.flags); in amdgpu_drv_delayed_reset_work_handler()
2110 reset_context.reset_req_dev = adev; in amdgpu_drv_delayed_reset_work_handler()
2111 r = amdgpu_device_pre_asic_reset(adev, &reset_context); in amdgpu_drv_delayed_reset_work_handler()
2139 set_bit(AMDGPU_SKIP_HW_RESET, &reset_context.flags); in amdgpu_drv_delayed_reset_work_handler()
2140 r = amdgpu_do_asic_reset(&device_list, &reset_context); in amdgpu_drv_delayed_reset_work_handler()
A Damdgpu.h1159 struct amdgpu_reset_context *reset_context);
1162 struct amdgpu_reset_context *reset_context);
/linux/drivers/net/ethernet/qlogic/qlcnic/
A Dqlcnic_sriov_common.c624 ahw->reset_context = 0; in qlcnic_sriov_vf_init()
1438 ahw->reset_context = 1; in __qlcnic_sriov_issue_cmd()
1734 ahw->reset_context = 0; in qlcnic_sriov_vf_detach()
1832 else if (ahw->reset_context) in qlcnic_sriov_vf_idc_ready_state()
A 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()
A Dqlcnic_main.c1898 adapter->ahw->reset_context = 0; in __qlcnic_up()
3051 adapter->ahw->reset_context = 1; in qlcnic_tx_timeout()
3688 if (ahw->reset_context && qlcnic_auto_fw_reset) in qlcnic_check_health()
A Dqlcnic.h484 u8 reset_context; member

Completed in 49 milliseconds