genphy_c45_plca_get_status(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… genphy_c45_plca_get_status β€” a Kernel API Manual moment

okay so bestie, welcome to the Kernel API Manual ✨ this one's a function page, it lives in the kernel's genphy C45 fam, and no cap it's actually kind of a vibe. let's get into it 🫢


🌸 NAME 🌸

genphy_c45_plca_get_status β€” literally just get PLCA status from standard registers πŸ’… that's the whole job, she's a getter, she gets.


πŸ¦‹ SYNOPSIS πŸ¦‹

int genphy_c45_plca_get_status (struct phy_device *phydev , struct
phy_plca_status *plca_st );

so she takes two args and hands you back an int, periodt πŸ’–


πŸŽ€ ARGUMENTS πŸŽ€

  • phydev β€” the target phy_device struct, aka the PHY you're clocking in at 🧚 this is your main character.
  • plca_st β€” the output structure where the PLCA status gets stored 🌸 like, she writes into this, that's the whole point.

πŸ”₯ DESCRIPTION πŸ”₯

okay so here's the tea β˜• β€” if the PHY complies to the Open Alliance TC14 10BASE-T1S PLCA Management Registers specifications, then this function is the one you call to retrieve the current PLCA status information from the standard registers in MMD 31 ✨

that's the whole bit. no extra lore, she just reads MMD 31 and gives you the status. the way that's so clean of her honestly πŸ‘‘

and yeah β€” that "if the PHY complies" is doing real work, bestie. if your PHY isn't down with the Open Alliance TC14 10BASE-T1S PLCA Management Registers spec, this isn't the function for you πŸ™ˆ

⭐ SEE ALSO ⭐

the whole friend group showed up for this one, we love a supportive squad πŸ’œ β€” kernel file ./drivers/net/phy/phy-c45.c, plus:

like, that's the whole group chat, everyone's here πŸŒˆπŸ’–


okay that's the page bestie, go forth and read your MMD 31 status ✨

and yeah, source = ./drivers/net/phy, dated October 2026 β€” that's the sign-off, mwah πŸ’‹ πŸŽ€ no cap, see you in the next manpage πŸ¦‹

πŸ“¦ where this page comes from