Home
last modified time | relevance | path

Searched refs:hw_idle (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/accel/habanalabs/common/
H A Dhabanalabs_ioctl.c176 static int hw_idle(struct hl_device *hdev, struct hl_info_args *args) in hw_idle() function
178 struct hl_info_hw_idle hw_idle = {0}; in hw_idle() local
185 hw_idle.is_idle = hdev->asic_funcs->is_device_idle(hdev, in hw_idle()
186 hw_idle.busy_engines_mask_ext, in hw_idle()
188 hw_idle.busy_engines_mask = in hw_idle()
189 lower_32_bits(hw_idle.busy_engines_mask_ext[0]); in hw_idle()
191 return copy_to_user(out, &hw_idle, in hw_idle()
192 min((size_t) max_size, sizeof(hw_idle))) ? -EFAULT : 0; in hw_idle()
1019 rc = hw_idle(hdev, args); in _hl_info_ioctl()