hl_device_cond_reset
hl_device_cond_reset(hdev, HL_DRV_RESET_TDR, event_mask);
hl_device_cond_reset(hdev, 0, event_mask);
hl_device_cond_reset(hdev, HL_DRV_RESET_HARD | HL_DRV_RESET_HEARTBEAT, event_mask);
int hl_device_cond_reset(struct hl_device *hdev, u32 flags, u64 event_mask);
hl_device_cond_reset(hdev, flags, event_mask);
hl_device_cond_reset(hdev, HL_DRV_RESET_HARD, event_mask);
hl_device_cond_reset(hdev, flags, event_mask);
hl_device_cond_reset(hdev, reset_flags, event_mask);