Lines Matching refs:ret
152 int ret, trans, i, b_ep;
176 ret = usb_interrupt_msg(usbdev,
183 if (ret) {
216 int i, ret;
255 ret = usb_submit_urb(tm_wheel->urb, GFP_ATOMIC);
256 if (ret)
257 hid_err(hdev, "Error %d while submitting the change URB. I am unable to initialize this wheel...\n", ret);
283 int ret = 0;
289 ret = hid_parse(hdev);
290 if (ret) {
291 hid_err(hdev, "parse failed with error %d\n", ret);
295 ret = hid_hw_start(hdev, HID_CONNECT_DEFAULT & ~HID_CONNECT_FF);
296 if (ret) {
297 hid_err(hdev, "hw start failed with error %d\n", ret);
304 ret = -ENOMEM;
310 ret = -ENOMEM;
318 ret = -ENOMEM;
324 ret = -ENOMEM;
332 ret = -ENOMEM;
352 ret = usb_submit_urb(tm_wheel->urb, GFP_ATOMIC);
353 if (ret) {
354 hid_err(hdev, "Error %d while submitting the URB. I am unable to initialize this wheel...\n", ret);
358 return ret;
367 return ret;