xilinx_dpdma...et_dma_addrs(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ xilinx_dpdma...et_dma_addrs(9) πŸŽ€

okay bestie, welcome to the Kernel API Manual page for this little icon ✨ yes the header is truncated and it's giving "we ran out of room" energy, but the function inside is xilinx_dpdma_sw_desc_set_dma_addrs, and we're gonna get you comfy with it πŸ’–

✨ NAME ✨

xilinx_dpdma_sw_desc_set_dma_addrs β€” Set DMA addresses in the descriptor. that's the whole vibe: descriptor, DMA addresses, set. slay πŸ’…

πŸ¦‹ SYNOPSIS πŸ¦‹

void xilinx_dpdma_sw_desc_set_dma_addrs (struct xilinx_dpdma_device
*xdev , struct xilinx_dpdma_sw_desc *sw_desc , struct
xilinx_dpdma_sw_desc *prev , dma_addr_t dma_addr[] , unsigned int
num_src_addr );

🌸 ARGUMENTS 🌸

  • xdev β€” DPDMA device. the main-character device, obviously 🫢
  • sw_desc β€” The software descriptor in which to set DMA addresses. this is where the DMA addresses are going, bestie πŸŽ€
  • prev β€” The previous descriptor. the one before, if you have one πŸ‘€
  • dma_addr β€” array of dma addresses. literally an array of DMA addresses, no cap ✨
  • num_src_addr β€” number of addresses in dma_addr. how many little address besties are in that array πŸ”’

πŸ’… DESCRIPTION πŸ’…

Set all the DMA addresses in the hardware descriptor corresponding to dev from dma_addr. so it's taking the DMA addresses from dma_addr and putting them into the hardware descriptor for dev β€” very demure, very mindful 🧚

If a previous descriptor is specified in prev, its next descriptor DMA address is set to the DMA address of sw_desc. yes, prev's next-descriptor DMA address gets linked up to sw_desc's DMA address, iykyk πŸ”₯

prev may be identical to sw_desc for cyclic transfers. and that's valid β€” same descriptor in both spots, no drama, cyclic transfers said "let me do it" πŸ’€πŸ’–

🌈 SEE ALSO 🌈

Kernel file ./drivers/dma/xilinx/xilinx_dpdma.c plus the whole bestie list:


okay bestie, that's the whole cute little page πŸ’– the source/version line is from ./drivers/dma/xilinx, it's dated October 2026, and the header on the tin is xilinx_dpdma...et_dma_addrs(9). go set those DMA addresses, you absolute icon πŸŽ€βœ¨

πŸ“¦ where this page comes from