stm32_spi_pr...dma_chaining(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… stm32_spi_pr...dma_chaining(9) πŸ’…

okay so bestie, this little icon is straight out of the Kernel API Manual β€” and it's about one very specific function. no cap, it's a tiny page, but we're gonna treat it with the respect it deserves πŸ’–


✨ NAME ✨

stm32_spi_prepare_rx_dma_mdma_chaining β€” the function that prepares RX DMA and MDMA chaining, periodt. it's giving "get the RX DMA and MDMA ready to chain" energy 🫢

πŸ› οΈ SYNOPSIS πŸ› οΈ

int stm32_spi_prepare_rx_dma_mdma_chaining (struct stm32_spi *spi ,
       struct spi_transfer *xfer , struct dma_slave_config *rx_dma_conf ,
       struct dma_async_tx_descriptor **rx_dma_desc , struct
       dma_async_tx_descriptor **rx_mdma_desc );

🫢 ARGUMENTS 🫢

  • spi β€” pointer to the spi controller data structure. iconic.
  • xfer β€” pointer to the spi transfer.
  • rx_dma_conf β€” pointer to the DMA configuration for the RX channel.
  • rx_dma_desc β€” pointer to the RX DMA descriptor.
  • rx_mdma_desc β€” pointer to the RX MDMA descriptor.

πŸ’– DESCRIPTION πŸ’–

Return-value vibe check, bestie: it must return 0 if the chaining is possible, or an error code if not. that's literally the assignment πŸ”₯

🌈 SEE ALSO 🌈

the whole squad is here, and yes you should go peek at them:


okay bye bestie 🫢 β€” source/version: ./drivers/spi, date: October 2026, page: stm32_spi_pr...dma_chaining(9). periodt πŸ’–

πŸ“¦ where this page comes from