diff options
Diffstat (limited to 'include/linux/usb.h')
-rw-r--r-- | include/linux/usb.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/linux/usb.h b/include/linux/usb.h index 3d5cfa731680..f807479ef65b 100644 --- a/include/linux/usb.h +++ b/include/linux/usb.h | |||
@@ -467,6 +467,20 @@ static inline int usb_make_path (struct usb_device *dev, char *buf, | |||
467 | 467 | ||
468 | /*-------------------------------------------------------------------------*/ | 468 | /*-------------------------------------------------------------------------*/ |
469 | 469 | ||
470 | extern int usb_endpoint_dir_in(const struct usb_endpoint_descriptor *epd); | ||
471 | extern int usb_endpoint_dir_out(const struct usb_endpoint_descriptor *epd); | ||
472 | extern int usb_endpoint_xfer_bulk(const struct usb_endpoint_descriptor *epd); | ||
473 | extern int usb_endpoint_xfer_int(const struct usb_endpoint_descriptor *epd); | ||
474 | extern int usb_endpoint_xfer_isoc(const struct usb_endpoint_descriptor *epd); | ||
475 | extern int usb_endpoint_is_bulk_in(const struct usb_endpoint_descriptor *epd); | ||
476 | extern int usb_endpoint_is_bulk_out(const struct usb_endpoint_descriptor *epd); | ||
477 | extern int usb_endpoint_is_int_in(const struct usb_endpoint_descriptor *epd); | ||
478 | extern int usb_endpoint_is_int_out(const struct usb_endpoint_descriptor *epd); | ||
479 | extern int usb_endpoint_is_isoc_in(const struct usb_endpoint_descriptor *epd); | ||
480 | extern int usb_endpoint_is_isoc_out(const struct usb_endpoint_descriptor *epd); | ||
481 | |||
482 | /*-------------------------------------------------------------------------*/ | ||
483 | |||
470 | #define USB_DEVICE_ID_MATCH_DEVICE \ | 484 | #define USB_DEVICE_ID_MATCH_DEVICE \ |
471 | (USB_DEVICE_ID_MATCH_VENDOR | USB_DEVICE_ID_MATCH_PRODUCT) | 485 | (USB_DEVICE_ID_MATCH_VENDOR | USB_DEVICE_ID_MATCH_PRODUCT) |
472 | #define USB_DEVICE_ID_MATCH_DEV_RANGE \ | 486 | #define USB_DEVICE_ID_MATCH_DEV_RANGE \ |