Searched refs:hw_idle (Results 1 – 1 of 1) sorted by relevance
142 static int hw_idle(struct hl_device *hdev, struct hl_info_args *args) in hw_idle() function144 struct hl_info_hw_idle hw_idle = {0}; in hw_idle() local151 hw_idle.is_idle = hdev->asic_funcs->is_device_idle(hdev, in hw_idle()152 hw_idle.busy_engines_mask_ext, in hw_idle()154 hw_idle.busy_engines_mask = in hw_idle()155 lower_32_bits(hw_idle.busy_engines_mask_ext[0]); in hw_idle()157 return copy_to_user(out, &hw_idle, in hw_idle()158 min((size_t) max_size, sizeof(hw_idle))) ? -EFAULT : 0; in hw_idle()527 rc = hw_idle(hdev, args); in _hl_info_ioctl()