Searched refs:hw_idle (Results 1 – 1 of 1) sorted by relevance
117 static int hw_idle(struct hl_device *hdev, struct hl_info_args *args) in hw_idle() function119 struct hl_info_hw_idle hw_idle = {0}; in hw_idle() local126 hw_idle.is_idle = hdev->asic_funcs->is_device_idle(hdev, in hw_idle()127 &hw_idle.busy_engines_mask, NULL); in hw_idle()129 return copy_to_user(out, &hw_idle, in hw_idle()130 min((size_t) max_size, sizeof(hw_idle))) ? -EFAULT : 0; in hw_idle()263 rc = hw_idle(hdev, args); in _hl_info_ioctl()