e1000_read_p...eg_hv_locked(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– e1000_read_phy_reg_hv_locked β€” the HV PHY register reader (kernel API manual, bestie edition) πŸ’–

okay so first things first, the manual name is e1000_read_p...eg_hv_locked(9) β€” yes the title is truncated with dots, that's just how the kernel API manual rolls, we don't question it. And we're talking about a kernel API page here, so put your kernel hat on πŸŽ€


✨ NAME ✨

e1000_read_phy_reg_hv_locked β€” reads an HV PHY register. that's the whole vibe. πŸ’…


🌸 SYNOPSIS 🌸

s32 e1000_read_phy_reg_hv_locked (struct e1000_hw *hw , u32 offset , u16
*data );

like, it returns an s32, takes your hw struct, an offset, and a data pointer. simple. iconic. no notes. ⭐


πŸ¦‹ ARGUMENTS πŸ¦‹

  • hw β€” pointer to the HW structure. your hardware bestie, the one holding all the state 🫢
  • offset β€” the register offset to be read. this is literally where in the PHY you're looking πŸ‘€
  • data β€” pointer to the read data. whatever gets read lands here, so have it ready πŸ’–

🧚 DESCRIPTION 🧚

So basically: it reads the PHY register sitting at offset, and it stores the retrieved information into data. that's it, that's the function. 🌈

⚠️ and here's the important bit, no cap: it assumes the semaphore is already acquired. the _locked in the name is not decorative, bestie β€” you gotta already be holding the semaphore before you call this. don't come for this function without it 😭

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file: ./drivers/net/ethernet/intel/e1000e/phy.c β€” that's where the whole squad lives πŸ“

yeah that's the whole group chat, everybody's tagged πŸ’€ but fr fr, if you're poking at HV PHY registers, one of these is gonna be your next stop.


✨ and that's a wrap, bestie ✨ this page ships out of ./drivers/net/ethernet/intel/e... and it's dated October 2026 β€” so yeah, future-dated kernel docs, we love to see it πŸŽ€πŸ’œ slay, go read your registers (with the semaphore already held, obviously).

πŸ“¦ where this page comes from