ice_gnss_do_write(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ice_gnss_do_write(9) πŸ’…

okay bestie, welcome to the Kernel API Manual β€” this one's a little kernel function page and honestly it's serving serious internal-communications realness ✨ so let's get into it 🫢


✨ NAME ✨

ice_gnss_do_write β€” literally just: write data to the internal GNSS receiver 🌸 no cap, that's the whole vibe of this function πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

int ice_gnss_do_write (struct ice_pf *pf , const unsigned char *buf ,
       unsigned int size );

like that's it, that's the signature, and yes it returns an int πŸ’–


πŸŽ€ ARGUMENTS πŸŽ€

  • pf β€” the board private structure πŸ‘‘ (your whole little board's personal business)
  • buf β€” the command buffer πŸ“¨ (this is the stuff you're actually sending)
  • size β€” the command buffer size πŸ“ (how much stuff πŸ‘€)

🌈 DESCRIPTION 🌈

so the way that this works is you write UBX command data to the GNSS receiver πŸ›°οΈβœ¨ that's literally it. UBX command data goes in, GNSS receiver gets it. iconic behavior, no notes πŸ’…

ngl this is the low-level doer β€” it's the one actually pushing those bytes, iykyk 🧚


⭐ RETURN ⭐

  • number of bytes written β€” success πŸŽ‰ slay, it worked
  • negative β€” error code πŸ˜­πŸ’€ something went wrong, and the number will tell you how wrong

πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./drivers/net/ethernet/intel/ice/ice_gnss.c πŸ“ β€” that's where the magic lives fr fr

and the whole friend group 🫢:


and that's the page bestie!! πŸŽ€πŸ’– brought to you by the source/version over at ./drivers/net/ethernet/intel/ice and dated October 2026 ⭐ β€” mwah, go write some UBX data, you've got this πŸ‘‘πŸ’…

πŸ“¦ where this page comes from