__mdiobus_c45_write(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… __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 β€” the mii_bus struct 🚌
  • addr β€” the phy address 🌸
  • devad β€” device address to read πŸ‘€
  • regnum β€” register number to write πŸ“
  • val β€” value to write to regnum πŸ’Œ

🌸 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:


later, bestie β€” source/version: ./drivers/net/phy, date: October 2026. πŸ’–βœ¨

πŸ“¦ where this page comes from