usb_get_maximum_speed(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… usb_get_maximum_speed πŸ’…

okay so bestie, welcome to the Kernel API Manual page for usb_get_maximum_speed β€” yes, that whole manual, we're doing this together ✨🫢.

✨ NAME ✨

usb_get_maximum_speed β€” Get maximum requested speed for a given USB controller. That's the whole vibe check, no cap πŸ’–.

🌸 SYNOPSIS 🌸

enum usb_device_speed usb_get_maximum_speed (struct device *dev );

πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” Pointer to the given USB controller device. That's it, that's the argument, slay 🫢.

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so here's the tea, bestie: the function gets the maximum speed string from property "maximum-speed", and returns the corresponding enum usb_device_speed. No cap, that's literally the whole bit β€” iconic behavior, honestly πŸ’…βœ¨.

πŸ’– SEE ALSO πŸ’–

Kernel file ./drivers/usb/common/common.c, plus this friend group of absolute legends:


k bye bestie β€” this page’s source/version is ./drivers/usb/common, dated October 2026 πŸ«ΆπŸ’–πŸŽ€.

πŸ“¦ where this page comes from