Lines Matching refs:ctrlrequest

52 	const struct usb_ctrlrequest *ctrlrequest)  in service_tx_status_request()  argument
57 const u8 recip = ctrlrequest->bRequestType & USB_RECIP_MASK; in service_tx_status_request()
85 epnum = (u8) ctrlrequest->wIndex; in service_tx_status_request()
129 u16 len = le16_to_cpu(ctrlrequest->wLength); in service_tx_status_request()
151 service_in_request(struct musb *musb, const struct usb_ctrlrequest *ctrlrequest) in service_in_request() argument
155 if ((ctrlrequest->bRequestType & USB_TYPE_MASK) in service_in_request()
157 switch (ctrlrequest->bRequest) { in service_in_request()
160 ctrlrequest); in service_in_request()
205 struct usb_ctrlrequest *ctrlrequest) in service_zero_data_request() argument
211 const u8 recip = ctrlrequest->bRequestType & USB_RECIP_MASK; in service_zero_data_request()
214 if ((ctrlrequest->bRequestType & USB_TYPE_MASK) in service_zero_data_request()
216 switch (ctrlrequest->bRequest) { in service_zero_data_request()
220 musb->address = (u8) (ctrlrequest->wValue & 0x7f); in service_zero_data_request()
227 if (ctrlrequest->wValue in service_zero_data_request()
237 ctrlrequest->wIndex & 0x0f; in service_zero_data_request()
246 ctrlrequest->wValue != USB_ENDPOINT_HALT) in service_zero_data_request()
251 is_in = ctrlrequest->wIndex & USB_DIR_IN; in service_zero_data_request()
303 switch (ctrlrequest->wValue) { in service_zero_data_request()
310 if (ctrlrequest->wIndex & 0xff) in service_zero_data_request()
313 switch (ctrlrequest->wIndex >> 8) { in service_zero_data_request()
398 ctrlrequest->wIndex & 0x0f; in service_zero_data_request()
406 ctrlrequest->wValue != USB_ENDPOINT_HALT) in service_zero_data_request()
411 is_in = ctrlrequest->wIndex & USB_DIR_IN; in service_zero_data_request()
623 forward_to_driver(struct musb *musb, const struct usb_ctrlrequest *ctrlrequest) in forward_to_driver() argument
631 retval = musb->gadget_driver->setup(&musb->g, ctrlrequest); in forward_to_driver()