Home
last modified time | relevance | path

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

12

/third_party/FreeBSD/sys/dev/usb/
Dusb_handle_request.c280 iface, req.wValue[0]); in usb_handle_iface_request()
293 iface->alt_index = req.wValue[0]; in usb_handle_iface_request()
433 uint16_t wValue; in usb_handle_request() local
498 wValue = UGETW(req.wValue); in usb_handle_request()
502 req.bRequest, wValue, UGETW(req.wIndex), off, rem, state); in usb_handle_request()
530 switch (wValue) { in usb_handle_request()
538 switch (wValue) { in usb_handle_request()
553 switch (wValue) { in usb_handle_request()
561 switch (wValue) { in usb_handle_request()
624 wValue = 0; in usb_handle_request()
[all …]
Dusb_request.c249 USETW(req.wValue, UF_ENDPOINT_HALT); in usb_do_clear_stall_callback()
415 req->wValue[1], req->wValue[0], in usbd_do_request_flags()
990 USETW2(req.wValue, type, index); in usbd_req_get_desc()
1187 struct usb_config_descriptor **ppcd, uint16_t wValue) in usbd_req_get_descriptor_ptr() argument
1197 USETW(req.wValue, wValue); in usbd_req_get_descriptor_ptr()
1379 USETW(req.wValue, 0); in usbd_req_get_alt_interface_no()
1406 req.wValue[0] = alt_no; in usbd_req_set_alt_interface_no()
1407 req.wValue[1] = 0; in usbd_req_set_alt_interface_no()
1439 USETW(req.wValue, 0); in usbd_req_get_device_status()
1461 USETW2(req.wValue, UDESC_HUB, 0); in usbd_req_get_hub_descriptor()
[all …]
Dusb_util.c231 (UGETW(req->wValue) == UF_ENDPOINT_HALT)) in usb_check_request()
Dusb_request.h44 struct usb_config_descriptor **ppcd, uint16_t wValue);
Dusb_cdc.h196 uWord wValue; member
Dusb_hub.c259 uint16_t wValue; in uhub_tt_buffer_reset_async_locked() local
294 USETW(req.wValue, 0); in uhub_tt_buffer_reset_async_locked()
299 wValue = (ep->edesc->bEndpointAddress & 0xF) | in uhub_tt_buffer_reset_async_locked()
306 USETW(req.wValue, wValue); in uhub_tt_buffer_reset_async_locked()
2679 USETW(req.wValue, USB_INTERFACE_FUNC_SUSPEND); in usbd_device_30_remote_wakeup()
Dusb.h133 uWord wValue; member
/third_party/FreeBSD/sys/dev/usb/net/
Dif_cdce.c280 USETW(req.wValue, 0); in cdce_ncm_init()
384 USETW(req.wValue, 0); in cdce_ncm_init()
408 USETW(req.wValue, 0); /* no CRC */ in cdce_ncm_init()
421 USETW(req.wValue, 0); /* NTB-16 */ in cdce_ncm_init()
1005 USETW(req.wValue, 1); /* Connected */ in cdce_intr_write_callback()
1018 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()
Dif_urndis.c412 USETW(req.wValue, value); in urndis_ctrl_msg()
Dif_axe.c233 USETW(req.wValue, val); in axe_cmd()
/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()
Df_uac.c790 (void)usbclass_uac_set_alt(uac, UGETW(ctrl->wIndex), UGETW(ctrl->wValue)); in usbclass_uac_setup()
Df_hid.c657 w_value = UGETW(ctrl->wValue); in usbclass_hid_setup()
/third_party/ltp/testcases/kernel/device-drivers/usb/tusb/
Dst_tusb.h90 u16 typeReq, u16 wValue, u16 wIndex,
/third_party/FreeBSD/sys/dev/usb/input/
Duhid.c233 USETW2(req->wValue, type, id); in uhid_fill_set_report()
245 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()
Df_generic.c686 w_value = UGETW(ctrl->wValue); in usbclass_generic_setup()
/third_party/FreeBSD/sys/dev/usb/storage/
Dumass.c1165 USETW(req.wValue, 0); in umass_init_shuttle()
1309 USETW(req.wValue, 0); in umass_t_bbb_reset1_callback()
1698 USETW(req.wValue, 0); in umass_bbb_get_max_lun()
1769 USETW(req.wValue, 0); in umass_t_cbi_reset1_callback()
1893 USETW(req.wValue, 0); in umass_t_cbi_command_callback()
/third_party/FreeBSD/sys/dev/usb/serial/
Du3g.c947 USETW(req.wValue, sc->sc_line[ucom->sc_subunit]); in u3g_cfg_set_line()
/third_party/FreeBSD/sys/compat/linuxkpi/common/src/
Dlinux_usb.c662 USETW(req.wValue, value); in usb_control_msg()

12