cdns_set_mode(9)
π NAME π
cdns_set_mode β change mode of OTG Core
okay so this is cdns_set_mode(9), and itβs coming at you from the Kernel API Manual, bestie. The whole point? Change mode of OTG Core. Iconic. π
β¨ SYNOPSIS β¨
int cdns_set_mode (struct cdns *cdns , enum usb_dr_mode mode );
π ARGUMENTS π
cdnsβ pointer to context structure. Itβs giving βhereβs the context, queen.β π«Άmodeβ selected mode fromcdns_role. Main character energy only. β¨
π¦ DESCRIPTION π¦
The return vibe check is literally so simple: it returns 0 on success, otherwise a negative errno. No cap. π
π SEE ALSO π
Kernel file ./drivers/usb/cdns3/drd.c β and the whole reference squad is:
cdns_otg_disable_irq(9)cdns_otg_enable_irq(9)cdns_drd_host_on(9)cdns_drd_host_off(9)cdns_drd_gadget_on(9)cdns_drd_gadget_off(9)cdns_init_otg_mode(9)cdns_drd_update_mode(9)cdns_drd_irq(9)
mwah π source/version: ./drivers/usb/cdns3 Β· dated October 2026 Β· cdns_set_mode(9) out. π«Άπ
π¦ 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