Home
last modified time | relevance | path

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

/third_party/FreeBSD/sys/dev/usb/
H A Dusb_request.c248 USETW(req.wValue, UF_ENDPOINT_HALT); in usb_do_clear_stall_callback()
251 USETW(req.wLength, 0); in usb_do_clear_stall_callback()
990 USETW(req.wIndex, id); in usbd_req_get_desc()
997 USETW(req.wLength, min_len); in usbd_req_get_desc()
1196 USETW(req.wValue, wValue); in usbd_req_get_descriptor_ptr()
1197 USETW(req.wIndex, 0); in usbd_req_get_descriptor_ptr()
1198 USETW(req.wLength, 0); in usbd_req_get_descriptor_ptr()
1336 USETW(cdesc->wTotalLength, len); in usbd_req_get_config_desc_full()
1378 USETW(req.wValue, 0); in usbd_req_get_alt_interface_no()
1381 USETW(re in usbd_req_get_alt_interface_no()
[all...]
H A Dusb_endian.h71 #define USETW(w,v) do { \ macro
H A Dusb_hub.c293 USETW(req.wValue, 0); in uhub_tt_buffer_reset_async_locked()
296 USETW(req.wLength, 0); in uhub_tt_buffer_reset_async_locked()
305 USETW(req.wValue, wValue); in uhub_tt_buffer_reset_async_locked()
308 USETW(req.wLength, 0); in uhub_tt_buffer_reset_async_locked()
2678 USETW(req.wValue, USB_INTERFACE_FUNC_SUSPEND); in usbd_device_30_remote_wakeup()
2679 USETW(req.wIndex, USB_INTERFACE_FUNC_SUSPEND_LP | in usbd_device_30_remote_wakeup()
H A Dusb_handle_request.c634 USETW(temp.wStatus, wValue); in usb_handle_request()
H A Dusb_generic.c1579 USETW(req.wValue, UF_ENDPOINT_HALT); in ugen_ioctl()
1582 USETW(req.wLength, 0); in ugen_ioctl()
H A Dusb_transfer.c3197 USETW(req.wValue, UF_ENDPOINT_HALT); in usbd_clear_stall_callback()
3200 USETW(req.wLength, 0); in usbd_clear_stall_callback()
/third_party/FreeBSD/sys/dev/usb/net/
H A Dif_cdce.c279 USETW(req.wValue, 0); in cdce_ncm_init()
282 USETW(req.wLength, sizeof(temp)); in cdce_ncm_init()
383 USETW(req.wValue, 0); in cdce_ncm_init()
389 USETW(req.wLength, 8); in cdce_ncm_init()
391 USETW(value + 4, (CDCE_NCM_SUBFRAMES_MAX - 1)); in cdce_ncm_init()
392 USETW(value + 6, 0); in cdce_ncm_init()
394 USETW(req.wLength, 4); in cdce_ncm_init()
407 USETW(req.wValue, 0); /* no CRC */ in cdce_ncm_init()
410 USETW(req.wLength, 0); in cdce_ncm_init()
420 USETW(re in cdce_ncm_init()
[all...]
H A Dif_axge.c155 USETW(req.wValue, val); in axge_write_mem()
156 USETW(req.wIndex, index); in axge_write_mem()
157 USETW(req.wLength, len); in axge_write_mem()
176 USETW(temp, val); in axge_write_cmd_2()
191 USETW(req.wValue, val); in axge_read_mem()
192 USETW(req.wIndex, index); in axge_read_mem()
193 USETW(req.wLength, len); in axge_read_mem()
H A Dif_axe.c231 USETW(req.wValue, val); in axe_cmd()
232 USETW(req.wIndex, index); in axe_cmd()
233 USETW(req.wLength, AXE_CMD_LEN(cmd)); in axe_cmd()
H A Dif_urndis.c411 USETW(req.wValue, value); in urndis_ctrl_msg()
412 USETW(req.wIndex, index); in urndis_ctrl_msg()
413 USETW(req.wLength, buflen); in urndis_ctrl_msg()
/third_party/NuttX/drivers/usbdev/gadget/
H A 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()
H A 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()
H A Dcomposite_desc.c208 USETW(config_desc->wTotalLength, config_len); in composite_mkcfgdesc()
H A Ddfu.c203 USETW(g_dfu_config_desc.wTotalLength, (USB_CONFIG_DESC_SIZE + sizeof(g_dfu_cfgdesc))); in usbclass_mkcfgdesc()
H A 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/
H A Dumass.c1161 USETW(req.wValue, 0); in umass_init_shuttle()
1164 USETW(req.wLength, sizeof(status)); in umass_init_shuttle()
1305 USETW(req.wValue, 0); in umass_t_bbb_reset1_callback()
1308 USETW(req.wLength, 0); in umass_t_bbb_reset1_callback()
1694 USETW(req.wValue, 0); in umass_bbb_get_max_lun()
1697 USETW(req.wLength, 1); in umass_bbb_get_max_lun()
1765 USETW(req.wValue, 0); in umass_t_cbi_reset1_callback()
1768 USETW(req.wLength, UMASS_CBI_DIAGNOSTIC_CMDLEN); in umass_t_cbi_reset1_callback()
1889 USETW(req.wValue, 0); in umass_t_cbi_command_callback()
/third_party/FreeBSD/sys/compat/linuxkpi/common/src/
H A Dlinux_usb.c661 USETW(req.wValue, value); in usb_control_msg()
662 USETW(req.wIndex, index); in usb_control_msg()
663 USETW(req.wLength, size); in usb_control_msg()
/third_party/FreeBSD/sys/dev/usb/input/
H A Duhid.c234 USETW(req->wLength, size); in uhid_fill_set_report()
246 USETW(req->wLength, size); in uhid_fill_get_report()
/third_party/NuttX/drivers/usbdev/gadget/fconfig/src/
H A Df_config.c357 USETW(config_desc->wTotalLength, total_len); in fconfig_mkcfgdesc()
/third_party/FreeBSD/sys/dev/usb/controller/
H A Dxhci.c3339 USETW(sc->sc_hub_desc.stat.wStatus, UDS_SELF_POWERED); in xhci_roothub_exec()
3344 USETW(sc->sc_hub_desc.stat.wStatus, 0); in xhci_roothub_exec()
3462 USETW(sc->sc_hub_desc.hubd.wHubCharacteristics, i); in xhci_roothub_exec()
3527 USETW(sc->sc_hub_desc.ps.wPortStatus, i); in xhci_roothub_exec()
3545 USETW(sc->sc_hub_desc.ps.wPortChange, i); in xhci_roothub_exec()
H A Dehci.c3140 USETW(sc->sc_hub_desc.stat.wStatus, UDS_SELF_POWERED);
3145 USETW(sc->sc_hub_desc.stat.wStatus, 0);
3256 USETW(sc->sc_hub_desc.hubd.wHubCharacteristics, i);
3302 USETW(sc->sc_hub_desc.ps.wPortStatus, i);
3314 USETW(sc->sc_hub_desc.ps.wPortChange, i);
/third_party/FreeBSD/sys/dev/usb/serial/
H A Du3g.c945 USETW(req.wValue, sc->sc_line[ucom->sc_subunit]); in u3g_cfg_set_line()

Completed in 39 milliseconds