usb_get_maximum_speed(9)
π 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:
usb_ep_type_string(9)usb_otg_state_string(9)usb_speed_string(9)usb_get_maximum_ssp_rate(9)usb_state_string(9)usb_get_dr_mode_from_string(9)usb_get_role_switch_default_mode(9)usb_decode_interval(9)of_usb_get_dr_mode_by_phy(9)of_usb_host_tpl_support(9)of_usb_update_otg_caps(9)usb_of_get_companion_dev(9)
k bye bestie β this pageβs source/version is ./drivers/usb/common, dated October 2026 π«Άππ.
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms