axienet_iow(9)
π axienet_iow β the Kernel API manual, bestie edition
Okay so picture this: we're deep in axienet_iow(9) territory β the Kernel API Manual page that basically teaches you how to write to a memory-mapped Axi Ethernet register. Slay. Let's get into it. β¨
πΈ SYNOPSIS πΈ
void axienet_iow (struct axienet_local *lp , off_t offset , u32 value );
Three little args, one void return, zero drama. Let's meet the cast π
π«Ά ARGUMENTS π«Ά
lpβ a pointer to theaxienet_localstructure. Literally your main character struct, the one holding all the local state. πoffsetβ the address offset, measured from the base address of the Axi Ethernet core. So like, where you're going relative to home base. πvalueβ the value you want written into the Axi Ethernet register. The payload. The moment. The content. π
β¨ DESCRIPTION β¨
This function writes the desired value into the corresponding Axi Ethernet register. That's the whole vibe check: you hand it a value, it lands in the right register. Memory-mapped, no cap. π₯
It's giving "tiny function, big responsibility," honestly.
π¦ SEE ALSO π¦
Peep the kernel file ./drivers/net/ethernet/xilinx/xilinx_axienet.h and its besties:
struct axidma_bd(9)struct skbuf_dma_descriptor(9)struct axienet_local(9)struct axienet_option(9)axienet_ior(9)axienet_dma_out32(9)axienet_dma_out64(9)
π Quick reminder bestie:axienet_iowwrites,axienet_iorreads β don't get them twisted, iykyk.
And that's the page! π§β¨ Brought to you straight from ./drivers/net/ethernet/xilinx, dated October 2026, running as axienet_iow(9) in the Kernel API Manual. Mwah π β go write some registers, gorgeous. ππ
π¦ 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