Lines Matching refs:hid_to_usb_dev
118 rc = usb_clear_halt(hid_to_usb_dev(hid), usbhid->urbin->pipe);
125 rc = usb_lock_device_for_reset(hid_to_usb_dev(hid), usbhid->intf);
127 rc = usb_reset_device(hid_to_usb_dev(hid));
128 usb_unlock_device(hid_to_usb_dev(hid));
140 hid_to_usb_dev(hid)->bus->bus_name,
141 hid_to_usb_dev(hid)->devpath,
290 hid_to_usb_dev(hid)->bus->bus_name,
291 hid_to_usb_dev(hid)->devpath,
309 usbhid->urbout->dev = hid_to_usb_dev(hid);
347 usbhid->urbctrl->pipe = usb_sndctrlpipe(hid_to_usb_dev(hid), 0);
354 usbhid->urbctrl->pipe = usb_rcvctrlpipe(hid_to_usb_dev(hid), 0);
355 maxpacket = usb_maxpacket(hid_to_usb_dev(hid), usbhid->urbctrl->pipe, 0);
365 usbhid->urbctrl->dev = hid_to_usb_dev(hid);
805 struct usb_device *dev = hid_to_usb_dev(hid);
1097 hid_free_buffers(hid_to_usb_dev(hid), hid);