dwc3_gadget_link_string(9)
β¨ dwc3_gadget_link_string β¨
okay so bestie, welcome to the Kernel API Manual π
this one's a tiny little function from the ./drivers/usb/dwc3 corner of the kernel and it's literally just here to give you a name for a link state. iconic behavior honestly π
πΈ NAME πΈ
dwc3_gadget_link_string β returns link name π«Ά
β¨ SYNOPSIS β¨
const char * dwc3_gadget_link_string (enum dwc3_link_state link_state );
π¦ ARGUMENTS π¦
link_stateβ the link state code, aka the little number you're handing over so it can tell you what it's called π
π SEE ALSO π
Kernel file ./drivers/usb/dwc3/debug.h β and while you're there, go say hi to the whole friend group π«Ά:
dwc3_mode_string(9)dwc3_gadget_ep_cmd_string(9)dwc3_gadget_generic_cmd_string(9)dwc3_gadget_hs_link_string(9)dwc3_trb_type_string(9)dwc3_gadget_event_string(9)dwc3_ep_event_string(9)dwc3_gadget_event_type_string(9)
no cap, that's genuinely the whole page β short and sweet, just like it should be πβ¨
and that's a wrap, bestie! this little gem lives in ./drivers/usb/dwc3, it's dated October 2026, and it came to you straight from the Kernel API Manual. slay, go forth and string-ify those link states ππ
π¦ 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