cdns_role_get(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay so this page is cdns_role_get(9) from the Kernel API Manual, and it does exactly one iconic thing: get the current role of the controller. periodt πŸ’…

🌸 SYNOPSIS 🌸

enum usb_role cdns_role_get (struct usb_role_switch *sw );

πŸŽ€ ARGUMENTS πŸŽ€

  • sw β€” pointer to USB role switch structure. yep, that's the bestie we're handing over 🫢

πŸ’– DESCRIPTION πŸ’–

Returns role. that's it, that's the vibe ✨ no cap, it literally returns the role 😌

πŸ¦‹ SEE ALSO πŸ¦‹


and that's the whole page, bestie 🌈 source/version: ./drivers/usb/cdns3, dated October 2026. bye and slay πŸ’œ

πŸ“¦ where this page comes from