/third_party/FreeBSD/sys/dev/usb/ |
D | usb_request.c | 144 if ((temp != req->bmRequestType) && (temp >= 0) && (temp <= 255)) in usbd_get_debug_bits() 247 req.bmRequestType = UT_WRITE_ENDPOINT; in usb_do_clear_stall_callback() 404 udev, req->bmRequestType, req->bRequest, in usbd_do_request_flags() 443 if (!(req->bmRequestType & UT_READ)) { in usbd_do_request_flags() 555 if (!(req->bmRequestType & UT_READ)) { in usbd_do_request_flags() 624 if (req->bmRequestType & UT_READ) { in usbd_do_request_flags() 731 if ((len != 0) && (req->bmRequestType & UE_DIR_IN)) { in usbd_do_request_proc() 978 req.bmRequestType = UT_READ_DEVICE; in usbd_req_get_desc() 1185 req.bmRequestType = UT_READ_DEVICE; in usbd_req_get_descriptor_ptr() 1367 req.bmRequestType = UT_READ_INTERFACE; in usbd_req_get_alt_interface_no() [all …]
|
D | usb_util.c | 209 if (((req->bmRequestType == UT_WRITE_DEVICE) && in usb_check_request() 211 ((req->bmRequestType == UT_WRITE_DEVICE) && in usb_check_request() 213 ((req->bmRequestType == UT_WRITE_INTERFACE) && in usb_check_request() 226 if (req->bmRequestType == UT_WRITE_ENDPOINT) { in usb_check_request()
|
D | usb_handle_request.c | 190 if ((req.bmRequestType & 0x1F) == UT_INTERFACE) { in usb_handle_iface_request() 241 ((req.bmRequestType & 0x1F) == UT_INTERFACE) && in usb_handle_iface_request() 260 if ((req.bmRequestType & 0x1F) != UT_INTERFACE) { in usb_handle_iface_request() 268 switch (req.bmRequestType) { in usb_handle_iface_request() 501 "off=0x%x rem=0x%x, state=%d\n", req.bmRequestType, in usb_handle_request() 506 switch (req.bmRequestType) { in usb_handle_request()
|
D | usb_cdc.h | 185 uByte bmRequestType; member
|
D | usb.h | 131 uByte bmRequestType; member
|
D | usb_generic.c | 1012 if ((req->bmRequestType & in ugen_fs_copy_in() 1192 if ((req->bmRequestType & (UT_READ | UT_WRITE)) == UT_READ) { in ugen_fs_copy_out() 1578 req.bmRequestType = UT_WRITE_ENDPOINT; in ugen_ioctl()
|
D | usb_hub.c | 292 req.bmRequestType = UT_WRITE_CLASS_OTHER; in uhub_tt_buffer_reset_async_locked() 304 req.bmRequestType = UT_WRITE_CLASS_OTHER; in uhub_tt_buffer_reset_async_locked() 2677 req.bmRequestType = UT_WRITE_INTERFACE; in usbd_device_30_remote_wakeup()
|
D | usb_transfer.c | 1398 (req.bmRequestType & UT_READ) ? UE_DIR_IN : UE_DIR_OUT; in usbd_control_transfer_init() 3193 req.bmRequestType = UT_WRITE_ENDPOINT; in usbd_clear_stall_callback()
|
/third_party/NuttX/drivers/usbdev/gadget/ |
D | composite.c | 488 if (ctrl->bmRequestType != USB_DIR_IN) in usb_composite_setup() 542 if (ctrl->bmRequestType != USB_DIR_OUT) in usb_composite_setup() 579 if (ctrl->bmRequestType == USB_RECIP_INTERFACE && in usb_composite_setup() 590 if (ctrl->bmRequestType != (USB_DIR_IN | USB_RECIP_INTERFACE)) in usb_composite_setup() 601 if (ctrl->bmRequestType != (USB_DIR_OUT | USB_RECIP_INTERFACE)) in usb_composite_setup() 611 switch (ctrl->bmRequestType & USB_RECIP_MASK) in usb_composite_setup()
|
D | cdcacm.c | 1407 ctrl->bmRequestType, ctrl->bRequest, value, index, len); in cdcacm_setup() 1408 if (UT_GET_TYPE(ctrl->bmRequestType) == UT_STANDARD) in cdcacm_setup() 1417 if (ctrl->bmRequestType == 0) in cdcacm_setup() 1436 else if (UT_GET_TYPE(ctrl->bmRequestType) == UT_CLASS) in cdcacm_setup() 1445 if (ctrl->bmRequestType == (USB_DIR_IN | USB_TYPE_CLASS | USB_RECIP_INTERFACE) && in cdcacm_setup() 1474 if (ctrl->bmRequestType == (USB_DIR_OUT | USB_TYPE_CLASS | USB_RECIP_INTERFACE) && in cdcacm_setup() 1508 if (ctrl->bmRequestType == (USB_DIR_OUT | USB_TYPE_CLASS | USB_RECIP_INTERFACE) && in cdcacm_setup() 1531 ctrl->bmRequestType, ctrl->bRequest, value, index, len); in cdcacm_setup() 1565 state_buf->bmRequestType = USB_DIR_IN | USB_TYPE_CLASS | USB_RECIP_INTERFACE; in cdcacm_serial_connect_state()
|
D | dfu.c | 252 if ((ctrl->bmRequestType & USB_TYPE_MASK) == USB_TYPE_STANDARD) in usbclass_setup() 274 else if ((ctrl->bmRequestType & USB_TYPE_MASK) == USB_TYPE_CLASS) in usbclass_setup()
|
D | rndis.c | 1960 switch (ctrl->bmRequestType & USB_TYPE_MASK) in usbclass_setup() 1973 if (ctrl->bmRequestType == 0) in usbclass_setup() 1991 if ((ctrl->bmRequestType & USB_RECIP_MASK) == USB_RECIP_INTERFACE) in usbclass_setup()
|
D | f_hid.c | 659 req_type = ctrl->bmRequestType; in usbclass_hid_setup()
|
D | f_uac.c | 780 req_type = ctrl->bmRequestType; in usbclass_uac_setup()
|
D | f_uvc.c | 2610 req_type = ctrl->bmRequestType; in usbclass_uvc_setup() 2648 if ((ctrl->bmRequestType & USB_RECIP_MASK) == USB_RECIP_INTERFACE) in usbclass_uvc_setup()
|
D | f_mass_storage.c | 1749 if (ctrl->bmRequestType != (USB_DIR_IN | in usbclass_mass_setup()
|
/third_party/FreeBSD/sys/dev/usb/net/ |
D | if_cdce.c | 278 req.bmRequestType = UT_READ_CLASS_INTERFACE; in cdce_ncm_init() 382 req.bmRequestType = UT_WRITE_CLASS_INTERFACE; in cdce_ncm_init() 406 req.bmRequestType = UT_WRITE_CLASS_INTERFACE; in cdce_ncm_init() 419 req.bmRequestType = UT_WRITE_CLASS_INTERFACE; in cdce_ncm_init() 1001 req.bmRequestType = UCDC_NOTIFICATION; in cdce_intr_write_callback() 1014 req.bmRequestType = UCDC_NOTIFICATION; in cdce_intr_write_callback() 1061 if (req->bmRequestType == UT_WRITE_CLASS_INTERFACE && \ in cdce_handle_request()
|
D | if_axge.c | 154 req.bmRequestType = UT_WRITE_VENDOR_DEVICE; in axge_write_mem() 190 req.bmRequestType = UT_READ_VENDOR_DEVICE; in axge_read_mem()
|
D | if_axe.c | 229 req.bmRequestType = (AXE_CMD_IS_WRITE(cmd) ? in axe_cmd()
|
D | if_urndis.c | 410 req.bmRequestType = rt; in urndis_ctrl_msg()
|
/third_party/NuttX/drivers/usbdev/gadget/fconfig/src/ |
D | f_generic.c | 688 if (UT_GET_TYPE(ctrl->bmRequestType) == UT_STANDARD) in usbclass_generic_setup() 696 if (ctrl->bmRequestType == 0) in usbclass_generic_setup() 703 if (ctrl->bmRequestType == 0) in usbclass_generic_setup() 715 switch (UT_GET_RECIPIENT(ctrl->bmRequestType)) in usbclass_generic_setup()
|
/third_party/FreeBSD/sys/dev/usb/serial/ |
D | u3g.c | 624 if (req.bmRequestType & UE_DIR_IN) { in u3g_sael_m460_init() 945 req.bmRequestType = UT_WRITE_CLASS_INTERFACE; in u3g_cfg_set_line() 1024 if (pkt.bmRequestType == UCDC_NOTIFICATION in u3g_intr_callback()
|
/third_party/FreeBSD/sys/dev/usb/input/ |
D | uhid.c | 231 req->bmRequestType = UT_WRITE_CLASS_INTERFACE; in uhid_fill_set_report() 243 req->bmRequestType = UT_READ_CLASS_INTERFACE; in uhid_fill_get_report()
|
/third_party/FreeBSD/sys/compat/linuxkpi/common/src/ |
D | linux_usb.c | 660 req.bmRequestType = requesttype; in usb_control_msg() 711 if (size && (!(req.bmRequestType & UT_READ))) { in usb_control_msg() 718 if (req.bmRequestType & UT_READ) { in usb_control_msg()
|
/third_party/FreeBSD/sys/dev/usb/storage/ |
D | umass.c | 1163 req.bmRequestType = UT_READ_VENDOR_DEVICE; in umass_init_shuttle() 1307 req.bmRequestType = UT_WRITE_CLASS_INTERFACE; in umass_t_bbb_reset1_callback() 1696 req.bmRequestType = UT_READ_CLASS_INTERFACE; in umass_bbb_get_max_lun() 1767 req.bmRequestType = UT_WRITE_CLASS_INTERFACE; in umass_t_cbi_reset1_callback() 1891 req.bmRequestType = UT_WRITE_CLASS_INTERFACE; in umass_t_cbi_command_callback()
|