Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/i2c/busses/
Di2c-wmt.c128 unsigned long wait_result; in wmt_i2c_write() local
176 wait_result = wait_for_completion_timeout(&i2c_dev->complete, in wmt_i2c_write()
179 if (wait_result == 0) in wmt_i2c_write()
219 unsigned long wait_result; in wmt_i2c_read() local
266 wait_result = wait_for_completion_timeout(&i2c_dev->complete, in wmt_i2c_read()
269 if (!wait_result) in wmt_i2c_read()
/Linux-v5.4/drivers/gpu/drm/amd/amdkfd/
Dkfd_events.c668 uint32_t *wait_result) in kfd_wait_on_events() argument
702 *wait_result = test_event_condition(all, num_events, event_waiters); in kfd_wait_on_events()
703 if (*wait_result == KFD_IOC_WAIT_RESULT_COMPLETE) { in kfd_wait_on_events()
707 } else if (WARN_ON(*wait_result == KFD_IOC_WAIT_RESULT_FAIL)) { in kfd_wait_on_events()
750 *wait_result = test_event_condition(all, num_events, in kfd_wait_on_events()
752 if (*wait_result != KFD_IOC_WAIT_RESULT_TIMEOUT) in kfd_wait_on_events()
765 if (!ret && *wait_result == KFD_IOC_WAIT_RESULT_COMPLETE) in kfd_wait_on_events()
775 *wait_result = KFD_IOC_WAIT_RESULT_FAIL; in kfd_wait_on_events()
776 else if (*wait_result == KFD_IOC_WAIT_RESULT_FAIL) in kfd_wait_on_events()
Dkfd_priv.h1011 uint32_t *wait_result);
Dkfd_chardev.c1102 args->timeout, &args->wait_result); in kfd_ioctl_wait_events()
/Linux-v5.4/include/uapi/linux/
Dkfd_ioctl.h293 __u32 wait_result; /* from KFD */ member