/third_party/FreeBSD/sys/dev/usb/ |
D | usb_request.c | 250 USETW(req.wValue, UF_ENDPOINT_HALT); in usb_do_clear_stall_callback() 253 USETW(req.wLength, 0); in usb_do_clear_stall_callback() 982 USETW(req.wIndex, id); in usbd_req_get_desc() 990 USETW(req.wLength, min_len); in usbd_req_get_desc() 1190 USETW(req.wValue, wValue); in usbd_req_get_descriptor_ptr() 1191 USETW(req.wIndex, 0); in usbd_req_get_descriptor_ptr() 1192 USETW(req.wLength, 0); in usbd_req_get_descriptor_ptr() 1330 USETW(cdesc->wTotalLength, len); in usbd_req_get_config_desc_full() 1372 USETW(req.wValue, 0); in usbd_req_get_alt_interface_no() 1375 USETW(req.wLength, 1); in usbd_req_get_alt_interface_no() [all …]
|
D | usb_endian.h | 72 #define USETW(w,v) do { \ macro
|
D | usb_hub.c | 295 USETW(req.wValue, 0); in uhub_tt_buffer_reset_async_locked() 298 USETW(req.wLength, 0); in uhub_tt_buffer_reset_async_locked() 307 USETW(req.wValue, wValue); in uhub_tt_buffer_reset_async_locked() 310 USETW(req.wLength, 0); in uhub_tt_buffer_reset_async_locked() 2689 USETW(req.wValue, USB_INTERFACE_FUNC_SUSPEND); in usbd_device_30_remote_wakeup() 2690 USETW(req.wIndex, USB_INTERFACE_FUNC_SUSPEND_LP | in usbd_device_30_remote_wakeup()
|
D | usb_handle_request.c | 636 USETW(temp.wStatus, wValue); in usb_handle_request()
|
D | usb_generic.c | 1641 USETW(req.wValue, UF_ENDPOINT_HALT); in ugen_ioctl() 1644 USETW(req.wLength, 0); in ugen_ioctl()
|
D | usb_transfer.c | 3229 USETW(req.wValue, UF_ENDPOINT_HALT); in usbd_clear_stall_callback() 3232 USETW(req.wLength, 0); in usbd_clear_stall_callback()
|
/third_party/FreeBSD/sys/dev/usb/net/ |
D | if_cdce.c | 282 USETW(req.wValue, 0); in cdce_ncm_init() 285 USETW(req.wLength, sizeof(temp)); in cdce_ncm_init() 386 USETW(req.wValue, 0); in cdce_ncm_init() 392 USETW(req.wLength, 8); in cdce_ncm_init() 394 USETW(value + 4, (CDCE_NCM_SUBFRAMES_MAX - 1)); in cdce_ncm_init() 395 USETW(value + 6, 0); in cdce_ncm_init() 397 USETW(req.wLength, 4); in cdce_ncm_init() 410 USETW(req.wValue, 0); /* no CRC */ in cdce_ncm_init() 413 USETW(req.wLength, 0); in cdce_ncm_init() 423 USETW(req.wValue, 0); /* NTB-16 */ in cdce_ncm_init() [all …]
|
D | if_axge.c | 156 USETW(req.wValue, val); in axge_write_mem() 157 USETW(req.wIndex, index); in axge_write_mem() 158 USETW(req.wLength, len); in axge_write_mem() 177 USETW(temp, val); in axge_write_cmd_2() 192 USETW(req.wValue, val); in axge_read_mem() 193 USETW(req.wIndex, index); in axge_read_mem() 194 USETW(req.wLength, len); in axge_read_mem()
|
D | if_axe.c | 233 USETW(req.wValue, val); in axe_cmd() 234 USETW(req.wIndex, index); in axe_cmd() 235 USETW(req.wLength, AXE_CMD_LEN(cmd)); in axe_cmd()
|
D | if_urndis.c | 412 USETW(req.wValue, value); in urndis_ctrl_msg() 413 USETW(req.wIndex, index); in urndis_ctrl_msg() 414 USETW(req.wLength, buflen); in urndis_ctrl_msg()
|
/third_party/NuttX/drivers/usbdev/gadget/ |
D | composite.c | 104 USETW(ep_desc->wMaxPacketSize, USB_DWC_MAX_PACKET_SIZE); in usbd_configep_byspeed() 108 USETW(ep_desc->wMaxPacketSize, USB_DWC_U2_MAX_PACKET_SIZE); in usbd_configep_byspeed() 324 USETW(config_des->wTotalLength, new_config_len); in modify_config_descriptor_byspeed() 377 USETW(desc->bcdUSB, 0x0300); in modify_device_descriptor_byspeed() 382 USETW(desc->bcdUSB, 0x0200); in modify_device_descriptor_byspeed()
|
D | f_hid.c | 205 USETW(g_fhid_device_desc.idVendor, vendorid); in hid_deviceid_info() 207 USETW(g_fhid_device_desc.idProduct, productid); in hid_deviceid_info() 809 USETW(g_fhid_config_desc.wTotalLength, ds); in linkg_fhid_descriptors() 846 USETW(g_fhid_desc.descrs[0].wDescriptorLength, g_fhid_report_desc.report_size); in hid_mkcfgdesc()
|
D | composite_desc.c | 208 USETW(config_desc->wTotalLength, config_len); in composite_mkcfgdesc()
|
D | dfu.c | 203 USETW(g_dfu_config_desc.wTotalLength, (USB_CONFIG_DESC_SIZE + sizeof(g_dfu_cfgdesc))); in usbclass_mkcfgdesc()
|
D | cdcacm.c | 1567 USETW(state_buf->wValue, value); in cdcacm_serial_connect_state() 1568 USETW(state_buf->wIndex, priv->ctrl_id); in cdcacm_serial_connect_state() 1569 USETW(state_buf->wLength, len); in cdcacm_serial_connect_state()
|
/third_party/libusb/libusb/os/ |
D | netbsd_usb.c | 364 USETW(req.ucr_request.wValue, UF_ENDPOINT_HALT); in netbsd_clear_halt() 365 USETW(req.ucr_request.wIndex, endpoint); in netbsd_clear_halt() 366 USETW(req.ucr_request.wLength, 0); in netbsd_clear_halt()
|
D | openbsd_usb.c | 397 USETW(req.ucr_request.wValue, UF_ENDPOINT_HALT); in obsd_clear_halt() 398 USETW(req.ucr_request.wIndex, endpoint); in obsd_clear_halt() 399 USETW(req.ucr_request.wLength, 0); in obsd_clear_halt()
|
/third_party/FreeBSD/sys/dev/usb/storage/ |
D | umass.c | 1169 USETW(req.wValue, 0); in umass_init_shuttle() 1172 USETW(req.wLength, sizeof(status)); in umass_init_shuttle() 1314 USETW(req.wValue, 0); in umass_t_bbb_reset1_callback() 1317 USETW(req.wLength, 0); in umass_t_bbb_reset1_callback() 1704 USETW(req.wValue, 0); in umass_bbb_get_max_lun() 1707 USETW(req.wLength, 1); in umass_bbb_get_max_lun() 1775 USETW(req.wValue, 0); in umass_t_cbi_reset1_callback() 1778 USETW(req.wLength, UMASS_CBI_DIAGNOSTIC_CMDLEN); in umass_t_cbi_reset1_callback() 1900 USETW(req.wValue, 0); in umass_t_cbi_command_callback()
|
/third_party/FreeBSD/sys/dev/usb/input/ |
D | uhid.c | 233 USETW(req->wLength, size); in uhid_fill_set_report() 245 USETW(req->wLength, size); in uhid_fill_get_report()
|
/third_party/FreeBSD/sys/compat/linuxkpi/common/src/ |
D | linux_usb.c | 665 USETW(req.wValue, value); in usb_control_msg() 666 USETW(req.wIndex, index); in usb_control_msg() 667 USETW(req.wLength, size); in usb_control_msg()
|
/third_party/NuttX/drivers/usbdev/gadget/fconfig/src/ |
D | f_config.c | 357 USETW(config_desc->wTotalLength, total_len); in fconfig_mkcfgdesc()
|
/third_party/FreeBSD/sys/dev/usb/controller/ |
D | ehci.c | 3166 USETW(sc->sc_hub_desc.stat.wStatus, UDS_SELF_POWERED); 3171 USETW(sc->sc_hub_desc.stat.wStatus, 0); 3283 USETW(sc->sc_hub_desc.hubd.wHubCharacteristics, i); 3329 USETW(sc->sc_hub_desc.ps.wPortStatus, i); 3341 USETW(sc->sc_hub_desc.ps.wPortChange, i);
|
D | xhci.c | 3364 USETW(sc->sc_hub_desc.stat.wStatus, UDS_SELF_POWERED); in xhci_roothub_exec() 3369 USETW(sc->sc_hub_desc.stat.wStatus, 0); in xhci_roothub_exec() 3487 USETW(sc->sc_hub_desc.hubd.wHubCharacteristics, i); in xhci_roothub_exec() 3553 USETW(sc->sc_hub_desc.ps.wPortStatus, i); in xhci_roothub_exec() 3571 USETW(sc->sc_hub_desc.ps.wPortChange, i); in xhci_roothub_exec()
|
/third_party/FreeBSD/sys/dev/usb/serial/ |
D | u3g.c | 949 USETW(req.wValue, sc->sc_line[ucom->sc_subunit]); in u3g_cfg_set_line()
|