Lines Matching refs:setup_data
356 struct usb_ctrlrequest setup_data; member
2364 rc = dev->driver->setup(&dev->gadget, &dev->setup_data); in pch_udc_gadget_setup()
2431 dev->setup_data = ep->td_stp->request; in pch_udc_svc_control_out()
2436 if ((dev->setup_data.bRequestType & USB_DIR_IN)) in pch_udc_svc_control_out()
2441 if ((dev->setup_data.bRequestType == 0x21) && in pch_udc_svc_control_out()
2442 (dev->setup_data.bRequest == 0xFF)) in pch_udc_svc_control_out()
2447 if (dev->setup_data.bRequestType & USB_DIR_IN) { in pch_udc_svc_control_out()
2459 if (!(dev->setup_data.bRequestType & USB_DIR_IN)) { in pch_udc_svc_control_out()
2674 memset(&dev->setup_data, 0 , sizeof dev->setup_data); in pch_udc_svc_intf_interrupt()
2675 dev->setup_data.bRequest = USB_REQ_SET_INTERFACE; in pch_udc_svc_intf_interrupt()
2676 dev->setup_data.bRequestType = USB_RECIP_INTERFACE; in pch_udc_svc_intf_interrupt()
2677 dev->setup_data.wValue = cpu_to_le16(dev->cfg_data.cur_alt); in pch_udc_svc_intf_interrupt()
2678 dev->setup_data.wIndex = cpu_to_le16(dev->cfg_data.cur_intf); in pch_udc_svc_intf_interrupt()
2711 memset(&dev->setup_data, 0 , sizeof dev->setup_data); in pch_udc_svc_cfg_interrupt()
2712 dev->setup_data.bRequest = USB_REQ_SET_CONFIGURATION; in pch_udc_svc_cfg_interrupt()
2713 dev->setup_data.wValue = cpu_to_le16(dev->cfg_data.cur_cfg); in pch_udc_svc_cfg_interrupt()