phy_package_lock(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

phy_package_lock(9) πŸ’…

okay bestie, welcome to the Kernel API Manual β€” this is the page for phy_package_lock, and it’s giving β€œgrab the PHY package lock” energy. no cap. πŸ¦‹


🌸 NAME 🌸

phy_package_lock β€” acquire the PHY package lock πŸ”

✨ SYNOPSIS ✨

void phy_package_lock (struct phy_device *phydev );

πŸŽ€ ARGUMENTS πŸŽ€

  • phydev β€” the PHY device that has joined the package. that’s the one you’re passing in, bestie 🫢

πŸ’– DESCRIPTION πŸ’–

This is the move when you need to serialize access to package-private data β€” like, make it a one-at-a-time situation instead of a whole group chat talking over each other. πŸ—£οΈβœ¨

When you’re done, release the lock with phy_package_unlock. literally that’s the whole ritual. πŸ’…

πŸ‘‘ SEE ALSO πŸ‘‘

mwah πŸ’‹ β€” source/version: ./drivers/net/phy; date: October 2026. πŸŽ€

πŸ“¦ where this page comes from