omap_control_phy_power(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 a struct device *, so you know it's a real one.
  • on β€” 0 or 1, 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 πŸ”₯

like the whole friend group of omap_control_* functions, honestly. go say hi to all of them 🫢


warning bestie: the on argument only does anything sensible with 0 or 1. 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