/freebsd-10.0-release/sys/dev/usb/ |
H A D | usb_request.c | 281 req.wIndex[0] = ep->edesc->bEndpointAddress; 282 req.wIndex[1] = 0; 434 "wValue=0x%02x%02x wIndex=0x%02x%02x wLength=0x%02x%02x\n", 437 req->wIndex[1], req->wIndex[0], 998 USETW(req.wIndex, id); 1207 USETW(req.wIndex, 0); 1389 req.wIndex[0] = iface->idesc->bInterfaceNumber; 1390 req.wIndex[1] = 0; 1416 req.wIndex[ [all...] |
H A D | usb_handle_request.c | 230 iface_index = req.wIndex[0]; /* unicast */ 544 req.bRequest, wValue, UGETW(req.wIndex), off, rem, state); 707 if (usb_handle_set_stall(xfer, req.wIndex[0], 0)) { 723 if (usb_handle_set_stall(xfer, req.wIndex[0], 1)) { 740 usb_handle_get_stall(udev, req.wIndex[0]);
|
/freebsd-10.0-release/sys/dev/usb/template/ |
H A D | usb_template_mtp.c | 211 (req->wValue[1] == 0) && (req->wIndex[1] == 0) && 212 ((req->wIndex[0] == 4) || (req->wIndex[0] == 5))) {
|
H A D | usb_template_kbd.c | 186 (req->wIndex[1] == 0) && (req->wIndex[0] == 0)) {
|
H A D | usb_template_mouse.c | 184 (req->wIndex[1] == 0) && (req->wIndex[0] == 0)) {
|
/freebsd-10.0-release/contrib/libpcap/pcap/ |
H A D | usb.h | 63 u_int16_t wIndex; member in struct:_usb_setup
|
/freebsd-10.0-release/sys/dev/usb/serial/ |
H A D | uplcom.c | 515 req.wIndex[0] = sc->sc_data_iface_no; 516 req.wIndex[1] = 0; 533 USETW(req.wIndex, index); 587 req.wIndex[0] = sc->sc_data_iface_no; 588 req.wIndex[1] = 0; 611 req.wIndex[0] = sc->sc_data_iface_no; 612 req.wIndex[1] = 0; 633 req.wIndex[0] = sc->sc_data_iface_no; 634 req.wIndex[1] = 0; 736 req.wIndex[ [all...] |
H A D | uslcom.c | 482 USETW(req.wIndex, sc->sc_iface_no); 506 USETW(req.wIndex, sc->sc_iface_no); 526 USETW(req.wIndex, sc->sc_iface_no); 552 USETW(req.wIndex, sc->sc_iface_no); 576 USETW(req.wIndex, sc->sc_iface_no); 607 USETW(req.wIndex, sc->sc_iface_no); 644 USETW(req.wIndex, sc->sc_iface_no); 664 USETW(req.wIndex, sc->sc_iface_no); 694 USETW(req.wIndex, sc->sc_iface_no); 723 USETW(req.wIndex, s [all...] |
H A D | uvisor.c | 412 USETW(req.wIndex, 0); 464 USETW(req.wIndex, 0); 492 USETW(req.wIndex, 0); 506 USETW(req.wIndex, 0); 518 USETW(req.wIndex, 0); 532 USETW(req.wIndex, 5); 563 USETW(req.wIndex, 0);
|
H A D | ufoma.c | 552 USETW(req.wIndex, sc->sc_ctrl_iface_no); 574 USETW(req.wIndex, sc->sc_ctrl_iface_no); 614 USETW(req.wIndex, sc->sc_ctrl_iface_no); 656 USETW(req.wIndex, sc->sc_ctrl_iface_no); 896 req.wIndex[0] = sc->sc_ctrl_iface_no; 897 req.wIndex[1] = 0; 925 req.wIndex[0] = sc->sc_ctrl_iface_no; 926 req.wIndex[1] = 0; 1022 req.wIndex[0] = sc->sc_ctrl_iface_no; 1023 req.wIndex[ [all...] |
H A D | umodem.c | 580 req.wIndex[0] = sc->sc_ctrl_iface_no; 581 req.wIndex[1] = 0; 633 req.wIndex[0] = sc->sc_ctrl_iface_no; 634 req.wIndex[1] = 0; 657 req.wIndex[0] = sc->sc_ctrl_iface_no; 658 req.wIndex[1] = 0; 681 req.wIndex[0] = sc->sc_ctrl_iface_no; 682 req.wIndex[1] = 0; 865 req.wIndex[0] = iface_no; 866 req.wIndex[ [all...] |
H A D | ubser.c | 258 req.wIndex[0] = sc->sc_iface_no; 259 req.wIndex[1] = 0; 508 req.wIndex[0] = sc->sc_iface_no; 509 req.wIndex[1] = 0;
|
H A D | ucycom.c | 402 req.wIndex[0] = sc->sc_iface_no; 403 req.wIndex[1] = 0; 454 req.wIndex[0] = sc->sc_iface_no; 455 req.wIndex[1] = 0;
|
H A D | uftdi.c | 996 uint16_t wIndex = ucom->sc_portno; local 1006 USETW(req.wIndex, wIndex); 1016 USETW2(req.wIndex, FTDI_SIO_RTS_CTS_HS, wIndex); 1136 uint16_t wIndex = ucom->sc_portno; local 1145 USETW(req.wIndex, wIndex); 1155 uint16_t wIndex = ucom->sc_portno; local 1164 USETW(req.wIndex, wInde 1174 uint16_t wIndex = ucom->sc_portno; local 1308 uint16_t wIndex = ucom->sc_portno; local [all...] |
H A D | ulpt.c | 174 USETW(req.wIndex, sc->sc_iface_no); 330 req.wIndex[0] = sc->sc_iface_no; 331 req.wIndex[1] = 0; 610 USETW2(req.wIndex, id->bInterfaceNumber, id->bAlternateSetting);
|
/freebsd-10.0-release/lib/libusb/ |
H A D | libusb10_io.c | 434 uint8_t bmRequestType, uint8_t bRequest, uint16_t wValue, uint16_t wIndex, 452 req.wIndex = wIndex; 664 uint16_t wIndex, uint16_t wLength) 672 req->wIndex = htole16(wIndex); 433 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 662 libusb_fill_control_setup(uint8_t *buf, uint8_t bmRequestType, uint8_t bRequest, uint16_t wValue, uint16_t wIndex, uint16_t wLength) argument
|
H A D | libusb.h | 329 uint16_t wIndex; member in struct:libusb_control_setup 425 void libusb_fill_control_setup(uint8_t *buf, uint8_t bmRequestType, uint8_t bRequest, uint16_t wValue, uint16_t wIndex, uint16_t wLength); 450 int 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, uint32_t timeout);
|
/freebsd-10.0-release/sys/dev/usb/net/ |
H A D | if_cue.c | 202 USETW(req.wIndex, reg); 220 USETW(req.wIndex, reg); 235 USETW(req.wIndex, reg); 252 USETW(req.wIndex, addr); 266 USETW(req.wIndex, 0); 353 USETW(req.wIndex, 0);
|
H A D | if_ipheth.c | 190 req.wIndex[0] = sc->sc_iface_no; 191 req.wIndex[1] = 0; 317 req.wIndex[0] = sc->sc_iface_no; 318 req.wIndex[1] = 0;
|
H A D | if_mos.c | 270 USETW(req.wIndex, reg); 294 USETW(req.wIndex, reg); 317 USETW(req.wIndex, reg); 341 USETW(req.wIndex, reg); 362 USETW(req.wIndex, MOS_MAC); 382 USETW(req.wIndex, MOS_MAC); 403 USETW(req.wIndex, MOS_MCAST_TABLE);
|
H A D | if_cdce.c | 320 req.wIndex[0] = sc->sc_ifaces_index[1]; 321 req.wIndex[1] = 0; 422 req.wIndex[0] = sc->sc_ifaces_index[1]; 423 req.wIndex[1] = 0; 446 req.wIndex[0] = sc->sc_ifaces_index[1]; 447 req.wIndex[1] = 0; 459 req.wIndex[0] = sc->sc_ifaces_index[1]; 460 req.wIndex[1] = 0;
|
H A D | if_udav.c | 325 USETW(req.wIndex, offset); 342 USETW(req.wIndex, offset); 357 USETW(req.wIndex, offset); 374 USETW(req.wIndex, offset); 391 USETW(req.wIndex, offset); 417 USETW(req.wIndex, offset);
|
/freebsd-10.0-release/share/examples/libusb20/ |
H A D | control.c | 73 printf("doit(): bmRequestType 0x%02x, bRequest 0x%02x, wValue 0x%04x, wIndex 0x%04x, wLength 0x%04x\n", 77 setup.wIndex, 184 "Usage ./usb [-i <INTR_EP>] -v <VID> -p <PID> [dir type rcpt req wValue wIndex wLength [<outdata> ...]]\n"); 290 setup.wIndex = strtoul(argv[idx], 0, 0); 324 * setup.wIndex: another 16-bit value
|
/freebsd-10.0-release/tools/tools/usbtest/ |
H A D | usb_control_ep_test.c | 110 req.wIndex = 0; 510 setup_set_stall.wIndex = epno; 517 setup_get_status.wIndex = epno;
|
H A D | usb_modem_test.c | 227 setup.wIndex = iface_no; 238 setup.wIndex = iface_no; 255 setup.wIndex = iface_no;
|