ice_gnss_do_write(9)
π 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 π«Ά:
ice_gnss_read(9)ice_gnss_struct_init(9)ice_gnss_open(9)ice_gnss_close(9)ice_gnss_write(9)ice_gnss_register(9)ice_gnss_deregister(9)ice_gnss_init(9)ice_gnss_exit(9)ice_gnss_is_module_present(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms