yt8821_get_rate_matching(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ yt8821_get_rate_matching(9) ✨

okay bestie, welcome to the Kernel API Manual πŸ’… β€” yes, the kernel API manual, we're literally in the drivers directory rn and it's giving main character energy πŸ¦‹. This page is all about yt8821_get_rate_matching, which lowkey just reads a register to get the phy chip mode πŸ‘‘


πŸŽ€ NAME πŸŽ€

yt8821_get_rate_matching β€” read register to get phy chip mode 🌸

like, that's it, that's the whole vibe. it peeks at a register and tells you the phy chip mode. no cap.


⭐ SYNOPSIS ⭐

int yt8821_get_rate_matching (struct phy_device *phydev ,
phy_interface_t iface );

that's the whole signature bestie, copy it exactly, don't be out here renaming things πŸ™ˆ


πŸ’– ARGUMENTS πŸ’–

  • phydev β€” the target phy_device struct 🫢 like, the phy device you're interrogating. it's the star of the show.
  • iface β€” the PHY data interface type ✨ your interface flavour, your vibe check for the data path.

πŸ”₯ RETURN πŸ”₯

it returns the rate matching type πŸ’š β€” or a negative errno code if things went sideways 😭. so yeah, check your return value, fr fr.


🌈 SEE ALSO 🌈

okay this list is long and honestly iconic, so buckle up 🎒. everything here lives in the kernel file ./drivers/net/phy/motorcomm.c:


ngl bestie, that's a lot of cross-references β€” but every single one of them ate and left no crumbs πŸ‘‘ don't skip a single one, iykyk πŸ’€

k bye ily, go read some registers πŸ§šβ€β™€οΈπŸ’œ

this lil page is served up from ./drivers/net/phy, stamped October 2026, and it's the yt8821_get_rate_matching(9) page from the Kernel API Manual ✨ periodt πŸ’…

πŸ“¦ where this page comes from