__mdiobus_c45_write(9)
π
__mdiobus_c45_write(9) π
okay so bestie, this is the Kernel API Manual page for __mdiobus_c45_write(9) β it's giving unlocked mdiobus_write energy, and we are gonna get you fluent in it. β¨ No cap, every detail stays.
π NAME π
__mdiobus_c45_write β unlocked version of the mdiobus_write function. periodt. π«Ά
β¨ SYNOPSIS β¨
int __mdiobus_c45_write (struct mii_bus *bus , int addr , int devad ,
u32 regnum , u16 val );
π ARGUMENTS π
busβ themii_busstruct πaddrβ the phy address πΈdevadβ device address to read πregnumβ register number to write πvalβ value to write toregnumπ
πΈ RETURN πΈ
Zero if successful, negative error code on failure. so either 0 and slay, or a negative error code and we cry. π
π¦ DESCRIPTION π¦
Write a MDIO bus register. Caller must hold the mdio bus lock. π
π NOTE π
π¨ MUST NOT be called from interrupt context. π¨
π SEE ALSO π
Kernel file ./drivers/net/phy/mdio_bus.c β and these besties:
__mdiobus_read(9)__mdiobus_write(9)__mdiobus_modify_changed(9)__mdiobus_c45_read(9)__mdiobus_c45_modify_changed(9)mdiobus_read_nested(9)mdiobus_read(9)mdiobus_c45_read(9)mdiobus_c45_read_nested(9)mdiobus_write_nested(9)mdiobus_write(9)mdiobus_c45_write(9)mdiobus_c45_write_nested(9)mdiobus_modify(9)mdiobus_c45_modify(9)mdiobus_modify_changed(9)mdiobus_c45_modify_changed(9)
later, bestie β source/version: ./drivers/net/phy, date: October 2026. πβ¨
π¦ 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