Searched refs:hw_idle (Results 1 – 1 of 1) sorted by relevance
125 static int hw_idle(struct hl_device *hdev, struct hl_info_args *args) in hw_idle() function127 struct hl_info_hw_idle hw_idle = {0}; in hw_idle() local134 hw_idle.is_idle = hdev->asic_funcs->is_device_idle(hdev, in hw_idle()135 &hw_idle.busy_engines_mask_ext, NULL); in hw_idle()137 return copy_to_user(out, &hw_idle, in hw_idle()138 min((size_t) max_size, sizeof(hw_idle))) ? -EFAULT : 0; in hw_idle()423 rc = hw_idle(hdev, args); in _hl_info_ioctl()