.. | .. |
---|
285 | 285 | #define USB_MAXINTERFACES 32 |
---|
286 | 286 | #define USB_MAXIADS (USB_MAXINTERFACES/2) |
---|
287 | 287 | |
---|
| 288 | +bool usb_check_bulk_endpoints( |
---|
| 289 | + const struct usb_interface *intf, const u8 *ep_addrs); |
---|
| 290 | +bool usb_check_int_endpoints( |
---|
| 291 | + const struct usb_interface *intf, const u8 *ep_addrs); |
---|
| 292 | + |
---|
288 | 293 | /* |
---|
289 | 294 | * USB Resume Timer: Every Host controller driver should drive the resume |
---|
290 | 295 | * signalling on the bus for the amount of time defined by this macro. |
---|
.. | .. |
---|
773 | 778 | extern int usb_acpi_set_power_state(struct usb_device *hdev, int index, |
---|
774 | 779 | bool enable); |
---|
775 | 780 | extern bool usb_acpi_power_manageable(struct usb_device *hdev, int index); |
---|
| 781 | +extern int usb_acpi_port_lpm_incapable(struct usb_device *hdev, int index); |
---|
776 | 782 | #else |
---|
777 | 783 | static inline int usb_acpi_set_power_state(struct usb_device *hdev, int index, |
---|
778 | 784 | bool enable) { return 0; } |
---|
779 | 785 | static inline bool usb_acpi_power_manageable(struct usb_device *hdev, int index) |
---|
780 | 786 | { return true; } |
---|
| 787 | +static inline int usb_acpi_port_lpm_incapable(struct usb_device *hdev, int index) |
---|
| 788 | + { return 0; } |
---|
781 | 789 | #endif |
---|
782 | 790 | |
---|
783 | 791 | /* USB autosuspend and autoresume */ |
---|