Home
last modified time | relevance | path

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

/third_party/FreeBSD/sys/dev/usb/
Dusb_request.c249 USETW(req.wValue, UF_ENDPOINT_HALT); in usb_do_clear_stall_callback()
252 USETW(req.wLength, 0); in usb_do_clear_stall_callback()
991 USETW(req.wIndex, id); in usbd_req_get_desc()
998 USETW(req.wLength, min_len); in usbd_req_get_desc()
1197 USETW(req.wValue, wValue); in usbd_req_get_descriptor_ptr()
1198 USETW(req.wIndex, 0); in usbd_req_get_descriptor_ptr()
1199 USETW(req.wLength, 0); in usbd_req_get_descriptor_ptr()
1337 USETW(cdesc->wTotalLength, len); in usbd_req_get_config_desc_full()
1379 USETW(req.wValue, 0); in usbd_req_get_alt_interface_no()
1382 USETW(req.wLength, 1); in usbd_req_get_alt_interface_no()
[all …]
Dusb_endian.h72 #define USETW(w,v) do { \ macro
Dusb_hub.c294 USETW(req.wValue, 0); in uhub_tt_buffer_reset_async_locked()
297 USETW(req.wLength, 0); in uhub_tt_buffer_reset_async_locked()
306 USETW(req.wValue, wValue); in uhub_tt_buffer_reset_async_locked()
309 USETW(req.wLength, 0); in uhub_tt_buffer_reset_async_locked()
2679 USETW(req.wValue, USB_INTERFACE_FUNC_SUSPEND); in usbd_device_30_remote_wakeup()
2680 USETW(req.wIndex, USB_INTERFACE_FUNC_SUSPEND_LP | in usbd_device_30_remote_wakeup()
Dusb_handle_request.c635 USETW(temp.wStatus, wValue); in usb_handle_request()
Dusb_generic.c1580 USETW(req.wValue, UF_ENDPOINT_HALT); in ugen_ioctl()
1583 USETW(req.wLength, 0); in ugen_ioctl()
Dusb_transfer.c3195 USETW(req.wValue, UF_ENDPOINT_HALT); in usbd_clear_stall_callback()
3198 USETW(req.wLength, 0); in usbd_clear_stall_callback()
/third_party/FreeBSD/sys/dev/usb/net/
Dif_cdce.c280 USETW(req.wValue, 0); in cdce_ncm_init()
283 USETW(req.wLength, sizeof(temp)); in cdce_ncm_init()
384 USETW(req.wValue, 0); in cdce_ncm_init()
390 USETW(req.wLength, 8); in cdce_ncm_init()
392 USETW(value + 4, (CDCE_NCM_SUBFRAMES_MAX - 1)); in cdce_ncm_init()
393 USETW(value + 6, 0); in cdce_ncm_init()
395 USETW(req.wLength, 4); in cdce_ncm_init()
408 USETW(req.wValue, 0); /* no CRC */ in cdce_ncm_init()
411 USETW(req.wLength, 0); in cdce_ncm_init()
421 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_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()
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()
/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/FreeBSD/sys/dev/usb/storage/
Dumass.c1165 USETW(req.wValue, 0); in umass_init_shuttle()
1168 USETW(req.wLength, sizeof(status)); in umass_init_shuttle()
1309 USETW(req.wValue, 0); in umass_t_bbb_reset1_callback()
1312 USETW(req.wLength, 0); in umass_t_bbb_reset1_callback()
1698 USETW(req.wValue, 0); in umass_bbb_get_max_lun()
1701 USETW(req.wLength, 1); in umass_bbb_get_max_lun()
1769 USETW(req.wValue, 0); in umass_t_cbi_reset1_callback()
1772 USETW(req.wLength, UMASS_CBI_DIAGNOSTIC_CMDLEN); in umass_t_cbi_reset1_callback()
1893 USETW(req.wValue, 0); in umass_t_cbi_command_callback()
/third_party/FreeBSD/sys/dev/usb/input/
Duhid.c236 USETW(req->wLength, size); in uhid_fill_set_report()
248 USETW(req->wLength, size); in uhid_fill_get_report()
/third_party/FreeBSD/sys/compat/linuxkpi/common/src/
Dlinux_usb.c662 USETW(req.wValue, value); in usb_control_msg()
663 USETW(req.wIndex, index); in usb_control_msg()
664 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.c3141 USETW(sc->sc_hub_desc.stat.wStatus, UDS_SELF_POWERED);
3146 USETW(sc->sc_hub_desc.stat.wStatus, 0);
3257 USETW(sc->sc_hub_desc.hubd.wHubCharacteristics, i);
3303 USETW(sc->sc_hub_desc.ps.wPortStatus, i);
3315 USETW(sc->sc_hub_desc.ps.wPortChange, i);
Dxhci.c3340 USETW(sc->sc_hub_desc.stat.wStatus, UDS_SELF_POWERED); in xhci_roothub_exec()
3345 USETW(sc->sc_hub_desc.stat.wStatus, 0); in xhci_roothub_exec()
3463 USETW(sc->sc_hub_desc.hubd.wHubCharacteristics, i); in xhci_roothub_exec()
3528 USETW(sc->sc_hub_desc.ps.wPortStatus, i); in xhci_roothub_exec()
3546 USETW(sc->sc_hub_desc.ps.wPortChange, i); in xhci_roothub_exec()
/third_party/FreeBSD/sys/dev/usb/serial/
Du3g.c947 USETW(req.wValue, sc->sc_line[ucom->sc_subunit]); in u3g_cfg_set_line()