Home
last modified time | relevance | path

Searched refs:wIndex (Results 1 – 25 of 29) sorted by relevance

12

/third_party/FreeBSD/sys/dev/usb/
Dusb_request.c250 req.wIndex[0] = ep->edesc->bEndpointAddress; in usb_do_clear_stall_callback()
251 req.wIndex[1] = 0; in usb_do_clear_stall_callback()
406 req->wIndex[1], req->wIndex[0], in usbd_do_request_flags()
981 USETW(req.wIndex, id); in usbd_req_get_desc()
1188 USETW(req.wIndex, 0); in usbd_req_get_descriptor_ptr()
1370 req.wIndex[0] = iface->idesc->bInterfaceNumber; in usbd_req_get_alt_interface_no()
1371 req.wIndex[1] = 0; in usbd_req_get_alt_interface_no()
1398 req.wIndex[0] = iface->idesc->bInterfaceNumber; in usbd_req_set_alt_interface_no()
1399 req.wIndex[1] = 0; in usbd_req_set_alt_interface_no()
1430 USETW(req.wIndex, 0); in usbd_req_get_device_status()
[all …]
Dusb_handle_request.c191 iface_index = req.wIndex[0]; /* unicast */ in usb_handle_iface_request()
502 req.bRequest, wValue, UGETW(req.wIndex), off, rem, state); in usb_handle_request()
665 if (usb_handle_set_stall(xfer, req.wIndex[0], 0)) { in usb_handle_request()
681 if (usb_handle_set_stall(xfer, req.wIndex[0], 1)) { in usb_handle_request()
698 usb_handle_get_stall(udev, req.wIndex[0]); in usb_handle_request()
Dusb_util.c227 ep = usbd_get_ep_by_addr(udev, req->wIndex[0]); in usb_check_request()
Dusb_cdc.h197 uWord wIndex; member
Dusb_hub.c295 req.wIndex[0] = port; in uhub_tt_buffer_reset_async_locked()
296 req.wIndex[1] = 0; in uhub_tt_buffer_reset_async_locked()
307 req.wIndex[0] = port; in uhub_tt_buffer_reset_async_locked()
308 req.wIndex[1] = 0; in uhub_tt_buffer_reset_async_locked()
2680 USETW(req.wIndex, USB_INTERFACE_FUNC_SUSPEND_LP | in usbd_device_30_remote_wakeup()
Dusb.h134 uWord wIndex; member
Dusb_generic.c1581 req.wIndex[0] = ep->edesc->bEndpointAddress; in ugen_ioctl()
1582 req.wIndex[1] = 0; in ugen_ioctl()
Dusb_transfer.c3196 req.wIndex[0] = xfer2->endpoint->edesc->bEndpointAddress; in usbd_clear_stall_callback()
3197 req.wIndex[1] = 0; in usbd_clear_stall_callback()
/third_party/FreeBSD/sys/dev/usb/net/
Dif_cdce.c281 req.wIndex[0] = sc->sc_ifaces_index[1]; in cdce_ncm_init()
282 req.wIndex[1] = 0; in cdce_ncm_init()
385 req.wIndex[0] = sc->sc_ifaces_index[1]; in cdce_ncm_init()
386 req.wIndex[1] = 0; in cdce_ncm_init()
409 req.wIndex[0] = sc->sc_ifaces_index[1]; in cdce_ncm_init()
410 req.wIndex[1] = 0; in cdce_ncm_init()
422 req.wIndex[0] = sc->sc_ifaces_index[1]; in cdce_ncm_init()
423 req.wIndex[1] = 0; in cdce_ncm_init()
1003 req.wIndex[0] = sc->sc_ifaces_index[1]; in cdce_intr_write_callback()
1004 req.wIndex[1] = 0; in cdce_intr_write_callback()
[all …]
Dif_axge.c157 USETW(req.wIndex, index); in axge_write_mem()
193 USETW(req.wIndex, index); in axge_read_mem()
Dif_axe.c234 USETW(req.wIndex, index); in axe_cmd()
Dif_urndis.c413 USETW(req.wIndex, index); in urndis_ctrl_msg()
/third_party/FreeBSD/sys/dev/usb/input/
Duhid.c234 req->wIndex[0] = iface_no; in uhid_fill_set_report()
235 req->wIndex[1] = 0; in uhid_fill_set_report()
246 req->wIndex[0] = iface_no; in uhid_fill_get_report()
247 req->wIndex[1] = 0; in uhid_fill_get_report()
/third_party/ltp/testcases/kernel/device-drivers/usb/tusb/
Dst_tusb.h90 u16 typeReq, u16 wValue, u16 wIndex,
/third_party/FreeBSD/sys/dev/usb/storage/
Dumass.c1166 req.wIndex[0] = sc->sc_iface_no; in umass_init_shuttle()
1167 req.wIndex[1] = 0; in umass_init_shuttle()
1310 req.wIndex[0] = sc->sc_iface_no; in umass_t_bbb_reset1_callback()
1311 req.wIndex[1] = 0; in umass_t_bbb_reset1_callback()
1699 req.wIndex[0] = sc->sc_iface_no; in umass_bbb_get_max_lun()
1700 req.wIndex[1] = 0; in umass_bbb_get_max_lun()
1770 req.wIndex[0] = sc->sc_iface_no; in umass_t_cbi_reset1_callback()
1771 req.wIndex[1] = 0; in umass_t_cbi_reset1_callback()
1894 req.wIndex[0] = sc->sc_iface_no; in umass_t_cbi_command_callback()
1895 req.wIndex[1] = 0; in umass_t_cbi_command_callback()
/third_party/NuttX/drivers/usbdev/gadget/
Dcomposite.c408 index = UGETW(ctrl->wIndex); in composite_classsetup()
476 w_Index = UGETW(ctrl->wIndex); in usb_composite_setup()
Dcdcacm.c1403 index = UGETW(ctrl->wIndex); in cdcacm_setup()
1568 USETW(state_buf->wIndex, priv->ctrl_id); in cdcacm_serial_connect_state()
Df_uvc.c1996 uint16_t w_index = UGETW(ctrl->wIndex); in fuvc_handle_class_setup_control()
2596 w_index = UGETW(ctrl->wIndex); in usbclass_uvc_setup()
2653 w_index = UGETW(ctrl->wIndex); in usbclass_uvc_setup()
Df_uac.c790 (void)usbclass_uac_set_alt(uac, UGETW(ctrl->wIndex), UGETW(ctrl->wValue)); in usbclass_uac_setup()
Df_mass_storage.c1734 w_index = UGETW(ctrl->wIndex); in usbclass_mass_setup()
/third_party/NuttX/drivers/usbdev/gadget/fconfig/src/
Df_generic.c685 w_index = UGETW(ctrl->wIndex); in usbclass_generic_setup()
746 use_tw(priv->setup.wIndex, ret); in usbclass_generic_setup()
Df_config.c380 uint16_t w_Index = UGETW(ctrl->wIndex); in fconfig_composite_setup()
/third_party/FreeBSD/sys/dev/usb/serial/
Du3g.c948 req.wIndex[0] = sc->sc_iface[ucom->sc_subunit]; in u3g_cfg_set_line()
949 req.wIndex[1] = 0; in u3g_cfg_set_line()
/third_party/FreeBSD/sys/compat/linuxkpi/common/src/
Dlinux_usb.c663 USETW(req.wIndex, index); in usb_control_msg()
/third_party/FreeBSD/sys/dev/usb/controller/
Dehci.c3052 index = UGETW(req->wIndex);

12