usb_get_maximum_ssp_rate(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… usb_get_maximum_ssp_rate(9)

okay bestie, welcome to the Kernel API Manual β€” yes, the big one. this page is all about usb_get_maximum_ssp_rate(9), and no cap it's a little niche but it's also kind of iconic once you get it. let's go πŸŽ€


✨ NAME ✨

usb_get_maximum_ssp_rate β€” get the signaling rate generation and the lane count of a device that's SuperSpeed Plus capable πŸ¦‹

like, both things. at once. she's efficient.


🌸 SYNOPSIS 🌸

enum usb_ssp_rate usb_get_maximum_ssp_rate (struct device *dev );

one function, one argument, returns an enum usb_ssp_rate. clean. minimal. main character energy πŸ”₯


πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” pointer to the given USB controller device πŸ’– that's it, that's the whole input.

πŸ’« DESCRIPTION πŸ’«

so here's the vibe: if the string that comes from the "maximum-speed" property is shaped like super-speed-plus-genXxY β€” you know the format, gen-something, times-something β€” then the function returns the corresponding enum usb_ssp_rate. slay. that's literally it. ✨

gen and lane count, matched up and handed back to you as an enum. iykyk πŸ’…


πŸ‘‘ SEE ALSO πŸ‘‘

kernel file ./drivers/usb/common/common.c β€” and honestly the whole friend group:

all twelve of them, no skips, go read 'em 🫢


πŸ’€ reminder bestie: the source lives under ./drivers/usb/common, this is the Kernel API Manual, and the page is dated October 2026. that's the whole footer, folded in cute-style so nothing gets lost. periodt. πŸŒˆβ­πŸ“
πŸ“¦ where this page comes from