devm_spi_of...est_dma_chan(9)
π devm_spi_offload_tx_stream_request_dma_chan π
okay bestie, so this is a page straight out of the Kernel API Manual, and it's about one very specific little function: devm_spi_offload_tx_stream_request_dma_chan. say it with me. it's a mouthful. it ate though. π«Ά
β¨ NAME β¨
devm_spi_offload_tx_stream_request_dma_chan β grab the DMA channel info for the TX stream, bestie, that's the whole job π
πΈ SYNOPSIS πΈ
struct dma_chan * devm_spi_offload_tx_stream_request_dma_chan (struct
device *dev , struct spi_offload *offload );
like, look at her. struct dma_chan *. she returns a pointer. main character behavior honestly π
π¦ ARGUMENTS π¦
devβ the Device, here for devm purposes. that's it, that's the vibe, it's the managed-lifetime plug πoffloadβ the Offload instance. the little guy we're asking about.
π DESCRIPTION π
so here's the tea β: this is the DMA channel that will provide data to transfers that use the SPI_OFFLOAD_XFER_TX_STREAM offload flag. no cap, that's the entire lore. she's the data supplier for those TX stream transfers, periodt β¨
π₯ RETURN π₯
Pointer to DMA channel info β or a negative error code π (so like, check it, don't just yolo it into a dereference, i'm begging π)
π SEE ALSO π
- Kernel file
./drivers/spi/spi-offload.c(the source of truth, go read her π) devm_spi_offload_alloc(9)devm_spi_offload_get(9)devm_spi_offload_trigger_get(9)spi_offload_trigger_validate(9)spi_offload_trigger_enable(9)spi_offload_trigger_disable(9)devm_spi_offload_rx_stream_request_dma_chan(9)(her sibling!! the RX one π§)devm_spi_offload_trigger_register(9)spi_offload_trigger_get_priv(9)
ok that's the page!! every flag, every name, every reference stayed exactly where it belongs β i just gave it a little glitter π
and finally, the cute little sign-off: this one lives in ./drivers/spi, it's dated October 2026, and it's part of the Kernel API Manual. slay, go read your DMA channels, mwah ππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms