Searched refs:USETW2 (Results 1 – 8 of 8) sorted by relevance
| /openbsd/src/sys/dev/usb/ |
| D | usbdi_util.c | 66 USETW2(req.wValue, type, index); in usbd_get_desc() 94 USETW2(req.wValue, UDESC_HUB, 0); in usbd_get_hub_descriptor() 109 USETW2(req.wValue, UDESC_SS_HUB, 0); in usbd_get_hub_ss_descriptor() 188 USETW2(req.wValue, duration, id); in usbd_set_idle() 202 USETW2(req.wValue, UDESC_REPORT, 0); /* report id should be 0 */ in usbd_get_report_descriptor()
|
| D | ubcmtp.c | 655 USETW2(r.wValue, UHID_FEATURE_REPORT, 0); in ubcmtp_raw_mode() 659 USETW2(r.wValue, UHID_FEATURE_REPORT, 2); in ubcmtp_raw_mode() 682 USETW2(r.wValue, UHID_FEATURE_REPORT, 0); in ubcmtp_raw_mode() 686 USETW2(r.wValue, UHID_FEATURE_REPORT, 2); in ubcmtp_raw_mode()
|
| D | uhidev.c | 774 USETW2(req.wValue, type, id); in uhidev_set_report() 839 USETW2(req.wValue, type, id); in uhidev_set_report_async() 865 USETW2(req.wValue, type, id); in uhidev_get_report() 943 USETW2(req.wValue, type, id); in uhidev_get_report_async()
|
| D | uftdi.c | 910 USETW2(req.wIndex, FTDI_SIO_RTS_CTS_HS, portno); in uftdi_open() 1099 USETW2(req.wValue, t->c_cc[VSTOP], t->c_cc[VSTART]); in uftdi_param() 1106 USETW2(req.wIndex, flow, portno); in uftdi_param()
|
| D | usb.h | 63 #define USETW2(w,h,l) ((w)[0] = (u_int8_t)(l), (w)[1] = (u_int8_t)(h)) macro
|
| D | ulpt.c | 324 USETW2(req.wIndex, id->bInterfaceNumber, id->bAlternateSetting); in ulpt_attach()
|
| D | usbdi.c | 1123 USETW2(p->bString[i], 0, s[i]); in usbd_str()
|
| D | usb_subr.c | 124 USETW2(req.wValue, UDESC_STRING, sindex); in usbd_get_string_desc()
|