Lines Matching defs:wLength
769 unsigned wLength;
777 wLength = ctrl.wLength; /* To suppress 64k PAGE_SIZE warning */
778 if (wLength > PAGE_SIZE)
786 "wIndex=%04x wLength=%04x\n",
790 __le16_to_cpup(&ctrl.wLength));
792 if (ctrl.wLength && !access_ok(VERIFY_WRITE, ctrl.data,
793 ctrl.wLength)) {
798 snoop_urb(dev, NULL, pipe, ctrl.wLength, tmo, SUBMIT, NULL, 0);
803 tbuf, ctrl.wLength, tmo);
807 if ((i > 0) && ctrl.wLength) {
814 if (ctrl.wLength) {
815 if (copy_from_user(tbuf, ctrl.data, ctrl.wLength)) {
821 snoop_urb(dev, NULL, pipe, ctrl.wLength, tmo, SUBMIT,
822 tbuf, ctrl.wLength);
827 tbuf, ctrl.wLength, tmo);
836 ctrl.wLength, i);
1100 if (uurb->buffer_length < (le16_to_cpup(&dr->wLength) + 8)) {
1111 uurb->buffer_length = le16_to_cpup(&dr->wLength);
1122 "wIndex=%04x wLength=%04x\n",
1126 __le16_to_cpup(&dr->wLength));