omap_control_usb_set_mode(9)
π¦ NAME π¦
hiii bestie, welcome to the Kernel API Manual page for omap_control_usb_set_mode(9) β yes, the whole title is a mouthful, but we're gonna slay it together π
omap_control_usb_set_modeβ calls to functions to set USB in one of host mode or device mode or to denote disconnected state.
β¨ SYNOPSIS β¨
the signature, exactly as it is, no cap:
void omap_control_usb_set_mode (struct device *dev , enum
omap_control_usb_mode mode );
π ARGUMENTS π
devβ the control module device, aka the hardware buddy in question π«Άmodeβ the mode to which usb should be configured πΈ
π DESCRIPTION π
okay so here's the vibe: this is an API to write to the mailbox register to notify the usb core that a usb device has been connected β¨
like, that's literally its whole main-character job β it writes to the mailbox register and lets the usb core know a usb device has been connected. iconic behavior, honestly π
π SEE ALSO π
- Kernel file
./drivers/phy/ti/phy-omap-control.c omap_control_pcie_pcs(9)omap_control_phy_power(9)omap_control_usb_host_mode(9)omap_control_usb_device_mode(9)omap_control_usb_set_sessionend(9)
kisses bestie π β this page comes from ./drivers/phy/ti, dated October 2026, and it's omap_control_usb_set_mode(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