igc_read_phy_reg_gpy(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– igc_read_phy_reg_gpy β€” Read GPY PHY register πŸ’–

okay bestie, so this is a page from the Kernel API Manual, and it's literally all about the function igc_read_phy_reg_gpy. it does exactly what it says on the tin β€” reads a register. from a PHY. specifically the GPY PHY. we love a self-explanatory icon ✨


🌸 SYNOPSIS 🌸

s32 igc_read_phy_reg_gpy (struct igc_hw *hw , u32 offset , u16 *data );

three args, one return, no drama πŸŽ€


πŸ’… ARGUMENTS πŸ’…

  • hw β€” pointer to the HW structure. it's giving "here's the hardware, go off" energy 🫢
  • offset β€” bestie, this one's a two-for-one deal and you gotta pay attention πŸ‘€ the lower half is the register offset you're reading, and the upper half is the MMD to use. yes, packed into one arg. yes, it's a little unhinged. no, we don't make the rules πŸ’€
  • data β€” the data to read at that register offset. this is where the good stuff lands πŸ“

✨ DESCRIPTION ✨

so here's the vibe check: it acquires the semaphore β€” y'know, if necessary β€” and then reads the data sitting in the PHY register at the given offset. super chill. then, before it dips out, it releases any semaphores it grabbed along the way. polite queen behavior, honestly πŸ‘‘

no cap, that's the whole thing. acquire, read, release, exit. clean, iconic, periodt πŸ’…


πŸ¦‹ SEE ALSO πŸ¦‹

the kernel file in question lives right here, fr fr:

./drivers/net/ethernet/intel/igc/igc_phy.c

and here's the whole friend group, all invited to the group chat 🌈


πŸ’Œ okay that's the page!! it's from the kernel tree at ./drivers/net/ethernet/intel/igc, dated October 2026, and yes β€” the manpage title is still igc_read_phy_reg_gpy(9) in case you forgot already πŸ™ˆ go read some registers bestie, slay πŸ’œ
πŸ“¦ where this page comes from