Home
last modified time | relevance | path

Searched refs:bRequest (Results 1 - 25 of 33) sorted by relevance

12

/third_party/FreeBSD/sys/dev/usb/
H A Dusb_request.c148 if ((temp != req->bRequest) && (temp >= 0) && (temp <= 255)) in usbd_get_debug_bits()
247 req.bRequest = UR_CLEAR_FEATURE; in usb_do_clear_stall_callback()
411 DPRINTFN(6, "udev=%p bmRequestType=0x%02x bRequest=0x%02x " in usbd_do_request_flags()
413 udev, req->bmRequestType, req->bRequest, in usbd_do_request_flags()
988 req.bRequest = UR_GET_DESCRIPTOR; in usbd_req_get_desc()
1195 req.bRequest = UR_GET_DESCRIPTOR; in usbd_req_get_descriptor_ptr()
1377 req.bRequest = UR_GET_INTERFACE; in usbd_req_get_alt_interface_no()
1404 req.bRequest = UR_SET_INTERFACE; in usbd_req_set_alt_interface_no()
1437 req.bRequest = UR_GET_STATUS; in usbd_req_get_device_status()
1459 req.bRequest in usbd_req_get_hub_descriptor()
[all...]
H A Dusb_util.c209 (req->bRequest == UR_SET_ADDRESS)) || in usb_check_request()
211 (req->bRequest == UR_SET_CONFIG)) || in usb_check_request()
213 (req->bRequest == UR_SET_INTERFACE))) { in usb_check_request()
229 if ((req->bRequest == UR_CLEAR_FEATURE) && in usb_check_request()
H A Dusb_handle_request.c269 switch (req.bRequest) { in usb_handle_iface_request()
301 switch (req.bRequest) { in usb_handle_iface_request()
501 req.bRequest, wValue, UGETW(req.wIndex), off, rem, state); in usb_handle_request()
510 switch (req.bRequest) { in usb_handle_request()
523 switch (req.bRequest) { in usb_handle_request()
550 switch (req.bRequest) { in usb_handle_request()
573 switch (req.bRequest) { in usb_handle_request()
H A Dusb_hub.c290 if (up->req_reset_tt.bRequest != 0) { in uhub_tt_buffer_reset_async_locked()
292 req.bRequest = UR_RESET_TT; in uhub_tt_buffer_reset_async_locked()
304 req.bRequest = UR_CLEAR_TT_BUFFER; in uhub_tt_buffer_reset_async_locked()
340 if (up->req_reset_tt.bRequest == 0) in uhub_reset_tt_callback()
2672 usbd_device_30_remote_wakeup(struct usb_device *udev, uint8_t bRequest) in usbd_device_30_remote_wakeup() argument
2677 req.bRequest = bRequest; in usbd_device_30_remote_wakeup()
H A Dusb.h131 uByte bRequest; member
/third_party/NuttX/drivers/usbdev/gadget/
H A 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()
[all...]
H A 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()
H A 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...]
H A 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()
H A 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()
1446 index == priv->devinfo.ifnobase) /* bmRequestType = 0xa1, bRequest = 0x21 */ in cdcacm_setup()
1476 index == priv->devinfo.ifnobase) /* bmRequestType = 0x21, bRequest = 0x20 */ in cdcacm_setup()
1509 index == priv->devinfo.ifnobase) /* bmRequestType = 0x21, bRequest = 0x22 */ in cdcacm_setup()
1531 ctrl->bmRequestType, ctrl->bRequest, value, index, len); in cdcacm_setup()
H A 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()
H A Df_hid.c664 switch (ctrl->bRequest) in usbclass_hid_setup()
687 switch (ctrl->bRequest) in usbclass_hid_setup()
H A Dcomposite.c484 switch (ctrl->bRequest) in usb_composite_setup()
/third_party/backends/backend/
H A Dhp5590_low.c82 uint8_t bRequest; member
92 uint8_t bRequest; member
255 ctrl.bRequest = request; in hp5590_control_msg()
325 ctrl.bRequest = request; in hp5590_control_msg()
/third_party/FreeBSD/sys/dev/usb/net/
H A Dif_cdce.c278 req.bRequest = UCDC_NCM_GET_NTB_PARAMETERS; in cdce_ncm_init()
382 req.bRequest = UCDC_NCM_SET_NTB_INPUT_SIZE; in cdce_ncm_init()
406 req.bRequest = UCDC_NCM_SET_CRC_MODE; in cdce_ncm_init()
419 req.bRequest = UCDC_NCM_SET_NTB_FORMAT; in cdce_ncm_init()
1061 req->bRequest == UCDC_NCM_SET_ETHERNET_PACKET_FILTER) { in cdce_handle_request()
H A Dif_axge.c154 req.bRequest = cmd; in axge_write_mem()
190 req.bRequest = cmd; in axge_read_mem()
H A Dif_axe.c230 req.bRequest = AXE_CMD_CMD(cmd); in axe_cmd()
H A Dif_urndis.c410 req.bRequest = r; in urndis_ctrl_msg()
/third_party/backends/include/sane/
H A Dusb_manager.h436 uint8_t bRequest, uint16_t wValue, uint16_t wIndex, unsigned char *data, uint16_t wLength,
/third_party/backends/sanei/
H A Dusb_manager.cpp580 uint8_t bRequest, uint16_t wValue, uint16_t wIndex, unsigned char *data, uint16_t wLength, in usb_manager_control_transfer()
590 ctrl.requestCmd = static_cast<int32_t>(bRequest); in usb_manager_control_transfer()
579 usb_manager_control_transfer(usb_manager_device_handle *dev_handle, uint8_t request_type, uint8_t bRequest, uint16_t wValue, uint16_t wIndex, unsigned char *data, uint16_t wLength, unsigned int timeout) usb_manager_control_transfer() argument
/third_party/FreeBSD/sys/dev/usb/input/
H A Duhid.c230 req->bRequest = UR_SET_REPORT; in uhid_fill_set_report()
242 req->bRequest = UR_GET_REPORT; in uhid_fill_get_report()
/third_party/NuttX/drivers/usbdev/gadget/fconfig/src/
H A Df_config.c376 if (ctrl->bRequest == USB_REQ_GET_DESCRIPTOR) in fconfig_composite_setup()
H A Df_generic.c693 switch (ctrl->bRequest) in usbclass_generic_setup()
/third_party/FreeBSD/sys/dev/usb/storage/
H A Dumass.c1160 req.bRequest = 1; /* XXX unknown command */ in umass_init_shuttle()
1304 req.bRequest = UR_BBB_RESET; /* bulk only reset */ in umass_t_bbb_reset1_callback()
1693 req.bRequest = UR_BBB_GET_MAX_LUN; in umass_bbb_get_max_lun()
1764 req.bRequest = UR_CBI_ADSC; in umass_t_cbi_reset1_callback()
1888 req.bRequest = UR_CBI_ADSC; in umass_t_cbi_command_callback()
/third_party/FreeBSD/sys/dev/usb/serial/
H A Du3g.c944 req.bRequest = UCDC_SET_CONTROL_LINE_STATE; in u3g_cfg_set_line()

Completed in 40 milliseconds

12