Lines Matching refs:hard_reset
846 int hl_device_reset(struct hl_device *hdev, bool hard_reset, in hl_device_reset() argument
857 if ((!hard_reset) && (!hdev->supports_soft_reset)) { in hl_device_reset()
859 hard_reset = true; in hl_device_reset()
873 if (hard_reset) { in hl_device_reset()
906 if ((hard_reset) && (!from_hard_reset_thread)) { in hl_device_reset()
931 if (hard_reset) { in hl_device_reset()
947 hdev->asic_funcs->halt_engines(hdev, hard_reset); in hl_device_reset()
952 if (hard_reset) { in hl_device_reset()
971 hdev->asic_funcs->hw_fini(hdev, hard_reset); in hl_device_reset()
973 if (hard_reset) { in hl_device_reset()
983 hl_hw_queue_reset(hdev, hard_reset); in hl_device_reset()
1007 if (hard_reset) { in hl_device_reset()
1066 if (hard_reset) { in hl_device_reset()
1093 if (hard_reset) in hl_device_reset()
1105 if (hard_reset) { in hl_device_reset()
1113 hard_reset = true; in hl_device_reset()