__mxl86110_m...extended_reg(9)
okay bestie, welcome to the __mxl86110_m...extended_reg(9) page from the Kernel API Manual β yes, the title is a whole mouthful π but weβre here and weβre slaying π
πΈ NAME πΈ
__mxl86110_modify_extended_reg β modify bits of a PHYβs extended register
β¨ SYNOPSIS β¨
int __mxl86110_modify_extended_reg (struct phy_device *phydev , u16
regnum , u16 mask , u16 set );
π ARGUMENTS π
phydevβ pointer to the PHY device structure. Itβs the PHY bestie weβre working with π«Άregnumβ register number to write. The exact extended register youβre aiming at.maskβ bit mask of bits to clear. These are the bits getting turned off.setβ bit mask of bits to set. These are the bits getting turned on.
π NOTE π
the formula is literally:
register value = (old register value & ~mask) | set.
Also, big caveat, no cap: this function assumes the caller already holds the MDIO bus lock or otherwise has exclusive access to the PHY. So yeah, that access situation has to be handled before you go modifying bits π
π₯ RETURN π₯
0 or negative error code. Thatβs the whole vibe check β zero or a negative error code.
π¦ SEE ALSO π¦
- Kernel file
./drivers/net/phy/mxl-86110.c __mxl86110_write_extended_reg(9)__mxl86110_read_extended_reg(9)mxl86110_write_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)
and thatβs the page, bestie π«Ά β source/version and date vibes: ./drivers/net/phy Β· October 2026 Β· filed under __mxl86110_m...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