Lines Matching refs:req
254 struct usb_device_request req;
291 req.bmRequestType = UT_WRITE_CLASS_OTHER;
292 req.bRequest = UR_RESET_TT;
293 USETW(req.wValue, 0);
294 req.wIndex[0] = port;
295 req.wIndex[1] = 0;
296 USETW(req.wLength, 0);
303 req.bmRequestType = UT_WRITE_CLASS_OTHER;
304 req.bRequest = UR_CLEAR_TT_BUFFER;
305 USETW(req.wValue, wValue);
306 req.wIndex[0] = port;
307 req.wIndex[1] = 0;
308 USETW(req.wLength, 0);
310 up->req_reset_tt = req;
2674 struct usb_device_request req = {};
2676 req.bmRequestType = UT_WRITE_INTERFACE;
2677 req.bRequest = bRequest;
2678 USETW(req.wValue, USB_INTERFACE_FUNC_SUSPEND);
2679 USETW(req.wIndex, USB_INTERFACE_FUNC_SUSPEND_LP |
2682 return (usbd_do_request(udev, NULL, &req, 0));