---
name: "usb_get_maximum_speed"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/usb_get_maximum_speed"
---

# usb\_get\_maximum\_speed(9)

Get maximum requested speed for a given USB controller.

## 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@users.sourceforge.net\>

Author.

## COPYRIGHT
