Home
last modified time | relevance | path

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

/freebsd-12-stable/sys/dev/usb/
Dusb_util.c222 USETW2(p->bString[max_len], 0, s[max_len]); in usb_make_str_desc()
Dusb_endian.h100 #define USETW2(w,b1,b0) do { \ macro
Dusb_request.c1012 USETW2(req.wValue, type, index); in usbd_req_get_desc()
1514 USETW2(req.wValue, UDESC_HUB, 0); in usbd_req_get_hub_descriptor()
1536 USETW2(req.wValue, UDESC_SS_HUB, 0); in usbd_req_get_ss_hub_descriptor()
1832 USETW2(req.wValue, type, id); in usbd_req_set_report()
1860 USETW2(req.wValue, type, id); in usbd_req_get_report()
1888 USETW2(req.wValue, duration, id); in usbd_req_set_idle()
1914 USETW2(req.wValue, UDESC_REPORT, 0); /* report id should be 0 */ in usbd_req_get_report_descriptor()
/freebsd-12-stable/sys/dev/usb/serial/
Ducycom.c404 USETW2(req.wValue, UHID_OUTPUT_REPORT, sc->sc_oid); in ucycom_ctrl_write_callback()
456 USETW2(req.wValue, UHID_FEATURE_REPORT, sc->sc_fid); in ucycom_cfg_write()
Duftdi.c1669 USETW2(req.wValue, cfg.v_stop, cfg.v_start); in uftdi_cfg_param()
1670 USETW2(req.wIndex, cfg.v_flow, wIndex); in uftdi_cfg_param()
1721 USETW2(req.wValue, 0, 0); in uftdi_set_bitmode()
1723 USETW2(req.wValue, (1 << bitmode), iomask); in uftdi_set_bitmode()
1767 USETW2(req.wValue, 0, latency); in uftdi_set_latency()
1811 USETW2(req.wValue, enable, echar & 0xff); in uftdi_set_event_char()
1832 USETW2(req.wValue, enable, echar & 0xff); in uftdi_set_error_char()
Dulpt.c612 USETW2(req.wIndex, id->bInterfaceNumber, id->bAlternateSetting); in ulpt_attach()
/freebsd-12-stable/sys/dev/usb/input/
Duhid.c252 USETW2(req->wValue, type, id); in uhid_fill_set_report()
264 USETW2(req->wValue, type, id); in uhid_fill_get_report()
Dukbd.c811 USETW2(req.wValue, UHID_OUTPUT_REPORT, 0); in ukbd_set_leds_callback()
Datp.c934 USETW2(req.wValue, in atp_reset_callback()
/freebsd-12-stable/sys/dev/sound/usb/
Duaudio.c1606 USETW2(req.wValue, UA20_CS_SAM_FREQ_CONTROL, 0); in uaudio20_check_rate()
1607 USETW2(req.wIndex, clockid, iface_no); in uaudio20_check_rate()
5320 USETW2(req.wValue, SAMPLING_FREQ_CONTROL, 0); in uaudio_set_speed()
5342 USETW2(req.wValue, UA20_CS_SAM_FREQ_CONTROL, 0); in uaudio20_set_speed()
5343 USETW2(req.wIndex, clockid, iface_no); in uaudio20_set_speed()