axienet_ior(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 the axienet_local structure. 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