swphy_validate_state(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

swphy_validate_state(9) πŸ’–

hii bestie, welcome to the Kernel API Manual page for swphy_validate_state(9) β€” yes, the manual name is folded right in here, cute and accounted for. This is the function that does a little vibe check on your software phy status. 🫢


🌸 NAME 🌸

swphy_validate_state β€” validate the software phy status.

✨ SYNOPSIS ✨

okay so here's the signature, literally copy-paste coded:

int swphy_validate_state (const struct fixed_phy_status *state );

πŸŽ€ ARGUMENTS πŸŽ€

  • state β€” software phy status. that's the whole argument, and it's the state we're checking. πŸŽ€

πŸ’… DESCRIPTION πŸ’…

This checks that the state stored in state can be represented in the emulated MII registers. no cap, that's the whole assignment. πŸ‘‘

Returns 0 if it can, otherwise returns -EINVAL. periodt. ✨

πŸ¦‹ SEE ALSO πŸ¦‹


okay bye bestie β€” this cutie is from source/version ./drivers/net/phy, dated October 2026, and the page is swphy_validate_state(9) πŸ’…βœ¨

πŸ“¦ where this page comes from