diff options
Diffstat (limited to 'include/linux/usb.h')
-rw-r--r-- | include/linux/usb.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/linux/usb.h b/include/linux/usb.h index fbbe974661f2..0173597e59aa 100644 --- a/include/linux/usb.h +++ b/include/linux/usb.h | |||
@@ -609,6 +609,10 @@ struct usb3_lpm_parameters { | |||
609 | * to keep track of the number of functions that require USB 3.0 Link Power | 609 | * to keep track of the number of functions that require USB 3.0 Link Power |
610 | * Management to be disabled for this usb_device. This count should only | 610 | * Management to be disabled for this usb_device. This count should only |
611 | * be manipulated by those functions, with the bandwidth_mutex is held. | 611 | * be manipulated by those functions, with the bandwidth_mutex is held. |
612 | * @hub_delay: cached value consisting of: | ||
613 | * parent->hub_delay + wHubDelay + tTPTransmissionDelay (40ns) | ||
614 | * | ||
615 | * Will be used as wValue for SetIsochDelay requests. | ||
612 | * | 616 | * |
613 | * Notes: | 617 | * Notes: |
614 | * Usbcore drivers should not set usbdev->state directly. Instead use | 618 | * Usbcore drivers should not set usbdev->state directly. Instead use |
@@ -689,6 +693,8 @@ struct usb_device { | |||
689 | struct usb3_lpm_parameters u1_params; | 693 | struct usb3_lpm_parameters u1_params; |
690 | struct usb3_lpm_parameters u2_params; | 694 | struct usb3_lpm_parameters u2_params; |
691 | unsigned lpm_disable_count; | 695 | unsigned lpm_disable_count; |
696 | |||
697 | u16 hub_delay; | ||
692 | }; | 698 | }; |
693 | #define to_usb_device(d) container_of(d, struct usb_device, dev) | 699 | #define to_usb_device(d) container_of(d, struct usb_device, dev) |
694 | 700 | ||
@@ -1293,7 +1299,6 @@ extern int usb_disabled(void); | |||
1293 | #define URB_ISO_ASAP 0x0002 /* iso-only; use the first unexpired | 1299 | #define URB_ISO_ASAP 0x0002 /* iso-only; use the first unexpired |
1294 | * slot in the schedule */ | 1300 | * slot in the schedule */ |
1295 | #define URB_NO_TRANSFER_DMA_MAP 0x0004 /* urb->transfer_dma valid on submit */ | 1301 | #define URB_NO_TRANSFER_DMA_MAP 0x0004 /* urb->transfer_dma valid on submit */ |
1296 | #define URB_NO_FSBR 0x0020 /* UHCI-specific */ | ||
1297 | #define URB_ZERO_PACKET 0x0040 /* Finish bulk OUT with short packet */ | 1302 | #define URB_ZERO_PACKET 0x0040 /* Finish bulk OUT with short packet */ |
1298 | #define URB_NO_INTERRUPT 0x0080 /* HINT: no non-error interrupt | 1303 | #define URB_NO_INTERRUPT 0x0080 /* HINT: no non-error interrupt |
1299 | * needed */ | 1304 | * needed */ |