phy_package_lock(9)
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 π
- Kernel file
./drivers/net/phy/phy_package.cstruct phy_package_shared(9)phy_package_unlock(9)__phy_package_read_mmd(9)__phy_package_write_mmd(9)phy_package_join(9)of_phy_package_join(9)phy_package_leave(9)devm_phy_package_join(9)devm_of_phy_package_join(9)
mwah π β source/version: ./drivers/net/phy; date: October 2026. π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms