Home
last modified time | relevance | path

Searched refs:bRequest (Results 1 – 25 of 38) sorted by relevance

12

/third_party/FreeBSD/sys/dev/usb/
Dusb_request.c149 if ((temp != req->bRequest) && (temp >= 0) && (temp <= 255)) in usbd_get_debug_bits()
249 req.bRequest = UR_CLEAR_FEATURE; in usb_do_clear_stall_callback()
405 udev, req->bmRequestType, req->bRequest, in usbd_do_request_flags()
980 req.bRequest = UR_GET_DESCRIPTOR; in usbd_req_get_desc()
1189 req.bRequest = UR_GET_DESCRIPTOR; in usbd_req_get_descriptor_ptr()
1371 req.bRequest = UR_GET_INTERFACE; in usbd_req_get_alt_interface_no()
1397 req.bRequest = UR_SET_INTERFACE; in usbd_req_set_alt_interface_no()
1420 req.bRequest = UR_GET_STATUS; in usbd_req_get_device_status()
1442 req.bRequest = UR_GET_DESCRIPTOR; in usbd_req_get_hub_descriptor()
1464 req.bRequest = UR_GET_DESCRIPTOR; in usbd_req_get_ss_hub_descriptor()
[all …]
Dusb_handle_request.c271 switch (req.bRequest) { in usb_handle_iface_request()
303 switch (req.bRequest) { in usb_handle_iface_request()
503 req.bRequest, wValue, UGETW(req.wIndex), off, rem, state); in usb_handle_request()
512 switch (req.bRequest) { in usb_handle_request()
525 switch (req.bRequest) { in usb_handle_request()
552 switch (req.bRequest) { in usb_handle_request()
575 switch (req.bRequest) { in usb_handle_request()
Dusb_hub.c292 if (up->req_reset_tt.bRequest != 0) { in uhub_tt_buffer_reset_async_locked()
294 req.bRequest = UR_RESET_TT; in uhub_tt_buffer_reset_async_locked()
306 req.bRequest = UR_CLEAR_TT_BUFFER; in uhub_tt_buffer_reset_async_locked()
342 if (up->req_reset_tt.bRequest == 0) in uhub_reset_tt_callback()
2683 usbd_device_30_remote_wakeup(struct usb_device *udev, uint8_t bRequest) in usbd_device_30_remote_wakeup() argument
2688 req.bRequest = bRequest; in usbd_device_30_remote_wakeup()
Dusb_generic.c833 (req->bRequest == UR_SET_ADDRESS)) || in ugen_check_request()
835 (req->bRequest == UR_SET_CONFIG)) || in ugen_check_request()
837 (req->bRequest == UR_SET_INTERFACE))) { in ugen_check_request()
855 if ((req->bRequest == UR_CLEAR_FEATURE) && in ugen_check_request()
1640 req.bRequest = UR_CLEAR_FEATURE; in ugen_ioctl()
Dusb.h132 uByte bRequest; member
/third_party/NuttX/drivers/usbdev/gadget/
Df_dfu.c623 switch (ctrl->bRequest) in dfu_app_idle_request()
655 switch (ctrl->bRequest) in dfu_app_detach_request()
680 switch (ctrl->bRequest) in dfu_idle_request()
724 switch (ctrl->bRequest) in dfu_dnload_sync_request()
749 switch (ctrl->bRequest) in dfu_dnbusy_request()
770 switch (ctrl->bRequest) in dfu_dnload_idle_request()
805 switch (ctrl->bRequest) in dfu_manifest_sync_request()
840 switch (ctrl->bRequest) in dfu_manifest_request()
882 switch (ctrl->bRequest) in dfu_upload_idle_request()
922 switch (ctrl->bRequest) in dfu_error_request()
Ddfu.c254 if (ctrl->bRequest == USB_REQ_SET_CONFIGURATION) in usbclass_setup()
259 else if (ctrl->bRequest == USB_REQ_SET_INTERFACE) in usbclass_setup()
268 else if (ctrl->bRequest == USB_REQ_GET_INTERFACE) in usbclass_setup()
Df_uvc.c1875 switch (ctrl->bRequest) in fuvc_handle_camera_control()
1884 ret = run_cmd_func(req->buf, req->xfrd, w_value >> 8, ctrl->bRequest, UNIT_ID_CAMERA); in fuvc_handle_camera_control()
1905 switch (ctrl->bRequest) in fuvc_handle_process_control()
1914 ret = run_cmd_func(req->buf, req->xfrd, w_value >> 8, ctrl->bRequest, UNIT_ID_PROCESSING); in fuvc_handle_process_control()
1942 switch (ctrl->bRequest) in fuvc_handle_ext_control()
1951 ret = run_cmd_func(req->buf, req->xfrd, w_value >> 8, ctrl->bRequest, UNIT_ID_H264_EXTENSION); in fuvc_handle_ext_control()
1969 switch (ctrl->bRequest) in fuvc_handle_xu_hicamera_control()
1978 … ret = run_cmd_func(req->buf, req->xfrd, w_value >> 8, ctrl->bRequest, UNIT_ID_HICAMERA_EXTENSION); in fuvc_handle_xu_hicamera_control()
2061 breq = ctrl->bRequest; in fuvc_handle_streaming_probe()
2613 switch (ctrl->bRequest) in usbclass_uvc_setup()
[all …]
Df_uac.c557 uint8_t request = ctrl->bRequest; in audio_set_endpoint_req()
584 uint8_t request = ctrl->bRequest; in audio_get_endpoint_req()
786 switch (ctrl->bRequest) in usbclass_uac_setup()
Dcdcacm.c1407 ctrl->bmRequestType, ctrl->bRequest, value, index, len); in cdcacm_setup()
1414 switch (ctrl->bRequest) in cdcacm_setup()
1438 switch (ctrl->bRequest) in cdcacm_setup()
1531 ctrl->bmRequestType, ctrl->bRequest, value, index, len); in cdcacm_setup()
Df_hid.c664 switch (ctrl->bRequest) in usbclass_hid_setup()
687 switch (ctrl->bRequest) in usbclass_hid_setup()
Drndis.c1968 switch (ctrl->bRequest) in usbclass_setup()
1993 if (ctrl->bRequest == RNDIS_SEND_ENCAPSULATED_COMMAND) in usbclass_setup()
1999 else if (ctrl->bRequest == RNDIS_GET_ENCAPSULATED_RESPONSE) in usbclass_setup()
/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.h923 uint8_t bRequest; member
1520 uint8_t bmRequestType, uint8_t bRequest, uint16_t wValue, uint16_t wIndex, in libusb_fill_control_setup() argument
1525 setup->bRequest = bRequest; 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.c363 req.ucr_request.bRequest = UR_CLEAR_FEATURE; in netbsd_clear_halt()
520 setup->bmRequestType, setup->bRequest, in _sync_control_transfer()
526 req.ucr_request.bRequest = setup->bRequest; in _sync_control_transfer()
Dopenbsd_usb.c396 req.ucr_request.bRequest = UR_CLEAR_FEATURE; in obsd_clear_halt()
569 setup->bmRequestType, setup->bRequest, in _sync_control_transfer()
576 req.ucr_request.bRequest = setup->bRequest; in _sync_control_transfer()
Dlinux_usbfs.h33 __u8 bRequest; member
Dhaiku_usb_backend.cpp73 command.control.request = setup->bRequest; in Do()
Ddarwin_usb.c804 req.bRequest = kUSBRqGetDescriptor; in darwin_request_descriptor()
1973 tpriv->req.bRequest = setup->bRequest; in submit_control_transfer()
/third_party/FreeBSD/sys/dev/usb/net/
Dif_cdce.c281 req.bRequest = UCDC_NCM_GET_NTB_PARAMETERS; in cdce_ncm_init()
385 req.bRequest = UCDC_NCM_SET_NTB_INPUT_SIZE; in cdce_ncm_init()
409 req.bRequest = UCDC_NCM_SET_CRC_MODE; in cdce_ncm_init()
422 req.bRequest = UCDC_NCM_SET_NTB_FORMAT; in cdce_ncm_init()
1070 req->bRequest == UCDC_NCM_SET_ETHERNET_PACKET_FILTER) { in cdce_handle_request()
Dif_axge.c155 req.bRequest = cmd; in axge_write_mem()
191 req.bRequest = cmd; in axge_read_mem()
/third_party/libusb/examples/
Dxusb.c706 static void read_ms_winsub_feature_descriptors(libusb_device_handle *handle, uint8_t bRequest, int … in read_ms_winsub_feature_descriptors() argument
735bRequest, (uint16_t)(((iface_number)<< 8)|0x00), os_fd[i].index, os_desc, os_fd[i].header_size, 10… in read_ms_winsub_feature_descriptors()
748bRequest, (uint16_t)(((iface_number)<< 8)|0x00), os_fd[i].index, os_desc, (uint16_t)length, 1000); in read_ms_winsub_feature_descriptors()
/third_party/FreeBSD/sys/dev/usb/input/
Duhid.c229 req->bRequest = UR_SET_REPORT; in uhid_fill_set_report()
241 req->bRequest = UR_GET_REPORT; in uhid_fill_get_report()
/third_party/NuttX/drivers/usbdev/gadget/fconfig/src/
Df_config.c376 if (ctrl->bRequest == USB_REQ_GET_DESCRIPTOR) in fconfig_composite_setup()
/third_party/FreeBSD/sys/dev/usb/storage/
Dumass.c1168 req.bRequest = 1; /* XXX unknown command */ in umass_init_shuttle()
1313 req.bRequest = UR_BBB_RESET; /* bulk only reset */ in umass_t_bbb_reset1_callback()
1703 req.bRequest = UR_BBB_GET_MAX_LUN; in umass_bbb_get_max_lun()
1774 req.bRequest = UR_CBI_ADSC; in umass_t_cbi_reset1_callback()
1899 req.bRequest = UR_CBI_ADSC; in umass_t_cbi_command_callback()

12