Home
last modified time | relevance | path

Searched refs:USETW2 (Results 1 – 8 of 8) sorted by relevance

/openbsd/src/sys/dev/usb/
Dusbdi_util.c66 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()
Dubcmtp.c655 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()
Duhidev.c774 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()
Duftdi.c910 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()
Dusb.h63 #define USETW2(w,h,l) ((w)[0] = (u_int8_t)(l), (w)[1] = (u_int8_t)(h)) macro
Dulpt.c324 USETW2(req.wIndex, id->bInterfaceNumber, id->bAlternateSetting); in ulpt_attach()
Dusbdi.c1123 USETW2(p->bString[i], 0, s[i]); in usbd_str()
Dusb_subr.c124 USETW2(req.wValue, UDESC_STRING, sindex); in usbd_get_string_desc()