usb_get_maximum_speed(9) - phpMan
USB_GET_MAXIMUM_SPEE(9) Kernel Mode Gadget API USB_GET_MAXIMUM_SPEE(9)
NAME
usb_get_maximum_speed - Get maximum requested speed for a given USB controller.
SYNOPSIS
enum usb_device_speed usb_get_maximum_speed(struct device * dev);
ARGUMENTS
dev
Pointer to the given USB controller device
DESCRIPTION
The function gets the maximum speed string from property “maximum-speed”, and returns the
corresponding enum usb_device_speed.
AUTHOR
David Brownell <dbrownell AT users.net>
Author.
COPYRIGHT
Kernel Hackers Manual 4.8. January 2017 USB_GET_MAXIMUM_SPEE(9)
|