__mxl86110_...extended_reg(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’œ __mxl86110_...extended_reg β€” NAME

okay bestie, welcome to section 9 of the Kernel API Manual ✨ and today's main character is __mxl86110_write_extended_reg β€” the function that writes to a PHY's extended register. that's it, that's the vibe. no cap πŸ’…


πŸ¦‹ SYNOPSIS

int __mxl86110_write_extended_reg (struct phy_device *phydev , u16
regnum , u16 val );

like, look at her. three args, one int coming back. iconic. πŸŽ€


🌸 ARGUMENTS

  • phydev β€” pointer to the PHY device structure. yes bestie, the actual PHY. she's the whole point 🫢
  • regnum β€” the register number you're writing to. the address, the destination, the place we're going πŸ“
  • val β€” the value you're writing into regnum. the payload. the moment. the content πŸ’–

✨ DESCRIPTION

so like β€” this is the unlocked version of mxl86110_write_extended_reg. same energy, but no lock-taking of its own, iykyk πŸ”“


πŸ‘‘ NOTE

⚠️ real talk: this function assumes the caller already holds the MDIO bus lock or otherwise has exclusive access to the PHY. it does not check for you. it does not grab it for you. that's your job, bestie 😭 do not come for her if you skipped that part.

πŸ”₯ RETURN

  • 0 or negative error code ✨ that's the whole range, no in-between, no drama πŸ’€

🌈 SEE ALSO

the kernel file lives right here: ./drivers/net/phy/mxl-86110.c πŸ“

and the whole friend group, in the order the page lists them:

like, the entire extended-register squad plus the whole 86111 crew πŸ§šβ€β™€οΈ go say hi.


okay that's the page!! sign-off time πŸŽ€ this cutie lives in ./drivers/net/phy, the page itself is dated October 2026, and it's filed under the Kernel API Manual as __mxl86110_...extended_reg(9). periodt. go hold that MDIO lock πŸ’œπŸ¦‹

πŸ“¦ where this page comes from