Lines Matching defs:ctrl

948 		const struct usb_ctrlrequest *ctrl, unsigned number)
1777 composite_setup(struct usb_gadget *gadget, const struct usb_ctrlrequest *ctrl)
1783 u16 w_index = le16_to_cpu(ctrl->wIndex);
1785 u16 w_value = le16_to_cpu(ctrl->wValue);
1786 u16 w_length = le16_to_cpu(ctrl->wLength);
1792 if (ctrl->bRequestType & USB_DIR_IN) {
1794 __le16 *temp = (__le16 *)&ctrl->wLength;
1817 if ((ctrl->bRequestType & USB_TYPE_MASK) != USB_TYPE_STANDARD)
1820 switch (ctrl->bRequest) {
1824 if (ctrl->bRequestType != USB_DIR_IN)
1912 if (ctrl->bRequestType != 0)
1923 value = set_config(cdev, ctrl, w_value);
1927 if (ctrl->bRequestType != USB_DIR_IN)
1938 if (ctrl->bRequestType != USB_RECIP_INTERFACE)
1967 if (ctrl->bRequestType != (USB_DIR_IN|USB_RECIP_INTERFACE))
1984 if (ctrl->bRequestType != (USB_DIR_IN |
2001 if (ctrl->bRequestType != (USB_DIR_IN | USB_RECIP_INTERFACE))
2035 if (ctrl->bRequestType != (USB_DIR_OUT | USB_RECIP_INTERFACE))
2048 } else if (ctrl->bRequest == USB_REQ_SET_FEATURE) {
2074 } else if (ctrl->bRequest == USB_REQ_CLEAR_FEATURE) {
2098 (ctrl->bRequestType & USB_TYPE_VENDOR) &&
2099 ctrl->bRequest == cdev->b_vendor_code) {
2113 switch (ctrl->bRequestType & USB_RECIP_MASK) {
2162 ctrl->bRequestType == (USB_DIR_IN | USB_TYPE_VENDOR) &&
2165 ctrl->bRequest == cdev->b_webusb_vendor_code) {
2205 ctrl->bRequestType, ctrl->bRequest,
2215 f->req_match(f, ctrl, false))
2222 f->req_match(f, ctrl, true))
2227 switch (ctrl->bRequestType & USB_RECIP_MASK) {
2248 value = f->setup(f, ctrl);
2258 value = c->setup(c, ctrl);
2268 value = f->setup(f, ctrl);