ci_otg_role(9)
β¨ ci_otg_role(9) β Kernel API Manual β¨
okay bestie, welcome to ci_otg_role(9) from the Kernel API Manual π this one is short, sweet, and here to pick a role based on the ID pin state. slay.
π NAME π
ci_otg_role β pick role based on ID pin state π
π¦ SYNOPSIS π¦
enum ci_role ci_otg_role (struct ci_hdrc *ci );
πΈ ARGUMENTS πΈ
ciβ the controller π
π₯ SEE ALSO π₯
Kernel file ./drivers/usb/chipidea/otg.c is the place, iykyk, and these are the linked legends:
hw_read_otgsc(9)hw_write_otgsc(9)hw_wait_vbus_lower_bsv(9)ci_otg_work(9)ci_hdrc_otg_init(9)ci_hdrc_otg_destroy(9)
mwah π this page lives under ./drivers/usb/chipidea, stamped October 2026, and the whole vibe is literally ci_otg_role(9) π«Άβ¨
π¦ 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