Home
last modified time | relevance | path

Searched refs:UGETW (Results 1 - 25 of 28) sorted by relevance

12

/third_party/FreeBSD/sys/dev/usb/net/
H A Dif_cdce.c296 sc->sc_ncm.tx_remainder = UGETW(temp.wNdpOutPayloadRemainder); in cdce_ncm_init()
297 sc->sc_ncm.tx_modulus = UGETW(temp.wNdpOutDivisor); in cdce_ncm_init()
298 sc->sc_ncm.tx_struct_align = UGETW(temp.wNdpOutAlignment); in cdce_ncm_init()
299 sc->sc_ncm.tx_nframe = UGETW(temp.wNtbOutMaxDatagrams); in cdce_ncm_init()
303 sc->sc_ncm.tx_remainder = UGETW(temp.wNdpInPayloadRemainder); in cdce_ncm_init()
304 sc->sc_ncm.tx_modulus = UGETW(temp.wNdpInDivisor); in cdce_ncm_init()
305 sc->sc_ncm.tx_struct_align = UGETW(temp.wNdpInAlignment); in cdce_ncm_init()
306 sc->sc_ncm.tx_nframe = UGETW(temp.wNtbOutMaxDatagrams); in cdce_ncm_init()
1329 temp = UGETW(sc->sc_ncm.hdr.wBlockLength); in cdce_ncm_bulk_read_callback()
1335 temp = UGETW(s in cdce_ncm_bulk_read_callback()
[all...]
H A Dif_axge.c213 return (UGETW(val)); in axge_read_cmd_2()
/third_party/FreeBSD/sys/dev/usb/
H A Dusb_device.c540 } else if (UGETW(ds.wStatus) & UDS_SELF_POWERED) { in usbd_set_config_index()
544 UGETW(ds.wStatus)); in usbd_set_config_index()
1228 uaa->info.idVendor = UGETW(udev->ddesc.idVendor); in usb_init_attach_arg()
1229 uaa->info.idProduct = UGETW(udev->ddesc.idProduct); in usb_init_attach_arg()
1230 uaa->info.bcdDevice = UGETW(udev->ddesc.bcdDevice); in usb_init_attach_arg()
1733 langid = UGETW(scratch_ptr + x); in usb_alloc_device()
1740 langid = UGETW(scratch_ptr + 2); in usb_alloc_device()
2191 bcdUSB = UGETW(udd->bcdUSB); in usb_devinfo()
2192 bcdDevice = UGETW(udd->bcdDevice); in usb_devinfo()
2251 vendor_id = UGETW(ud in usbd_set_device_strings()
[all...]
H A Dusb_debug.c149 UGETW(udev->ddesc.idVendor), in usb_dump_xfer()
150 UGETW(udev->ddesc.idProduct), in usb_dump_xfer()
H A Dusb_handle_request.c480 rem = UGETW(req.wLength); in usb_handle_request()
485 off = UGETW(req.wLength) - rem; in usb_handle_request()
497 wValue = UGETW(req.wValue); in usb_handle_request()
501 req.bRequest, wValue, UGETW(req.wIndex), off, rem, state); in usb_handle_request()
H A Dusb_request.c409 length = UGETW(req->wLength); in usbd_do_request_flags()
725 len = UGETW(req->wLength); in usbd_do_request_proc()
791 status = UGETW(ps.wPortStatus); in usbd_req_reset_port()
792 change = UGETW(ps.wPortChange); in usbd_req_reset_port()
879 status = UGETW(ps.wPortStatus); in usbd_req_warm_reset_port()
911 status = UGETW(ps.wPortStatus); in usbd_req_warm_reset_port()
912 change = UGETW(ps.wPortChange); in usbd_req_warm_reset_port()
1117 c = UGETW(temp + (2 * i)); in usbd_req_get_string_any()
1244 if (UGETW(d->wTotalLength) < (uint16_t)sizeof(*d)) { in usbd_req_get_config_desc()
1318 len = UGETW(c in usbd_req_get_config_desc_full()
[all...]
H A Dusb_endian.h47 #define UGETW(w) \ macro
H A Dusb_parse.c57 end = start + UGETW(cd->wTotalLength); in usb_desc_foreach()
H A Dusb_util.c230 (UGETW(req->wValue) == UF_ENDPOINT_HALT)) in usb_check_request()
H A Dusb_hub.c570 sc->sc_st.port_status = UGETW(ps.wPortStatus); in uhub_read_port_status()
571 sc->sc_st.port_change = UGETW(ps.wPortChange); in uhub_read_port_status()
1221 tt = (UGETW(hubdesc20.wHubCharacteristics) >> 5) & 3; in uhub_query_info()
1815 UGETW(res.udev->ddesc.idVendor), in uhub_child_pnpinfo_string()
1816 UGETW(res.udev->ddesc.idProduct), in uhub_child_pnpinfo_string()
1820 UGETW(res.udev->ddesc.bcdDevice), in uhub_child_pnpinfo_string()
H A Dusb_generic.c644 len = UGETW(cdesc->wTotalLength); in ugen_get_cdesc()
786 UGETW(udev->ddesc.bcdDevice)); in ugen_fill_deviceinfo()
787 di->udi_vendorNo = UGETW(udev->ddesc.idVendor); in ugen_fill_deviceinfo()
788 di->udi_productNo = UGETW(udev->ddesc.idProduct); in ugen_fill_deviceinfo()
789 di->udi_releaseNo = UGETW(udev->ddesc.bcdDevice); in ugen_fill_deviceinfo()
820 len = UGETW(ur->ucr_request.wLength); in ugen_do_request()
H A Dusb_transfer.c363 xfer->max_packet_size = UGETW(edesc->wMaxPacketSize); in usbd_transfer_setup_sub()
1394 xfer->flags_int.control_rem = UGETW(req.wLength); in usbd_control_transfer_init()
1423 return (xfer->flags_int.control_rem != UGETW(req.wLength)); in usbd_control_transfer_did_data()
H A Dusb_hid.c803 *sizep = UGETW(hid->descrs[0].wDescriptorLength); in usbd_req_get_hid_desc()
/third_party/NuttX/drivers/usbdev/gadget/
H A Df_uvc.c1752 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(ctr in fuvc_handle_class_setup_streaming()
[all...]
H A Ddfu.c249 value = UGETW(ctrl->wValue); in usbclass_setup()
250 len = UGETW(ctrl->wLength); in usbclass_setup()
H A Dcomposite.c408 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()
H A Df_dfu.c576 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()
H A Df_hid.c657 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()
H A Df_uac.c565 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()
H A Dcdcacm.c1402 value = UGETW(ctrl->wValue); in cdcacm_setup()
1403 index = UGETW(ctrl->wIndex); in cdcacm_setup()
1404 len = UGETW(ctrl->wLength); in cdcacm_setup()
H A Df_mass_storage.c1734 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()
H A Drndis.c1957 value = UGETW(ctrl->wValue); in usbclass_setup()
1958 len = UGETW(ctrl->wLength); in usbclass_setup()
/third_party/NuttX/drivers/usbdev/gadget/fconfig/src/
H A Df_config.c378 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()
H A Df_generic.c685 w_index = UGETW(ctrl->wIndex); in usbclass_generic_setup()
686 w_value = UGETW(ctrl->wValue); in usbclass_generic_setup()
/third_party/FreeBSD/sys/dev/usb/serial/
H A Du3g.c621 len = UGETW(req.wLength); in u3g_sael_m460_init()
1016 wLen = UGETW(pkt.wLength); in u3g_intr_callback()

Completed in 44 milliseconds

12