/third_party/FreeBSD/sys/dev/usb/controller/ |
D | ehci_pci.c | 62 uint32_t usb_mode; in hiehci_post_reset() local 65 usb_mode = EOREAD4(sc, EHCI_USBMODE_NOLPM); in hiehci_post_reset() 66 usb_mode &= ~EHCI_UM_CM; in hiehci_post_reset() 67 usb_mode |= EHCI_UM_CM_HOST; in hiehci_post_reset() 68 EOWRITE4(sc, EHCI_USBMODE_NOLPM, usb_mode); in hiehci_post_reset()
|
D | xhci.c | 3954 ep, udev->address, edesc->bEndpointAddress, udev->flags.usb_mode); in xhci_ep_init() 3984 if (udev->flags.usb_mode != USB_MODE_HOST) { in xhci_ep_clear_stall()
|
D | ehci.c | 3702 edesc->bEndpointAddress, udev->flags.usb_mode,
|
/third_party/FreeBSD/sys/dev/usb/ |
D | usb_device.c | 188 if ((setup->usb_mode != USB_MODE_DUAL) && in usbd_get_endpoint() 189 (udev->flags.usb_mode != setup->usb_mode)) { in usbd_get_endpoint() 198 ea_val = (udev->flags.usb_mode == USB_MODE_DEVICE) ? in usbd_get_endpoint() 202 ea_val = (udev->flags.usb_mode == USB_MODE_DEVICE) ? in usbd_get_endpoint() 459 if (udev->flags.usb_mode != USB_MODE_DEVICE) in usb_unconfigure() 512 if (udev->flags.usb_mode == USB_MODE_DEVICE) { in usbd_set_config_index() 532 (udev->flags.usb_mode == USB_MODE_HOST)) { in usbd_set_config_index() 570 if (udev->flags.usb_mode == USB_MODE_HOST) { in usbd_set_config_index() 1225 uaa->usb_mode = udev->flags.usb_mode; in usb_init_attach_arg() 1565 udev->flags.usb_mode = mode; in usb_alloc_device() [all …]
|
D | usb_hub.c | 136 .usb_mode = USB_MODE_HOST, 276 (child->flags.usb_mode != USB_MODE_HOST) || in uhub_tt_buffer_reset_async_locked() 399 (child->flags.usb_mode == USB_MODE_HOST) && in uhub_count_active_host_ports() 414 if (child->flags.usb_mode != USB_MODE_HOST) in uhub_explore_handle_re_enumerate() 539 if (child->flags.usb_mode == USB_MODE_DEVICE) in uhub_explore_sub() 869 mode = udev->parent_hub->flags.usb_mode; in uhub_reattach_port() 1005 else if (child->flags.usb_mode == USB_MODE_DEVICE) in uhub_suspend_resume_port() 1176 if (uaa->usb_mode != USB_MODE_HOST) in uhub_probe() 1822 (res.udev->flags.usb_mode == USB_MODE_HOST) ? "host" : "device", in uhub_child_pnpinfo_string() 1992 if (udev->flags.usb_mode != USB_MODE_HOST) in usb_hs_bandwidth_alloc() [all …]
|
D | usb_core.h | 40 #define USB_GET_DATA_ISREAD(xfer) ((xfer)->flags_int.usb_mode == \ 89 enum usb_hc_mode usb_mode; /* shadow copy of "udev->usb_mode" */ member
|
D | usb_transfer.c | 57 .usb_mode = USB_MODE_DUAL, /* both modes */ 70 .usb_mode = USB_MODE_HOST, 83 .usb_mode = USB_MODE_DUAL, /* both modes */ 96 .usb_mode = USB_MODE_HOST, 120 if (xfer->flags_int.usb_mode == USB_MODE_DEVICE) in usb_request_callback() 364 xfer->flags_int.usb_mode = parm->udev->flags.usb_mode; in usbd_transfer_setup_sub() 1019 if ((setup->usb_mode != USB_MODE_DUAL) && in usbd_transfer_setup() 1020 (setup->usb_mode != udev->flags.usb_mode)) in usbd_transfer_setup() 1474 if (xfer->flags_int.usb_mode == USB_MODE_DEVICE) { in usbd_setup_ctrl_transfer() 1492 if (xfer->flags_int.usb_mode == USB_MODE_DEVICE) { in usbd_setup_ctrl_transfer() [all …]
|
D | usb_generic.c | 199 usb_config[1].usb_mode = USB_MODE_HOST; in ugen_open_pipe_write() 207 usb_config[0].usb_mode = USB_MODE_DUAL; /* both modes */ in ugen_open_pipe_write() 268 usb_config[1].usb_mode = USB_MODE_HOST; in ugen_open_pipe_read() 276 usb_config[0].usb_mode = USB_MODE_DUAL; /* both modes */ in ugen_open_pipe_read() 559 if (f->udev->flags.usb_mode != USB_MODE_HOST) { in ugen_set_config() 583 if (f->udev->flags.usb_mode != USB_MODE_HOST) { in ugen_set_interface() 798 di->udi_mode = udev->flags.usb_mode; in ugen_fill_deviceinfo() 860 if (udev->flags.usb_mode != USB_MODE_HOST) { in ugen_re_enumerate() 1473 usb_config[0].usb_mode = USB_MODE_DUAL; /* both modes */ in ugen_ioctl() 1484 if (f->udev->flags.usb_mode != USB_MODE_HOST) { in ugen_ioctl() [all …]
|
D | usb_hub.h | 39 enum usb_hc_mode usb_mode; /* host or device mode */ member
|
D | usbdi.h | 229 enum usb_hc_mode usb_mode; /* host or device mode */ member 391 enum usb_hc_mode usb_mode; /* host or device mode */ member
|
D | usb_device.h | 88 enum usb_hc_mode usb_mode; /* host or device mode */ member
|
D | usb_dev.c | 574 if (udev->flags.usb_mode == USB_MODE_HOST) { in usb_dev_get_ep() 580 if (udev->flags.usb_mode == USB_MODE_HOST) { in usb_dev_get_ep()
|
D | usb_request.c | 310 if (udev->flags.usb_mode == USB_MODE_DEVICE) in usbd_get_hr_func() 2011 if (udev->flags.usb_mode != USB_MODE_HOST) { in usbd_req_re_enumerate()
|
/third_party/FreeBSD/sys/dev/usb/net/ |
D | if_cdce.c | 109 .usb_mode = USB_MODE_DUAL, /* both modes */ 122 .usb_mode = USB_MODE_DUAL, /* both modes */ 134 .usb_mode = USB_MODE_HOST, 146 .usb_mode = USB_MODE_DEVICE, 162 .usb_mode = USB_MODE_DUAL, /* both modes */ 175 .usb_mode = USB_MODE_DUAL, /* both modes */ 187 .usb_mode = USB_MODE_HOST, 199 .usb_mode = USB_MODE_DEVICE, 610 if (uaa->usb_mode == USB_MODE_DEVICE) { in cdce_attach()
|
D | if_urndis.c | 89 .usb_mode = USB_MODE_HOST, 104 .usb_mode = USB_MODE_HOST, 116 .usb_mode = USB_MODE_HOST,
|
D | if_axge.c | 333 if (uaa->usb_mode != USB_MODE_HOST) in axge_probe()
|
D | if_axe.c | 647 if (uaa->usb_mode != USB_MODE_HOST) in axe_probe()
|
/third_party/FreeBSD/stand/usb/ |
D | usb_busdma_loader.c | 526 if (xfer->flags_int.usb_mode == USB_MODE_DEVICE) { in usb_bdma_work_loop()
|
/third_party/FreeBSD/sys/compat/linuxkpi/common/src/ |
D | linux_usb.c | 205 if (uaa->usb_mode != USB_MODE_HOST) { in usb_linux_probe() 690 if (dev->flags.usb_mode != USB_MODE_HOST) { in usb_control_msg()
|
/third_party/FreeBSD/sys/dev/usb/input/ |
D | uhid.c | 721 if (uaa->usb_mode != USB_MODE_HOST) in uhid_probe()
|
/third_party/FreeBSD/sys/dev/usb/serial/ |
D | u3g.c | 658 if (uaa->usb_mode != USB_MODE_HOST) { in u3g_probe()
|
/third_party/FreeBSD/sys/dev/usb/storage/ |
D | umass.c | 906 if (uaa->usb_mode != USB_MODE_HOST) { in umass_probe()
|