omap_control_phy_power(9)
π omap_control_phy_power(9) β like, the Kernel API Manual one, section 9, bestie π
okay so welcome to the group chat, this is the manual page for omap_control_phy_power, straight out of the Kernel API Manual, section 9 (kernel routines, iykyk). grab a strawberry π and let's get into it.
β¨ NAME β¨
omap_control_phy_power β power on/off the phy using control module reg
like literally that's the whole job. it turns the PHY on and it turns the PHY off, and it does it by poking the control module register. no cap. π
π¦ SYNOPSIS π¦
void omap_control_phy_power (struct device *dev , int on );
that's it, that's the whole function signature. returns void, so likeβ¦ it gives you nothing back. it just does things. main character energy fr fr π
πΈ ARGUMENTS πΈ
devβ the control module device. yes bestie, this is the one you're grabbing the control module register out of. it's astruct device *, so you know it's a real one.onβ0or1, based on powering on or off the PHY. that's the whole vibe check:1= on,0= off. don't overthink it, there are literally only two options and you have to pick one π
π₯ SEE ALSO π₯
- Kernel file
./drivers/phy/ti/phy-omap-control.cβ go read the source if you wanna see the whole thing, she's right there β¨ omap_control_pcie_pcs(9)omap_control_usb_host_mode(9)omap_control_usb_device_mode(9)omap_control_usb_set_sessionend(9)omap_control_usb_set_mode(9)
like the whole friend group of omap_control_* functions, honestly. go say hi to all of them π«Ά
warning bestie: theonargument only does anything sensible with0or1. it's not a "any number is fine" situation, it's a binary situation. be normal about it π
and that's the page!! this one lives under ./drivers/phy/ti and it's dated October 2026, from the Kernel API Manual β mwah, sending you all the kernel love, slay, periodt, go power a PHY responsibly π§ββοΈππ
π¦ 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