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

struct device * 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.