cdns_role_get(9)
β¨ 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 π¦
- Kernel file
./drivers/usb/cdns3/core.c cdns_core_init_role(9)cdns_hw_role_state_machine(9)cdns_hw_role_switch(9)cdns_role_set(9)cdns_wakeup_irq(9)cdns_init(9)cdns_remove(9)
and that's the whole page, bestie π source/version: ./drivers/usb/cdns3, dated October 2026. bye and slay π
π¦ 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