Lines Matching refs:result
111 status_t result = Device::Changed(changeList, added);
112 if (added || result < B_OK)
113 return result;
132 status_t result = DefaultPipe()->SendRequest(USB_REQTYPE_CLASS | USB_REQTYPE_OTHER_IN,
136 if (result < B_OK || actualLength < sizeof(usb_port_status)) {
148 status_t result = DefaultPipe()->SendRequest(USB_REQTYPE_CLASS | USB_REQTYPE_OTHER_OUT,
151 if (result < B_OK)
152 return result;
157 result = UpdatePortStatus(index);
158 if (result < B_OK)
159 return result;
176 result = DefaultPipe()->SendRequest(USB_REQTYPE_CLASS | USB_REQTYPE_OTHER_OUT,
178 if (result < B_OK)
179 return result;
202 status_t result = UpdatePortStatus(i);
203 if (result < B_OK)
231 result = _DebouncePort(i);
232 if (result != B_OK) {
234 " failed: %s\n", i, strerror(result));
239 result = ResetPort(i);
240 if (result < B_OK) {
246 result = UpdatePortStatus(i);
247 if (result < B_OK)
407 status_t result = B_UNSUPPORTED;
412 result = Device::ReportDevice(supportDescriptors,
422 result = B_OK;
430 result = B_OK;
433 return result;
441 status_t result = Device::BuildDeviceName(string, index, bufferSize, device);
442 if (result < B_OK) {
487 status_t result = UpdatePortStatus(index);
488 if (result != B_OK)
489 return result;
499 result = DefaultPipe()->SendRequest(USB_REQTYPE_CLASS
502 if (result != B_OK)
503 return result;