Lines Matching defs:device

79 	device_t sc_dev;		/* base device */
81 struct usb_device *sc_udev; /* USB device */
248 * This function queues a TT reset for the given USB device and endpoint.
412 /* check if device should be re-enumerated */
442 /* get the device unconfigured */
447 "device (ignored)\n");
512 /* get device assosiated with the given port */
536 /* start control transfer, if device mode */
686 * Free USB device and all subdevices, if any.
710 * during device identification process and it needs to wait for a period of
711 * time to ensure that the device is ready
741 /* check if the device is in Host Mode */
760 /* wait for maximum device power up time */
785 "device vanished: change %#x status %#x\n",
798 * Figure out the device speed
862 * Figure out the device mode
878 DPRINTFN(0, "could not allocate new device\n");
886 * Free USB device and all subdevices, if any.
899 DPRINTFN(0, "device problem (%s), "
1073 /* check if device is suspended */
1118 * Ignore the port error if the device
1270 device_t device;
1273 if (!sc || !uaa || !uaa->device)
1276 udev = uaa->device;
1477 * Get device and config descriptors (see attach code)
1487 * if device connected
1493 * proceed with device attachment
1559 device = devclass_get_device(devclass_find("usbus"), 0);
1560 if (device == NULL) {
1561 device_printf(dev, "Can't find device of class usbus\n");
1564 parent_info.nameunit = device_get_nameunit(device);
1652 * Free USB device and all subdevices, if any.
1759 DPRINTF("device not on hub\n");
1800 DPRINTF("device not on hub\n");
1821 (res.udev->flags.usb_mode == USB_MODE_HOST) ? "host" : "device",
2306 * Make relationships to our new device
2435 * properly suspended or resumed according to the device transfer
2452 * wakeup the USB device associated with the given USB transfer, if
2533 * This function returns non-zero if the current device should wake up.
2579 * The root HUB device is never suspended
2625 /* we found a non-Root-Hub USB device */
2719 * signalling to get an USB device out of the suspended state.
2778 /* resume USB device on the USB controller */
2782 /* set that this device is now resumed */
2817 DPRINTFN(0, "Clearing device "
2828 * signalling to get an USB device into the suspended state.
2854 /* check if the current device is a HUB */
2880 /* allow device to do remote wakeup */
2883 DPRINTFN(0, "Setting device "
2900 * Set that this device is suspended. This variable
2910 /* allow device to do remote wakeup */
2913 DPRINTFN(0, "Setting device "
2949 /* suspend device on the USB controller */
2984 * USB device.
3032 * This function starts re-enumeration of the given USB device. This