/third_party/FreeBSD/sys/dev/usb/net/ |
D | if_cdce.c | 297 sc->sc_ncm.tx_remainder = UGETW(temp.wNdpOutPayloadRemainder); in cdce_ncm_init() 298 sc->sc_ncm.tx_modulus = UGETW(temp.wNdpOutDivisor); in cdce_ncm_init() 299 sc->sc_ncm.tx_struct_align = UGETW(temp.wNdpOutAlignment); in cdce_ncm_init() 300 sc->sc_ncm.tx_nframe = UGETW(temp.wNtbOutMaxDatagrams); in cdce_ncm_init() 304 sc->sc_ncm.tx_remainder = UGETW(temp.wNdpInPayloadRemainder); in cdce_ncm_init() 305 sc->sc_ncm.tx_modulus = UGETW(temp.wNdpInDivisor); in cdce_ncm_init() 306 sc->sc_ncm.tx_struct_align = UGETW(temp.wNdpInAlignment); in cdce_ncm_init() 307 sc->sc_ncm.tx_nframe = UGETW(temp.wNtbOutMaxDatagrams); in cdce_ncm_init() 1330 temp = UGETW(sc->sc_ncm.hdr.wBlockLength); in cdce_ncm_bulk_read_callback() 1336 temp = UGETW(sc->sc_ncm.hdr.wDptIndex); in cdce_ncm_bulk_read_callback() [all …]
|
D | if_axge.c | 214 return (UGETW(val)); in axge_read_cmd_2()
|
/third_party/FreeBSD/sys/dev/usb/ |
D | usb_device.c | 541 } else if (UGETW(ds.wStatus) & UDS_SELF_POWERED) { in usbd_set_config_index() 545 UGETW(ds.wStatus)); in usbd_set_config_index() 1229 uaa->info.idVendor = UGETW(udev->ddesc.idVendor); in usb_init_attach_arg() 1230 uaa->info.idProduct = UGETW(udev->ddesc.idProduct); in usb_init_attach_arg() 1231 uaa->info.bcdDevice = UGETW(udev->ddesc.bcdDevice); in usb_init_attach_arg() 1734 langid = UGETW(scratch_ptr + x); in usb_alloc_device() 1741 langid = UGETW(scratch_ptr + 2); in usb_alloc_device() 2192 bcdUSB = UGETW(udd->bcdUSB); in usb_devinfo() 2193 bcdDevice = UGETW(udd->bcdDevice); in usb_devinfo() 2252 vendor_id = UGETW(udd->idVendor); in usbd_set_device_strings() [all …]
|
D | usb_request.c | 400 length = UGETW(req->wLength); in usbd_do_request_flags() 716 len = UGETW(req->wLength); in usbd_do_request_proc() 782 status = UGETW(ps.wPortStatus); in usbd_req_reset_port() 783 change = UGETW(ps.wPortChange); in usbd_req_reset_port() 870 status = UGETW(ps.wPortStatus); in usbd_req_warm_reset_port() 902 status = UGETW(ps.wPortStatus); in usbd_req_warm_reset_port() 903 change = UGETW(ps.wPortChange); in usbd_req_warm_reset_port() 1108 c = UGETW(temp + (2 * i)); in usbd_req_get_string_any() 1235 if (UGETW(d->wTotalLength) < (uint16_t)sizeof(*d)) { in usbd_req_get_config_desc() 1309 len = UGETW(cd.wTotalLength); in usbd_req_get_config_desc_full() [all …]
|
D | usb_handle_request.c | 481 rem = UGETW(req.wLength); in usb_handle_request() 486 off = UGETW(req.wLength) - rem; in usb_handle_request() 498 wValue = UGETW(req.wValue); in usb_handle_request() 502 req.bRequest, wValue, UGETW(req.wIndex), off, rem, state); in usb_handle_request()
|
D | usb_debug.c | 150 UGETW(udev->ddesc.idVendor), in usb_dump_xfer() 151 UGETW(udev->ddesc.idProduct), in usb_dump_xfer()
|
D | usb_endian.h | 48 #define UGETW(w) \ macro
|
D | usb_util.c | 231 (UGETW(req->wValue) == UF_ENDPOINT_HALT)) in usb_check_request()
|
D | usb_parse.c | 58 end = start + UGETW(cd->wTotalLength); in usb_desc_foreach()
|
D | usb_generic.c | 645 len = UGETW(cdesc->wTotalLength); in ugen_get_cdesc() 787 UGETW(udev->ddesc.bcdDevice)); in ugen_fill_deviceinfo() 788 di->udi_vendorNo = UGETW(udev->ddesc.idVendor); in ugen_fill_deviceinfo() 789 di->udi_productNo = UGETW(udev->ddesc.idProduct); in ugen_fill_deviceinfo() 790 di->udi_releaseNo = UGETW(udev->ddesc.bcdDevice); in ugen_fill_deviceinfo() 821 len = UGETW(ur->ucr_request.wLength); in ugen_do_request()
|
D | usb_hub.c | 571 sc->sc_st.port_status = UGETW(ps.wPortStatus); in uhub_read_port_status() 572 sc->sc_st.port_change = UGETW(ps.wPortChange); in uhub_read_port_status() 1222 tt = (UGETW(hubdesc20.wHubCharacteristics) >> 5) & 3; in uhub_query_info() 1816 UGETW(res.udev->ddesc.idVendor), in uhub_child_pnpinfo_string() 1817 UGETW(res.udev->ddesc.idProduct), in uhub_child_pnpinfo_string() 1821 UGETW(res.udev->ddesc.bcdDevice), in uhub_child_pnpinfo_string()
|
D | usb_transfer.c | 361 xfer->max_packet_size = UGETW(edesc->wMaxPacketSize); in usbd_transfer_setup_sub() 1392 xfer->flags_int.control_rem = UGETW(req.wLength); in usbd_control_transfer_init() 1421 return (xfer->flags_int.control_rem != UGETW(req.wLength)); in usbd_control_transfer_did_data()
|
/third_party/NuttX/drivers/usbdev/gadget/ |
D | f_uvc.c | 1752 if (transfer.last && ((req->len % UGETW(ep->maxpacket)) == 0)) in fuvc_vs_req_complete() 1869 w_value = UGETW(ctrl->wValue); in fuvc_handle_camera_control() 1903 w_value = UGETW(ctrl->wValue); in fuvc_handle_process_control() 1940 w_value = UGETW(ctrl->wValue); in fuvc_handle_ext_control() 1966 uint16_t w_value = UGETW(ctrl->wValue); in fuvc_handle_xu_hicamera_control() 1995 uint16_t w_length = UGETW(ctrl->wLength); in fuvc_handle_class_setup_control() 1996 uint16_t w_index = UGETW(ctrl->wIndex); in fuvc_handle_class_setup_control() 1997 uint16_t w_value = UGETW(ctrl->wValue); in fuvc_handle_class_setup_control() 2078 if ((UGETW(ctrl->wValue) >> 8) == USB_UVC_VS_PROBE_CONTROL) in fuvc_handle_streaming_probe() 2139 w_value = UGETW(ctrl->wValue); in fuvc_handle_class_setup_streaming() [all …]
|
D | composite.c | 408 index = UGETW(ctrl->wIndex); in composite_classsetup() 474 w_value = UGETW(ctrl->wValue); in usb_composite_setup() 475 w_length = UGETW(ctrl->wLength); in usb_composite_setup() 476 w_Index = UGETW(ctrl->wIndex); in usb_composite_setup()
|
D | dfu.c | 249 value = UGETW(ctrl->wValue); in usbclass_setup() 250 len = UGETW(ctrl->wLength); in usbclass_setup()
|
D | f_dfu.c | 576 int len = UGETW(ctrl->wLength); in dfu_dnload() 577 uint16_t value = UGETW(ctrl->wValue); in dfu_dnload() 603 uint16_t value = UGETW(ctrl->wValue); in dfu_upload() 880 int len = UGETW(ctrl->wLength); in dfu_upload_idle_request()
|
D | f_hid.c | 657 w_value = UGETW(ctrl->wValue); in usbclass_hid_setup() 675 usbclass_hid_get_report(dev, UGETW(ctrl->wLength)); in usbclass_hid_setup() 698 req->len = MIN(UGETW(ctrl->wLength), HID_IN_DATA_SIZE); in usbclass_hid_setup() 718 req->len = MIN(UGETW(ctrl->wLength), HID_IN_DATA_SIZE); in usbclass_hid_setup()
|
D | f_uac.c | 565 req->len = UGETW(ctrl->wLength); in audio_set_endpoint_req() 594 req->len = UGETW(ctrl->wLength); in audio_get_endpoint_req() 790 (void)usbclass_uac_set_alt(uac, UGETW(ctrl->wIndex), UGETW(ctrl->wValue)); in usbclass_uac_setup()
|
D | f_mass_storage.c | 1734 w_index = UGETW(ctrl->wIndex); in usbclass_mass_setup() 1735 w_value = UGETW(ctrl->wValue); in usbclass_mass_setup() 1736 w_length = UGETW(ctrl->wLength); in usbclass_mass_setup() 1846 uint16_t total = UGETW(g_fmass_confd.confd.wTotalLength); in mass_mkcfgdesc()
|
D | cdcacm.c | 1402 value = UGETW(ctrl->wValue); in cdcacm_setup() 1403 index = UGETW(ctrl->wIndex); in cdcacm_setup() 1404 len = UGETW(ctrl->wLength); in cdcacm_setup()
|
D | rndis.c | 1957 value = UGETW(ctrl->wValue); in usbclass_setup() 1958 len = UGETW(ctrl->wLength); in usbclass_setup()
|
/third_party/NuttX/drivers/usbdev/gadget/fconfig/src/ |
D | f_config.c | 378 uint16_t w_value = UGETW(ctrl->wValue); in fconfig_composite_setup() 379 uint16_t w_length = UGETW(ctrl->wLength); in fconfig_composite_setup() 380 uint16_t w_Index = UGETW(ctrl->wIndex); in fconfig_composite_setup()
|
D | f_generic.c | 685 w_index = UGETW(ctrl->wIndex); in usbclass_generic_setup() 686 w_value = UGETW(ctrl->wValue); in usbclass_generic_setup()
|
/third_party/flutter/skia/third_party/externals/sdl/src/joystick/bsd/ |
D | SDL_sysjoystick.c | 352 usd.usd_language_id = UGETW(usd.usd_desc.bString[0]); 361 str[i] = UGETW(usd.usd_desc.bString[i]);
|
/third_party/FreeBSD/sys/dev/usb/serial/ |
D | u3g.c | 623 len = UGETW(req.wLength); in u3g_sael_m460_init() 1018 wLen = UGETW(pkt.wLength); in u3g_intr_callback()
|