Searched refs:USETW2 (Results 1 – 12 of 12) sorted by relevance
/freebsd/sys/dev/usb/ |
H A D | usb_endian.h | 99 #define USETW2(w,b1,b0) do { \ macro
|
H A D | usb_request.c | 1010 USETW2(req.wValue, type, index); in usbd_req_get_desc() 1510 USETW2(req.wValue, UDESC_HUB, 0); in usbd_req_get_hub_descriptor() 1532 USETW2(req.wValue, UDESC_SS_HUB, 0); in usbd_req_get_ss_hub_descriptor() 1828 USETW2(req.wValue, type, id); in usbd_req_set_report() 1856 USETW2(req.wValue, type, id); in usbd_req_get_report() 1884 USETW2(req.wValue, duration, id); in usbd_req_set_idle() 1910 USETW2(req.wValue, UDESC_REPORT, 0); /* report id should be 0 */ in usbd_req_get_report_descriptor()
|
H A D | usb_util.c | 197 USETW2(p->bString[max_len], 0, s[max_len]); in usb_make_str_desc()
|
/freebsd/sys/dev/usb/serial/ |
H A D | ucycom.c | 401 USETW2(req.wValue, UHID_OUTPUT_REPORT, sc->sc_oid); in ucycom_ctrl_write_callback() 453 USETW2(req.wValue, UHID_FEATURE_REPORT, sc->sc_fid); in ucycom_cfg_write()
|
H A D | uftdi.c | 1685 USETW2(req.wValue, cfg.v_stop, cfg.v_start); in uftdi_cfg_param() 1686 USETW2(req.wIndex, cfg.v_flow, wIndex); in uftdi_cfg_param() 1737 USETW2(req.wValue, 0, 0); in uftdi_set_bitmode() 1739 USETW2(req.wValue, (1 << bitmode), iomask); in uftdi_set_bitmode() 1783 USETW2(req.wValue, 0, latency); in uftdi_set_latency() 1827 USETW2(req.wValue, enable, echar & 0xff); in uftdi_set_event_char() 1848 USETW2(req.wValue, enable, echar & 0xff); in uftdi_set_error_char()
|
H A D | ulpt.c | 617 USETW2(req.wIndex, id->bInterfaceNumber, id->bAlternateSetting); in ulpt_attach()
|
/freebsd/sys/dev/usb/input/ |
H A D | usbhid.c | 568 USETW2(req.ctrl.wValue, type, id); in usbhid_get_report() 594 USETW2(req.ctrl.wValue, type, id); in usbhid_set_report() 655 USETW2(req.ctrl.wValue, (duration + 3) / 4, id); in usbhid_set_idle()
|
H A D | uhid.c | 255 USETW2(req->wValue, type, id); in uhid_fill_set_report() 267 USETW2(req->wValue, type, id); in uhid_fill_get_report()
|
H A D | ukbd.c | 864 USETW2(req.wValue, UHID_OUTPUT_REPORT, 0); in ukbd_set_leds_callback()
|
H A D | atp.c | 935 USETW2(req.wValue, in atp_reset_callback()
|
/freebsd/sys/dev/hid/ |
H A D | bcm5974.c | 551 USETW2(ucr.ucr_request.wValue, in bcm5974_set_device_mode_usb()
|
/freebsd/sys/dev/sound/usb/ |
H A D | uaudio.c | 1637 USETW2(req.wValue, UA20_CS_SAM_FREQ_CONTROL, 0); in uaudio20_check_rate() 1638 USETW2(req.wIndex, clockid, iface_no); in uaudio20_check_rate() 5328 USETW2(req.wValue, SAMPLING_FREQ_CONTROL, 0); in uaudio_set_speed() 5350 USETW2(req.wValue, UA20_CS_SAM_FREQ_CONTROL, 0); in uaudio20_set_speed() 5351 USETW2(req.wIndex, clockid, iface_no); in uaudio20_set_speed()
|