Home
last modified time | relevance | path

Searched refs:wValue (Results 1 – 25 of 40) sorted by relevance

12

/third_party/FreeBSD/sys/dev/usb/
Dusb_handle_request.c281 iface, req.wValue[0]); in usb_handle_iface_request()
294 iface->alt_index = req.wValue[0]; in usb_handle_iface_request()
434 uint16_t wValue; in usb_handle_request() local
499 wValue = UGETW(req.wValue); in usb_handle_request()
503 req.bRequest, wValue, UGETW(req.wIndex), off, rem, state); in usb_handle_request()
531 switch (wValue) { in usb_handle_request()
539 switch (wValue) { in usb_handle_request()
554 switch (wValue) { in usb_handle_request()
562 switch (wValue) { in usb_handle_request()
625 wValue = 0; in usb_handle_request()
[all …]
Dusb_request.c250 USETW(req.wValue, UF_ENDPOINT_HALT); in usb_do_clear_stall_callback()
406 req->wValue[1], req->wValue[0], in usbd_do_request_flags()
981 USETW2(req.wValue, type, index); in usbd_req_get_desc()
1180 struct usb_config_descriptor **ppcd, uint16_t wValue) in usbd_req_get_descriptor_ptr() argument
1190 USETW(req.wValue, wValue); in usbd_req_get_descriptor_ptr()
1372 USETW(req.wValue, 0); in usbd_req_get_alt_interface_no()
1398 req.wValue[0] = alt_no; in usbd_req_set_alt_interface_no()
1399 req.wValue[1] = 0; in usbd_req_set_alt_interface_no()
1421 USETW(req.wValue, 0); in usbd_req_get_device_status()
1443 USETW2(req.wValue, UDESC_HUB, 0); in usbd_req_get_hub_descriptor()
[all …]
Dusb_request.h44 struct usb_config_descriptor **ppcd, uint16_t wValue);
Dusb_cdc.h196 uWord wValue; member
Dusb_hub.c260 uint16_t wValue; in uhub_tt_buffer_reset_async_locked() local
295 USETW(req.wValue, 0); in uhub_tt_buffer_reset_async_locked()
300 wValue = (ep->edesc->bEndpointAddress & 0xF) | in uhub_tt_buffer_reset_async_locked()
307 USETW(req.wValue, wValue); in uhub_tt_buffer_reset_async_locked()
2689 USETW(req.wValue, USB_INTERFACE_FUNC_SUSPEND); in usbd_device_30_remote_wakeup()
Dusb.h133 uWord wValue; member
/third_party/libusb/libusb/
Dsync.c98 uint8_t bmRequestType, uint8_t bRequest, uint16_t wValue, uint16_t wIndex, in libusb_control_transfer() argument
119 libusb_fill_control_setup(buffer, bmRequestType, bRequest, wValue, wIndex, in libusb_control_transfer()
Dlibusb.h926 uint16_t wValue; member
1520 uint8_t bmRequestType, uint8_t bRequest, uint16_t wValue, uint16_t wIndex, in libusb_fill_control_setup() argument
1526 setup->wValue = libusb_cpu_to_le16(wValue); in libusb_fill_control_setup()
1796 uint8_t request_type, uint8_t bRequest, uint16_t wValue, uint16_t wIndex,
/third_party/libusb/libusb/os/
Dnetbsd_usb.c364 USETW(req.ucr_request.wValue, UF_ENDPOINT_HALT); in netbsd_clear_halt()
521 libusb_le16_to_cpu(setup->wValue), in _sync_control_transfer()
528 (*(uint16_t *)req.ucr_request.wValue) = setup->wValue; in _sync_control_transfer()
Dopenbsd_usb.c397 USETW(req.ucr_request.wValue, UF_ENDPOINT_HALT); in obsd_clear_halt()
570 libusb_le16_to_cpu(setup->wValue), in _sync_control_transfer()
578 (*(uint16_t *)req.ucr_request.wValue) = setup->wValue; in _sync_control_transfer()
Dlinux_usbfs.h34 __u16 wValue; member
Dhaiku_usb_backend.cpp74 command.control.value = setup->wValue; in Do()
Ddarwin_usb.c805 req.wValue = (UInt16)(desc << 8); in darwin_request_descriptor()
1975 tpriv->req.wValue = OSSwapLittleToHostInt16 (setup->wValue); in submit_control_transfer()
Dwindows_winusb.h376 USHORT wValue; member
/third_party/FreeBSD/sys/dev/usb/net/
Dif_cdce.c282 USETW(req.wValue, 0); in cdce_ncm_init()
386 USETW(req.wValue, 0); in cdce_ncm_init()
410 USETW(req.wValue, 0); /* no CRC */ in cdce_ncm_init()
423 USETW(req.wValue, 0); /* NTB-16 */ in cdce_ncm_init()
1013 USETW(req.wValue, 1); /* Connected */ in cdce_intr_write_callback()
1026 USETW(req.wValue, 0); in cdce_intr_write_callback()
Dif_axge.c156 USETW(req.wValue, val); in axge_write_mem()
192 USETW(req.wValue, val); in axge_read_mem()
/third_party/ltp/testcases/kernel/device-drivers/usb/tusb/
Dst_tusb.h90 u16 typeReq, u16 wValue, u16 wIndex,
/third_party/NuttX/drivers/usbdev/gadget/
Df_uvc.c1869 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()
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()
2597 w_value = UGETW(ctrl->wValue); in usbclass_uvc_setup()
2650 set_probe_status(fuvc, (UGETW(ctrl->wValue) >> 8), ctrl->bRequest); in usbclass_uvc_setup()
Ddfu.c249 value = UGETW(ctrl->wValue); in usbclass_setup()
Df_dfu.c577 uint16_t value = UGETW(ctrl->wValue); in dfu_dnload()
603 uint16_t value = UGETW(ctrl->wValue); in dfu_upload()
Dcdcacm.c1402 value = UGETW(ctrl->wValue); in cdcacm_setup()
1567 USETW(state_buf->wValue, value); in cdcacm_serial_connect_state()
Dcomposite.c474 w_value = UGETW(ctrl->wValue); in usb_composite_setup()
/third_party/FreeBSD/sys/dev/usb/input/
Duhid.c230 USETW2(req->wValue, type, id); in uhid_fill_set_report()
242 USETW2(req->wValue, type, id); in uhid_fill_get_report()
/third_party/NuttX/drivers/usbdev/gadget/fconfig/src/
Df_config.c378 uint16_t w_value = UGETW(ctrl->wValue); in fconfig_composite_setup()
/third_party/FreeBSD/sys/dev/usb/storage/
Dumass.c1169 USETW(req.wValue, 0); in umass_init_shuttle()
1314 USETW(req.wValue, 0); in umass_t_bbb_reset1_callback()
1704 USETW(req.wValue, 0); in umass_bbb_get_max_lun()
1775 USETW(req.wValue, 0); in umass_t_cbi_reset1_callback()
1900 USETW(req.wValue, 0); in umass_t_cbi_command_callback()

12