Lines Matching refs:hard_reset
848 int hl_device_reset(struct hl_device *hdev, bool hard_reset, in hl_device_reset() argument
859 if ((!hard_reset) && (!hdev->supports_soft_reset)) { in hl_device_reset()
861 hard_reset = true; in hl_device_reset()
875 if (hard_reset) { in hl_device_reset()
908 if ((hard_reset) && (!from_hard_reset_thread)) { in hl_device_reset()
933 if (hard_reset) { in hl_device_reset()
949 hdev->asic_funcs->halt_engines(hdev, hard_reset); in hl_device_reset()
954 if (hard_reset) { in hl_device_reset()
973 hdev->asic_funcs->hw_fini(hdev, hard_reset); in hl_device_reset()
975 if (hard_reset) { in hl_device_reset()
985 hl_hw_queue_reset(hdev, hard_reset); in hl_device_reset()
1009 if (hard_reset) { in hl_device_reset()
1070 if (hard_reset) { in hl_device_reset()
1097 if (hard_reset) in hl_device_reset()
1109 if (hard_reset) { in hl_device_reset()
1117 hard_reset = true; in hl_device_reset()