/third_party/FreeBSD/sys/dev/usb/controller/ |
D | ehci_pci.c | 60 uint32_t usb_mode; in hiehci_post_reset() local 63 usb_mode = EOREAD4(sc, EHCI_USBMODE_NOLPM); in hiehci_post_reset() 64 usb_mode &= ~EHCI_UM_CM; in hiehci_post_reset() 65 usb_mode |= EHCI_UM_CM_HOST; in hiehci_post_reset() 66 EOWRITE4(sc, EHCI_USBMODE_NOLPM, usb_mode); in hiehci_post_reset()
|
D | xhci.c | 3953 ep, udev->address, edesc->bEndpointAddress, udev->flags.usb_mode); in xhci_ep_init() 3983 if (udev->flags.usb_mode != USB_MODE_HOST) { in xhci_ep_clear_stall()
|
D | ehci.c | 3701 edesc->bEndpointAddress, udev->flags.usb_mode,
|
/third_party/FreeBSD/sys/dev/usb/ |
D | usb_device.c | 187 if ((setup->usb_mode != USB_MODE_DUAL) && in usbd_get_endpoint() 188 (udev->flags.usb_mode != setup->usb_mode)) { in usbd_get_endpoint() 197 ea_val = (udev->flags.usb_mode == USB_MODE_DEVICE) ? in usbd_get_endpoint() 201 ea_val = (udev->flags.usb_mode == USB_MODE_DEVICE) ? in usbd_get_endpoint() 458 if (udev->flags.usb_mode != USB_MODE_DEVICE) in usb_unconfigure() 511 if (udev->flags.usb_mode == USB_MODE_DEVICE) { in usbd_set_config_index() 531 (udev->flags.usb_mode == USB_MODE_HOST)) { in usbd_set_config_index() 569 if (udev->flags.usb_mode == USB_MODE_HOST) { in usbd_set_config_index() 1224 uaa->usb_mode = udev->flags.usb_mode; in usb_init_attach_arg() 1564 udev->flags.usb_mode = mode; in usb_alloc_device() [all …]
|
D | usb_hub.c | 135 .usb_mode = USB_MODE_HOST, 275 (child->flags.usb_mode != USB_MODE_HOST) || in uhub_tt_buffer_reset_async_locked() 398 (child->flags.usb_mode == USB_MODE_HOST) && in uhub_count_active_host_ports() 413 if (child->flags.usb_mode != USB_MODE_HOST) in uhub_explore_handle_re_enumerate() 538 if (child->flags.usb_mode == USB_MODE_DEVICE) in uhub_explore_sub() 868 mode = udev->parent_hub->flags.usb_mode; in uhub_reattach_port() 1004 else if (child->flags.usb_mode == USB_MODE_DEVICE) in uhub_suspend_resume_port() 1175 if (uaa->usb_mode != USB_MODE_HOST) in uhub_probe() 1821 (res.udev->flags.usb_mode == USB_MODE_HOST) ? "host" : "device", in uhub_child_pnpinfo_string() 1991 if (udev->flags.usb_mode != USB_MODE_HOST) in usb_hs_bandwidth_alloc() [all …]
|
D | usb_transfer.c | 56 .usb_mode = USB_MODE_DUAL, /* both modes */ 69 .usb_mode = USB_MODE_HOST, 82 .usb_mode = USB_MODE_DUAL, /* both modes */ 95 .usb_mode = USB_MODE_HOST, 119 if (xfer->flags_int.usb_mode == USB_MODE_DEVICE) in usb_request_callback() 366 xfer->flags_int.usb_mode = parm->udev->flags.usb_mode; in usbd_transfer_setup_sub() 1021 if ((setup->usb_mode != USB_MODE_DUAL) && in usbd_transfer_setup() 1022 (setup->usb_mode != udev->flags.usb_mode)) in usbd_transfer_setup() 1476 if (xfer->flags_int.usb_mode == USB_MODE_DEVICE) { in usbd_setup_ctrl_transfer() 1494 if (xfer->flags_int.usb_mode == USB_MODE_DEVICE) { in usbd_setup_ctrl_transfer() [all …]
|
D | usb_core.h | 39 #define USB_GET_DATA_ISREAD(xfer) ((xfer)->flags_int.usb_mode == \ 90 enum usb_hc_mode usb_mode; /* shadow copy of "udev->usb_mode" */ member
|
D | usb_generic.c | 198 usb_config[1].usb_mode = USB_MODE_HOST; in ugen_open_pipe_write() 206 usb_config[0].usb_mode = USB_MODE_DUAL; /* both modes */ in ugen_open_pipe_write() 267 usb_config[1].usb_mode = USB_MODE_HOST; in ugen_open_pipe_read() 275 usb_config[0].usb_mode = USB_MODE_DUAL; /* both modes */ in ugen_open_pipe_read() 558 if (f->udev->flags.usb_mode != USB_MODE_HOST) { in ugen_set_config() 582 if (f->udev->flags.usb_mode != USB_MODE_HOST) { in ugen_set_interface() 797 di->udi_mode = udev->flags.usb_mode; in ugen_fill_deviceinfo() 859 if (udev->flags.usb_mode != USB_MODE_HOST) { in ugen_re_enumerate() 1472 usb_config[0].usb_mode = USB_MODE_DUAL; /* both modes */ in ugen_ioctl() 1483 if (f->udev->flags.usb_mode != USB_MODE_HOST) { in ugen_ioctl() [all …]
|
D | usb_hub.h | 38 enum usb_hc_mode usb_mode; /* host or device mode */ member
|
D | usbdi.h | 227 enum usb_hc_mode usb_mode; /* host or device mode */ member 389 enum usb_hc_mode usb_mode; /* host or device mode */ member
|
D | usb_device.h | 87 enum usb_hc_mode usb_mode; /* host or device mode */ member
|
D | usb_request.c | 319 if (udev->flags.usb_mode == USB_MODE_DEVICE) in usbd_get_hr_func() 2020 if (udev->flags.usb_mode != USB_MODE_HOST) { in usbd_req_re_enumerate()
|
D | usb_dev.c | 573 if (udev->flags.usb_mode == USB_MODE_HOST) { in usb_dev_get_ep() 579 if (udev->flags.usb_mode == USB_MODE_HOST) { in usb_dev_get_ep()
|
/third_party/FreeBSD/sys/dev/usb/net/ |
D | if_cdce.c | 108 .usb_mode = USB_MODE_DUAL, /* both modes */ 121 .usb_mode = USB_MODE_DUAL, /* both modes */ 133 .usb_mode = USB_MODE_HOST, 145 .usb_mode = USB_MODE_DEVICE, 161 .usb_mode = USB_MODE_DUAL, /* both modes */ 174 .usb_mode = USB_MODE_DUAL, /* both modes */ 186 .usb_mode = USB_MODE_HOST, 198 .usb_mode = USB_MODE_DEVICE, 609 if (uaa->usb_mode == USB_MODE_DEVICE) { in cdce_attach()
|
D | if_urndis.c | 88 .usb_mode = USB_MODE_HOST, 103 .usb_mode = USB_MODE_HOST, 115 .usb_mode = USB_MODE_HOST,
|
D | if_axge.c | 332 if (uaa->usb_mode != USB_MODE_HOST) in axge_probe()
|
D | if_axe.c | 645 if (uaa->usb_mode != USB_MODE_HOST) in axe_probe()
|
/third_party/FreeBSD/stand/usb/ |
D | usb_busdma_loader.c | 525 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 | 204 if (uaa->usb_mode != USB_MODE_HOST) { in usb_linux_probe() 689 if (dev->flags.usb_mode != USB_MODE_HOST) { in usb_control_msg()
|
/third_party/FreeBSD/sys/dev/usb/input/ |
D | uhid.c | 719 if (uaa->usb_mode != USB_MODE_HOST) in uhid_probe()
|
/third_party/FreeBSD/sys/dev/usb/serial/ |
D | u3g.c | 656 if (uaa->usb_mode != USB_MODE_HOST) { in u3g_probe()
|
/third_party/FreeBSD/sys/dev/usb/storage/ |
D | umass.c | 902 if (uaa->usb_mode != USB_MODE_HOST) { in umass_probe()
|