ice_is_64b_phy_reg_eth56g(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ice_is_64b_phy_reg_eth56g β€” a Kernel API Manual moment (section 9, bestie)

okay so real talk: this is the ice_is_64b_phy_reg_eth56g(9) page from the Kernel API Manual, and it's honestly a little icon of a function. it does one job, it does it well, and it tells you the truth about whether the address you're holding is a big girl 64-bit PHY register. periodt. πŸ’–


✨ NAME ✨

ice_is_64b_phy_reg_eth56g β€” literally just checks if this is a 64bit PHY register. that's it. that's the whole vibe. πŸŽ€


🌸 SYNOPSIS 🌸

bool ice_is_64b_phy_reg_eth56g (u16 low_addr , u16 *high_addr );

she takes two things and gives you back a bool, no cap. πŸ¦‹


🫢 ARGUMENTS 🫢

  • low_addr β€” the low address you wanna check. like, the starting point, the main character of this whole operation. πŸ‘‘
  • high_addr β€” on return, this holds the high address of the 64bit register. so she writes back into it β€” pointer energy fr fr. ✨

πŸ’… DESCRIPTION πŸ’…

Write the appropriate high register offset to use.

that's it. that's the description. the original manpage is out here giving minimal-effort queen behavior and honestly? respect. 😭 you call her, she figures out the high register offset, you go use it. iykyk. πŸ’œ


πŸ”₯ RETURN πŸ”₯

  • true β€” the low address you handed over is one of the known 64bit PHY values represented as two 32bit registers. slay, it's a match. πŸŽ‰
  • false β€” it is not. no match, no drama, moving on. πŸ™ˆ

🌈 SEE ALSO 🌈

first up, the actual kernel file this lives in:

  • Kernel file ./drivers/net/ethernet/intel/ice/ice_ptp_hw.c

and then the entire extended friend group β€” every single one of these, bestie, all of them, no skipping:


okay that's the whole page, and yes i read every single one of those references so you didn't have to. 🧚

sign-off time, bestie: this little masterpiece lives in ./drivers/net/ethernet/intel/ice, it's dated October 2026, and its whole name-and-number is ice_is_64b_phy_reg_eth56g(9). screenshot it, memorize it, tell your friends. mwah. πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from