geni_se_rx_dma_prep(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… geni_se_rx_dma_prep

okay so bestie, we're in the Kernel API Manual today and this little icon is all about getting your serial engine ready for an RX DMA transfer. it's giving "backstage prep before the main character walks out" energy ✨


🌸 NAME

geni_se_rx_dma_prep β€” Prepare the serial engine for RX DMA transfer πŸŽ€


✨ SYNOPSIS

int geni_se_rx_dma_prep (struct geni_se *se , void *buf , size_t len ,
       dma_addr_t *iova );

πŸ¦‹ ARGUMENTS

  • se β€” Pointer to the concerned serial engine. this is your main character right here πŸ‘‘
  • buf β€” Pointer to the RX buffer. the place where the incoming data is gonna live 🫢
  • len β€” Length of the RX buffer. gotta tell it how much room there is, no cap πŸ“
  • iova β€” Pointer to store the mapped DMA address. it's literally an out-param β€” the mapped address gets dropped in here πŸ’–

🌈 DESCRIPTION

This function is used to prepare the buffers for DMA RX. that's it, that's the vibe β€” you're setting things up so the DMA RX can actually happen. lowkey essential, highkey underrated πŸ’…


⭐ RETURN

0 on success, standard Linux error codes on failure. so like… zero means slay, anything else means the universe said "not today" 😭


πŸ”₯ SEE ALSO

(yes bestie, Overview(9) is in there twice β€” that's exactly how the original rolls it, so we keep it twice πŸ’€)


okay that's the whole page, mwah πŸ§šβ€β™€οΈ this one lives over in ./drivers/soc/qcom and it's dated October 2026 β€” go read the source, ily, bye πŸ“πŸ’œ

πŸ“¦ where this page comes from