Searched refs:wValue (Results 1 - 25 of 103) sorted by relevance

12345

/freebsd-12-stable/sys/dev/usb/
H A Dusb_handle_request.c324 iface, req.wValue[0]);
337 iface->alt_index = req.wValue[0];
477 uint16_t wValue; local
542 wValue = UGETW(req.wValue);
546 req.bRequest, wValue, UGETW(req.wIndex), off, rem, state);
574 switch (wValue) {
582 switch (wValue) {
597 switch (wValue) {
605 switch (wValue) {
[all...]
H A Dusb_request.c282 USETW(req.wValue, UF_ENDPOINT_HALT);
436 "wValue=0x%02x%02x wIndex=0x%02x%02x wLength=0x%02x%02x\n",
438 req->wValue[1], req->wValue[0],
1002 USETW2(req.wValue, type, index);
1230 struct usb_config_descriptor **ppcd, uint16_t wValue)
1240 USETW(req.wValue, wValue);
1422 USETW(req.wValue, 0);
1449 req.wValue[
1229 usbd_req_get_descriptor_ptr(struct usb_device *udev, struct usb_config_descriptor **ppcd, uint16_t wValue) argument
2244 uint16_t wValue; local
[all...]
/freebsd-12-stable/contrib/libpcap/pcap/
H A Dusb.h62 uint16_t wValue; member in struct:_usb_setup
/freebsd-12-stable/sys/dev/rtwn/usb/
H A Drtwn_usb_reg.c97 USETW(req.wValue, addr);
131 USETW(req.wValue, addr);
/freebsd-12-stable/sys/dev/usb/gadget/
H A Dg_keyboard.c390 (req->wValue[0] == 0x00) &&
391 (req->wValue[1] == 0x02)) {
402 (req->wValue[0] == 0x00) &&
403 (req->wValue[1] == 0x00)) {
/freebsd-12-stable/sys/dev/usb/serial/
H A Duslcom.c509 USETW(req.wValue, USLCOM_IFC_ENABLE_EN);
533 USETW(req.wValue, USLCOM_IFC_ENABLE_DIS);
553 USETW(req.wValue, USLCOM_GET_PARTNUM);
579 USETW(req.wValue, ctl);
603 USETW(req.wValue, ctl);
653 USETW(req.wValue, 0);
690 USETW(req.wValue, data);
710 USETW(req.wValue, 0);
741 USETW(req.wValue, brk);
770 USETW(req.wValue, USLCOM_READ_LATC
[all...]
H A Dufoma.c547 USETW(req.wValue, UMCPC_CM_MOBILE_ACM);
569 USETW(req.wValue, state);
611 USETW(req.wValue, 0);
653 USETW(req.wValue, 0);
711 temp = UGETW(pkt.wValue);
878 uint16_t wValue; local
887 wValue = onoff ? UCDC_BREAK_ON : UCDC_BREAK_OFF;
891 USETW(req.wValue, wValue);
921 USETW(req.wValue, s
[all...]
H A Duplcom.c436 USETW(req.wValue, UPLCOM_STATUS_REG_PL2303HX);
601 USETW(req.wValue, 0);
619 USETW(req.wValue, value);
678 USETW(req.wValue, sc->sc_line);
702 USETW(req.wValue, sc->sc_line);
724 USETW(req.wValue, temp);
923 USETW(req.wValue, 0);
938 USETW(req.wValue, UPLCOM_CRTSCTS_REG_PL2303HXN);
942 USETW(req.wValue, 0);
956 USETW(req.wValue, UPLCOM_CRTSCTS_REG_PL2303HX
[all...]
H A Duvisor.c414 USETW(req.wValue, 0);
466 USETW(req.wValue, 0);
494 USETW(req.wValue, 0);
508 USETW(req.wValue, 0);
520 USETW(req.wValue, 0);
534 USETW(req.wValue, 0);
565 USETW(req.wValue, 0);
H A Duftdi.c1358 uint16_t wValue; local
1363 wValue = onoff ? FTDI_SIO_SET_DTR_HIGH : FTDI_SIO_SET_DTR_LOW;
1367 USETW(req.wValue, wValue);
1379 uint16_t wValue; local
1384 wValue = onoff ? FTDI_SIO_SET_RTS_HIGH : FTDI_SIO_SET_RTS_LOW;
1388 USETW(req.wValue, wValue);
1400 uint16_t wValue; local
1411 wValue
[all...]
H A Dumodem.c631 USETW(req.wValue, 0);
684 USETW(req.wValue, sc->sc_line);
708 USETW(req.wValue, sc->sc_line);
732 USETW(req.wValue, temp);
943 USETW(req.wValue, feature);
1009 (req->wValue[0] == 0x00) &&
1010 (req->wValue[1] == 0x00)) {
H A Dubser.c252 USETW(req.wValue, 0);
501 req.wValue[0] = x;
502 req.wValue[1] = 0;
/freebsd-12-stable/sys/dev/usb/net/
H A Dif_cue.c208 USETW(req.wValue, 0);
226 USETW(req.wValue, 0);
241 USETW(req.wValue, val);
258 USETW(req.wValue, 0);
272 USETW(req.wValue, 0);
359 USETW(req.wValue, 0);
H A Dif_ipheth.c195 req.wValue[0] = 0;
196 req.wValue[1] = 0;
322 req.wValue[0] = 0;
323 req.wValue[1] = 0;
H A Dif_mos.c276 USETW(req.wValue, 0);
300 USETW(req.wValue, 0);
323 USETW(req.wValue, 0);
347 USETW(req.wValue, 0);
368 USETW(req.wValue, 0);
388 USETW(req.wValue, 0);
409 USETW(req.wValue, 0);
/freebsd-12-stable/lib/libusb/
H A Dlibusb10_io.c464 uint8_t bmRequestType, uint8_t bRequest, uint16_t wValue, uint16_t wIndex,
481 req.wValue = wValue;
708 uint8_t bRequest, uint16_t wValue,
716 req->wValue = htole16(wValue);
463 libusb_control_transfer(libusb_device_handle *devh, uint8_t bmRequestType, uint8_t bRequest, uint16_t wValue, uint16_t wIndex, uint8_t *data, uint16_t wLength, unsigned int timeout) argument
707 libusb_fill_control_setup(uint8_t *buf, uint8_t bmRequestType, uint8_t bRequest, uint16_t wValue, uint16_t wIndex, uint16_t wLength) argument
/freebsd-12-stable/sys/dev/usb/controller/
H A Dsaf1761_otg.h114 uWord wValue; member in union:saf1761_otg_hub_temp
H A Ddwc_otg.h128 uWord wValue; member in union:dwc_otg_hub_temp
/freebsd-12-stable/sys/dev/usb/template/
H A Dusb_template_kbd.c199 (req->wValue[0] == 0x00) && (req->wValue[1] == 0x22) &&
H A Dusb_template_mouse.c197 (req->wValue[0] == 0x00) && (req->wValue[1] == 0x22) &&
H A Dusb_template_mtp.c211 (req->bRequest == MTP_BREQUEST) && (req->wValue[0] == 0) &&
212 (req->wValue[1] == 0) && (req->wIndex[1] == 0) &&
/freebsd-12-stable/share/examples/libusb20/
H A Dcontrol.c77 printf("doit(): bmRequestType 0x%02x, bRequest 0x%02x, wValue 0x%04x, wIndex 0x%04x, wLength 0x%04x\n",
80 setup.wValue,
188 "Usage ./usb [-i <INTR_EP>] -v <VID> -p <PID> [dir type rcpt req wValue wIndex wLength [<outdata> ...]]\n");
290 setup.wValue = strtoul(argv[idx], 0, 0);
327 * setup.wValue: a 16-bit value
/freebsd-12-stable/sys/dev/sound/usb/
H A Duaudio.c178 int32_t wValue[MIX_MAX_CHAN]; /* using nchan */ member in struct:uaudio_mixer_node
1606 USETW2(req.wValue, UA20_CS_SAM_FREQ_CONTROL, 0);
2940 if (pmc->wValue[chan] != -1 &&
2941 pmc->wValue[chan] == hint) {
3027 pmc->wValue[chan],
3058 MIX(sc).wValue[0] = MAKE_WORD(8, 0);
3076 MIX(sc).wValue[0] = MAKE_WORD(chx + 1, chy + 1);
3088 MIX(sc).wValue[0] = MAKE_WORD(chx + 1, chy + 1 + 8);
3104 MIX(sc).wValue[0] = MAKE_WORD(2, 0);
3120 MIX(sc).wValue[
[all...]
/freebsd-12-stable/tools/tools/usbtest/
H A Dusb_control_ep_test.c109 req.wValue = 0x0200 | cfg; /* config descriptor */
509 setup_set_stall.wValue = 0x00; /* UF_ENDPOINT_HALT */
516 setup_get_status.wValue = 0x00;
H A Dusb_modem_test.c226 setup.wValue = 0x0001;
237 setup.wValue = feature;
254 setup.wValue = 0;

Completed in 431 milliseconds

12345