Lines Matching defs:ctrl
1329 gadgetfs_setup (struct usb_gadget *gadget, const struct usb_ctrlrequest *ctrl)
1335 u16 w_value = le16_to_cpu(ctrl->wValue);
1336 u16 w_length = le16_to_cpu(ctrl->wLength);
1339 if (ctrl->bRequestType & USB_DIR_IN) {
1341 __le16 *temp = (__le16 *)&ctrl->wLength;
1378 switch (ctrl->bRequest) {
1381 if (ctrl->bRequestType != USB_DIR_IN)
1415 if (ctrl->bRequestType != 0)
1463 if (ctrl->bRequestType != 0x80)
1474 ctrl->bRequestType, ctrl->bRequest,
1475 w_value, le16_to_cpu(ctrl->wIndex), w_length);
1481 dev->setup_in = (ctrl->bRequestType & USB_DIR_IN)
1511 event->u.setup = *ctrl;