axienet_ior(9)
π axienet_ior β bestie, it's time to read a register π
okay so this is a page from the Kernel API Manual (yes, the Kernel API Manual, we're in the big leagues now β¨) and it's all about axienet_ior. One job, one vibe: it reads a memory-mapped Axi Ethernet register. That's it. That's the whole personality. π
β¨ NAME β¨
axienet_ior β Memory mapped Axi Ethernet register read π¦
Like, the name literally tells you what it does: i-o-r, in, out, read. No cap.
πΈ SYNOPSIS πΈ
u32 axienet_ior (struct axienet_local *lp , off_t offset );
Look at her. So clean. So u32. π
π ARGUMENTS π
lpβ Pointer to theaxienet_localstructure. Your little home base of local state, the main character of this whole operation πoffsetβ Address offset from the base address of the Axi Ethernet core. It's not the address-address, bestie, it's the offset from the base β read it carefully or you'll be reading the wrong register and crying π
π RETURN π
The contents of the Axi Ethernet register. That's what comes back. A u32 of pure register-flavoured data π
π DESCRIPTION π
So this function returns the contents of the corresponding register. That's the tea. That's the whole function. It goes and gets the register contents for you and hands them over, and honestly? Iconic minimalism. It's giving "I know my purpose." π₯
π«Ά SEE ALSO π«Ά
- Kernel file
./drivers/net/ethernet/xilinx/xilinx_axienet.hβ go read the header, bestie, it has lore π struct axidma_bd(9)struct skbuf_dma_descriptor(9)struct axienet_local(9)struct axienet_option(9)axienet_iow(9)β the write-y sister function π«axienet_dma_out32(9)axienet_dma_out64(9)
ngl, io functions are lowkey underrated β everybody wants to talk about the fancy DMA paths and nobody wants to give axienet_ior her flowers πΈ she's doing the work. periodt. π
βΏ and that's the whole page, bestie βΏ this gem lives over in ./drivers/net/ethernet/xilinx, stamped October 2026, and it's filed as axienet_ior(9) in the Kernel API Manual. go forth and read registers responsibly π§π
π¦ 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