Lines Matching refs:req
177 usb_device_request_t req;
199 req.bmRequestType = UT_WRITE_VENDOR_DEVICE;
200 req.bRequest = XR_SET_REG;
201 USETW(req.wValue, value);
202 USETW(req.wIndex, index | XR_UART_BLOCK(sc));
203 USETW(req.wLength, 0);
204 usbd_do_request(sc->sc_udev, &req, NULL);
210 usb_device_request_t req;
222 req.bmRequestType = UT_WRITE_CLASS_INTERFACE;
223 req.bRequest = UCDC_SET_LINE_CODING;
224 USETW(req.wValue, 0);
225 USETW(req.wIndex, sc->sc_ctl_iface_no);
226 USETW(req.wLength, UCDC_LINE_STATE_LENGTH);
228 err = usbd_do_request(sc->sc_udev, &req, state);
243 usb_device_request_t req;
295 req.bmRequestType = UT_WRITE_VENDOR_DEVICE;
296 req.bRequest = XR_SET_REG;
297 USETW(req.wValue, flowctrl);
298 USETW(req.wIndex, XR_FLOW_CONTROL | XR_UART_BLOCK(sc));
299 USETW(req.wLength, 0);
300 usbd_do_request(sc->sc_udev, &req, NULL);
309 usb_device_request_t req;
314 req.bmRequestType = UT_WRITE_VENDOR_DEVICE;
315 req.bRequest = XR_SET_REG;
316 USETW(req.wValue, brk);
317 USETW(req.wIndex, XR_TX_BREAK | XR_UART_BLOCK(sc));
318 USETW(req.wLength, 0);
320 (void)usbd_do_request(sc->sc_udev, &req, 0);