Home
last modified time | relevance | path

Searched refs:USETW (Results 1 – 24 of 24) sorted by relevance

/third_party/FreeBSD/sys/dev/usb/
Dusb_request.c250 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 …]
Dusb_endian.h72 #define USETW(w,v) do { \ macro
Dusb_hub.c295 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()
Dusb_handle_request.c636 USETW(temp.wStatus, wValue); in usb_handle_request()
Dusb_generic.c1641 USETW(req.wValue, UF_ENDPOINT_HALT); in ugen_ioctl()
1644 USETW(req.wLength, 0); in ugen_ioctl()
Dusb_transfer.c3229 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/
Dif_cdce.c282 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 …]
Dif_axge.c156 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()
Dif_axe.c233 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()
Dif_urndis.c412 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/
Dcomposite.c104 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()
Df_hid.c205 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()
Dcomposite_desc.c208 USETW(config_desc->wTotalLength, config_len); in composite_mkcfgdesc()
Ddfu.c203 USETW(g_dfu_config_desc.wTotalLength, (USB_CONFIG_DESC_SIZE + sizeof(g_dfu_cfgdesc))); in usbclass_mkcfgdesc()
Dcdcacm.c1567 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/
Dnetbsd_usb.c364 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()
Dopenbsd_usb.c397 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/
Dumass.c1169 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/
Duhid.c233 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/
Dlinux_usb.c665 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/
Df_config.c357 USETW(config_desc->wTotalLength, total_len); in fconfig_mkcfgdesc()
/third_party/FreeBSD/sys/dev/usb/controller/
Dehci.c3166 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);
Dxhci.c3364 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/
Du3g.c949 USETW(req.wValue, sc->sc_line[ucom->sc_subunit]); in u3g_cfg_set_line()