axienet_dma_in32(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… axienet_dma_in32 (9) β€” from your Kernel API Manual bestie πŸŽ€

okay so picture this: it's a Tuesday, you're deep in the Xilinx Axi Ethernet driver, and you just need to peek at one lil register. That's this function. She's small, she's focused, she reads memory-mapped Axi DMA registers and she does not miss. ✨


🌸 NAME 🌸

axienet_dma_in32 β€” the "read me one Axi DMA register, pls" function. Memory mapped, 32-bit, iconic. πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

u32 axienet_dma_in32 (struct axienet_local *lp , off_t reg );

πŸ‘‘ ARGUMENTS πŸ‘‘

  • lp β€” pointer to the axienet_local structure, aka the main-character struct that knows everything about your device 🫢
  • reg β€” the address offset from the base address of the Axi DMA core. it's giving "where's the register, bestie" energy 🌈

⭐ RETURN ⭐

The contents of the Axi DMA register. that's it, that's the tea β˜• β€” no cap, that's literally the whole return value πŸ’€


πŸ’œ DESCRIPTION πŸ’œ

This function returns the contents of the corresponding Axi DMA register. lowkey the simplest lil guy in the whole driver, but she's essential and we respect her πŸ˜­πŸ’…


🧚 SEE ALSO 🧚

First up, the source file herself β€” she's right here in the kernel, go say hi:

  • Kernel file ./drivers/net/ethernet/xilinx/xilinx_axienet_main.c

and then the whole extended friend group, fr fr β€” every single one of them:


ngl bestie, if you're reading this one you're probably writing driver code at 2am. hydrate. πŸ“

and that's the whole page!! brought to you by ./drivers/net/ethernet/xilinx, dated October 2026 β€” go forth and read those registers, queen πŸ‘‘πŸ’–βœ¨

πŸ“¦ where this page comes from