stmmac_mdio_write_c22(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME

stmmac_mdio_write_c22 β€” bestie, this is the c22 (clause 22, the O.G. MDIO vibe) write hook for the stmmac driver. The manpage gives us literally zero extra prose here, so we're just gonna say it with our chest: it's the function that pushes data into an MII register. Slay. ✨


πŸŽ€ SYNOPSIS

int stmmac_mdio_write_c22 (struct mii_bus *bus , int phyaddr , int
phyreg , u16 phydata );

That's the whole signature, no cap. Four args, one int coming back atcha. 🫢


🌸 ARGUMENTS

  • bus β€” points to the mii_bus structure πŸ’– like, this is the bus we're doing the writing on, periodt.
  • phyaddr β€” MII addr 🌈 the address of the PHY we're talking to. Lowkey important.
  • phyreg β€” MII reg πŸŽ€ which register inside that PHY is getting the goods.
  • phydata β€” phy data ✨ the actual u16 payload. This is the moment. The main character.

πŸ¦‹ DESCRIPTION

okay so, real talk: it writes the data into the MII register from within the device. πŸ’… That's it, that's the whole description, and honestly the source said it best so we're keeping it exactly. The data goes in, the register gets it, the device does its thing. Iconic behaviour, fr fr. πŸ”₯


πŸ‘‘ SEE ALSO

like the whole stmmac_mdio friend group, we love a supportive squad πŸ«ΆπŸ’œ


ngl, if you came here looking for a 40-flag options list, this page is not that girl β€” the original had no options section and neither do we. Facts only, bestie. πŸ’€

that's a wrap! 🌸 brought to you by ./drivers/net/ethernet/stmicro... vibes, dated October 2026, and yes we're still serving stmmac_mdio_write_c22(9) energy. mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from