Lines Matching refs:urb
120 struct urb *urb;
193 static void thrustmaster_change_handler(struct urb *urb)
195 struct hid_device *hdev = urb->context;
198 if (urb->status == 0 || urb->status == -EPROTO || urb->status == -EPIPE)
201 hid_warn(hdev, "URB to change wheel mode seems to have failed with error %d\n", urb->status);
211 static void thrustmaster_model_handler(struct urb *urb)
213 struct hid_device *hdev = urb->context;
219 if (urb->status) {
220 hid_err(hdev, "URB to get model id failed with error %d\n", urb->status);
246 tm_wheel->urb,
255 ret = usb_submit_urb(tm_wheel->urb, GFP_ATOMIC);
264 usb_kill_urb(tm_wheel->urb);
269 usb_free_urb(tm_wheel->urb);
308 tm_wheel->urb = usb_alloc_urb(0, GFP_ATOMIC);
309 if (!tm_wheel->urb) {
342 tm_wheel->urb,
352 ret = usb_submit_urb(tm_wheel->urb, GFP_ATOMIC);
363 error3: usb_free_urb(tm_wheel->urb);