ice_read_ptp_reg_eth56g(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ice_read_ptp_reg_eth56g β€” a.k.a. the Kernel API Manual page for reading one (1) PHY port register ✨

okay so bestie, welcome to the glow-up of ice_read_ptp_reg_eth56g(9), live from the Kernel API Manual. it's giving "tiny function, huge friend group" energy, and honestly? we love her for it. 🫢


✨ NAME ✨

ice_read_ptp_reg_eth56g β€” read a PHY port register. that's it. that's the whole job. she reads. she returns. she slays. πŸ’…


🌸 SYNOPSIS 🌸

int ice_read_ptp_reg_eth56g (struct ice_hw *hw , u8 port , u16 offset ,
u32 *val );

like, look at that signature. four params, zero drama. no cap. ✨


πŸ¦‹ ARGUMENTS πŸ¦‹

  • hw β€” pointer to the HW struct. your main character struct, fr fr. she holds the hardware lore. πŸ‘‘
  • port β€” port number to be read. yes, the actual port. pick one, bestie. πŸ’–
  • offset β€” offset from PHY port register base. it's not an absolute address, it's the vibe relative to the base, iykyk. πŸŽ€
  • val β€” pointer to the value to read. it's an out param β€” so you pass the pointer, she fills it in, and you get the goods. do NOT expect her to read your mind. πŸ™ˆ

πŸ”₯ RETURN πŸ”₯

  • 0 β€” success! everything ate, nothing left on the plate. ⭐
  • EINVAL β€” invalid port number or resource type. translation: you handed her something she cannot work with. the vibe check failed. πŸ’€
  • other β€” failed to read from PHY. the PHY said no. it happens to the best of us. 😭

πŸ’œ SEE ALSO πŸ’œ

okay so this is the part where she tags her entire group chat. grab a snack, this is a long one. πŸ“

like… that's the whole friend group right there. every single one, tagged, no one left out. 🌈


and that's the page, bestie!! this cutie lives in ./drivers/net/ethernet/intel/ice and the whole thing was dated October 2026 β€” so she's a little time traveler, and honestly? iconic. πŸ‘‘πŸ’– go read your PHY port registers responsibly, mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from