mxl86110_write_extended_reg(9)
π mxl86110_write_extended_reg(9) π
okay so you're in the Kernel API Manual bestie, and this page is literally all about one little function. grab a strawberry π and let's go.
β¨ NAME β¨
mxl86110_write_extended_reg β writes to a PHY's extended register. that's it, that's the vibe. π
π¦ SYNOPSIS π¦
int mxl86110_write_extended_reg (struct phy_device *phydev , u16 regnum
, u16 val );
likeβ¦ three args, one int coming back. main character signature honestly. β¨
π ARGUMENTS π
phydevβ pointer to the PHY device structure. yes bestie, the whole device. iconic.regnumβ the register number you wanna write to. pick your fave π―valβ the value going intoregnum. this is the payload, the moment, the reason we're all here π
πΈ DESCRIPTION πΈ
so this function writes to an extended register on the PHY, and the way it does that is the MaxLinear two-step access method using registers 0x1E/0x1F. two steps, no cap. π«Ά
and the part i'm obsessed with? it handles acquiring and releasing the MDIO bus lock internally. you don't gotta do anything, it's already done. lock, do the thing, unlock. responsible queen behavior πβ¨
β RETURN β
0 or a negative error code. that's the whole story. zero means slay, negative means π
π SEE ALSO π
- Kernel file
./drivers/net/phy/mxl-86110.cπ __mxl86110_write_extended_reg(9)__mxl86110_read_extended_reg(9)__mxl86110_modify_extended_reg(9)mxl86110_read_extended_reg(9)mxl86110_modify_extended_reg(9)mxl86110_get_wol(9)mxl86110_set_wol(9)mxl86110_synce_clk_cfg(9)mxl86110_broadcast_cfg(9)mxl86110_enable_led_activity_blink(9)mxl86110_config_rgmii_delay(9)mxl86110_config_init(9)mxl86111_probe(9)mxl86111_config_init(9)mxl86111_read_page(9)mxl86111_write_page(9)
literally the whole friend group, go read them all, iykyk π
ok final sign-off because we're fancy: this little baddie lives in./drivers/net/phy, dated October 2026, and the page ismxl86110_write_extended_reg(9). periodt. π πβ¨
π¦ 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